#Video Render inside main app

27 messages · Page 1 of 1 (latest)

pallid pineBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

alpine notch
#

how do you render the video?

slate hare
#

i'm uploading the file sec its message limit

alpine notch
#

no i mean, how do you draw the frames?

#

like, what api do you use?

slate hare
#

i use windows 32bit it use dx8.1

alpine notch
#

it's just, the stuff you showed up there kinda looks like you're trying to render on top of something that's already rendering something else

#

which would ofc explain the flickering

slate hare
#

yes it render inside main win app which it rendering forms, and other things but isn't it suppose to be different by getmessage ?

alpine notch
#

i'm not following

#

this up there looks like it's rendering on top of a game or smth

#

the game is likely gonna redraw its window constantly

slate hare
#

main game using ,draw and pain yes, if i use different HWND it would render just fine but that won't solve the issue as i'm trying to render it inside main game window top of forms

#

it could work if i use CreateWindowEx single thread but that create extra window above main one

alpine notch
#

are you putting a child window into the game window and rendering to that or smth?

slate hare
#

right now using

    m_pMovie = new CGameMovie();
     m_pMovie->PlayForForm("first.wmv", 250, 150, 50, 50);

i tried creating child window that cause video render but can hear only the voice as it been hidden

alpine notch
#

you can't just put a child window into a window that is being rendered to at full speed with a graphics api

#

that simply doesn't work

#

the game would have to specifically be built to support that

#

but there's pretty much no good reason to do that since if you could change the game, you could instead just have the game draw the video into its window…

slate hare
#

isn't that use IVideoWindow as well?

alpine notch
#

not sure what you mean

slate hare
#

to draw the video into the window without using child of another window

alpine notch
#

so what is IVideoWindow if not a window?

slate hare
#

aha u edited ur last message just got confused , well i can also use dx render to convert the video rendering as well just was trying to use videowindow api seems won't fit lol

pallid pineBOT
#

@slate hare

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

slate hare
#

!solved