Page 1 of 1

Using LibVLC in a FullScreen Direct3d aplication

Posted: 26 Nov 2008 01:14
by crackerjack00
Hello.

Is it posible to use LibVLC to render the video into a Direct3d9 Fullscreen aplication?

I have seen some info about using libvlc. and check the tutorials on the wiki. I'm just not sure if it will work in my 3d aplication?
any pointers are greatly apreciated.

the "other way" to get video playback in my app will be to use ffmpeg and extract the frames into direct3dtexture... but that is the long hard confusing way for me. since i would love to just use vlc.

thanks in advance for any help

Re: Using LibVLC in a FullScreen Direct3d aplication

Posted: 26 Nov 2008 09:12
by Jean-Baptiste Kempf
Yes, you can, you should try the Vmem module.

Re: Using LibVLC in a FullScreen Direct3d aplication

Posted: 26 Nov 2008 18:27
by crackerjack00
Thanks for the info.

I guess I should Use LibVLC instead of the MediaControlApi right?

The c++ tutorial for the current vlc uses a window handle to tell libvlc where to Draw in the following lines:

/* or on windows */
libvlc_drawable_t drawable = hwnd;
taken from: http://wiki.videolan.org/LibVLC_Tutorial

is that all I need to do? where could I find more info about VMEM?

thanks.