Accessing the Video Elementary stream from a decoder[Solved]

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
SunnySingh
New Cone
New Cone
Posts: 5
Joined: 03 Oct 2008 02:46

Accessing the Video Elementary stream from a decoder[Solved]

Postby SunnySingh » 05 Dec 2008 20:46

Hi,
I am building a decoder and need to get the video resolution from the video elementary stream.
Would there be a way of accessing the video elementary stream from the decoder module (like using vlc_object_find ?)
Regards,
Sunny :?:
Last edited by SunnySingh on 06 Dec 2008 01:22, edited 1 time in total.

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: How can I access the Video Elementary stream from a decoder

Postby Jean-Baptiste Kempf » 05 Dec 2008 21:47

Should the demux provide this info?
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.

SunnySingh
New Cone
New Cone
Posts: 5
Joined: 03 Oct 2008 02:46

Re: How can I access the Video Elementary stream from a decoder

Postby SunnySingh » 06 Dec 2008 01:21

Thanks for the quick response j-b

The info is available in the demuxer; however, since my decoder is a dll, did not have direct access to the video buffer/track.
Resolved this by using: vlc_object_find( p_dec, VLC_OBJECT_VOUT, FIND_ANYWHERE )


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 65 guests