Using LibVLC in a FullScreen Direct3d aplication

This forum is about all development around libVLC.
crackerjack00
New Cone
New Cone
Posts: 2
Joined: 26 Nov 2008 01:04

Using LibVLC in a FullScreen Direct3d aplication

Postby crackerjack00 » 26 Nov 2008 01:14

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Using LibVLC in a FullScreen Direct3d aplication

Postby Jean-Baptiste Kempf » 26 Nov 2008 09:12

Yes, you can, you should try the Vmem module.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

crackerjack00
New Cone
New Cone
Posts: 2
Joined: 26 Nov 2008 01:04

Re: Using LibVLC in a FullScreen Direct3d aplication

Postby crackerjack00 » 26 Nov 2008 18:27

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests