render external controls into video output
Posted: 13 Dec 2010 17:43
Hi, im looking for paint some external controls (play, pause, stop, media list, etc...) directly to video output in windows xp/7.
I have sent some ways reading this forum, but cant decide for the best way.
In first instance i tryed libvlc_video_set_callbacks + libvlc_video_set_format to do this, but cpu usage exceds my expectatives writing output with windows GDI. Can i obtain more speed using direct3d?
If libvlc_video_set_callbacks way is not suficient, the best solution is create a video filter like marq?, or create a video output plugin?, In this case is posible send HDC to plugins so these plugins paint HDC's with alpha in the vout?
Another thing with video filters is when playing only audio, vout is not used and cant show controls during reproduction, any way to display vout always?
Sorry for my poor english, and thanks in advance for your time.
I have sent some ways reading this forum, but cant decide for the best way.
In first instance i tryed libvlc_video_set_callbacks + libvlc_video_set_format to do this, but cpu usage exceds my expectatives writing output with windows GDI. Can i obtain more speed using direct3d?
If libvlc_video_set_callbacks way is not suficient, the best solution is create a video filter like marq?, or create a video output plugin?, In this case is posible send HDC to plugins so these plugins paint HDC's with alpha in the vout?
Another thing with video filters is when playing only audio, vout is not used and cant show controls during reproduction, any way to display vout always?
Sorry for my poor english, and thanks in advance for your time.