how to get the decoded video data without display?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
foruok
Blank Cone
Blank Cone
Posts: 18
Joined: 20 Mar 2008 06:34

how to get the decoded video data without display?

Postby foruok » 11 Jul 2008 10:53

Hi, all.

I'd want to get a movie's decoded video data, but do not want it show by the default way.
In that case , I can copy the video data to a buffer, hence I can render it in my way I like, such as in a 3D scene, as a texture of a cube.

How can I do it ?
Any suggestion is appreciated.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: how to get the decoded video data without display?

Postby VLC_help » 11 Jul 2008 18:38

http://wiki.videolan.org/LibVLC_SampleCode_SDL
you need nightly libvlc and "vmem" video output.

foruok
Blank Cone
Blank Cone
Posts: 18
Joined: 20 Mar 2008 06:34

Re: how to get the decoded video data without display?

Postby foruok » 12 Jul 2008 08:49

Thanks to VLC_HELP!
I'm newer to VLC. I want to find some articles about libvlc's arguments rule, such as vout, vmem, etc. And Is there a full tutorial for begginner?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: how to get the decoded video data without display?

Postby VLC_help » 12 Jul 2008 14:15

I haven't done any libvlc projects. But I guess wiki has some details.
http://wiki.videolan.org/Libvlc

foruok
Blank Cone
Blank Cone
Posts: 18
Joined: 20 Mar 2008 06:34

Re: how to get the decoded video data without display?

Postby foruok » 12 Jul 2008 16:04

I looked the wiki for libvlc. There did have a list of the command-line arguments the vlc accept. But just option, no detail explain.
And I'd want to get a argument list for function libvlc_new. I try to digged into the source, but it's so complex. For example, I can give "--vmem" for libvlc_new, what does "--vmem" mean exactly? And so do other options.

Any way, thanks to VLC_HELP, for your help and zealous.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: how to get the decoded video data without display?

Postby VLC_help » 13 Jul 2008 21:57

I think those command line options are same as for normal VLC.
http://wiki.videolan.org/VLC_command-line_help

foruok
Blank Cone
Blank Cone
Posts: 18
Joined: 20 Mar 2008 06:34

Re: how to get the decoded video data without display?

Postby foruok » 14 Jul 2008 07:49

I got my first example compiled today, based on the linkhttp://wiki.videolan.org/LibVLC_Tutorial_086c and 086i.
Thanks.
Now I'll try to build the nightly libvlc to run the SDLExample:http://wiki.videolan.org/LibVLC_SampleCode_SDL.
Thanks.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 37 guests