Input video to my background form
-
hi, I am looking for replacing my background color winform by my input video. How can I do this ? best Regards youssef
With difficulty ;P Your best bet would be to embed a media player like the Windows Media Player control thingy in your application (just drop the control on the form) and use that, otherwise you'll have to deal with decompressing the video, converting it to a displayable format, drawing it on the form, as well as dealing with trying to optimize it so that the video displays in it's realtime. At least with an embedded control then the majority of stuff is native code and will be faster and also the drawing will be done by Win32 rather than GDI+ so will be faster as well. You could do what you want if you know how to decode the video but it probably won't be displayed in realtime. Sorry to burst your bubble :sigh: Ed