[MPlayer-users] which struct contains video bit stream?

boku boku0712 at gmail.com
Tue Jan 15 10:19:34 CET 2008


On 1/15/08, Nico Sabbi <Nicola.Sabbi at poste.it> wrote:
> Il Tuesday 15 January 2008 10:02:37 boku ha scritto:
> > On 1/15/08, Nico Sabbi <Nicola.Sabbi at poste.it> wrote:
> > > Il Tuesday 15 January 2008 08:42:08 boku ha scritto:
> > > > Dear all,
> > > >     In Mplayer, is there any struct that stores the video bit
> > > > stream after demuxing process but before segmenting into
> > > > packets?
> > >
> > > what packets do you mean?
> >
> >      Say if I'm decoding a file with a/v/s streams. But only the
> > whole video stream I'm looking for.
> >      That is the original video stream after demuxing the input
> > file. I found that video_read_frame() will collect one frame stream
> > and put to video wrapper.
> >      Or should I ask that if one whole video stream and only video
> > stream (excluding sub or audio) can be found/extracted in some data
> > struct?
>
> the demux_packets in demuxer->video are what you need, or
> alternatively  read the "dumpvideo " code in mplayer.c
>
   Thanks a lot, Nico~
    Is the demuxer->video is a linked list for containing all the
packets for one video stream, right?
    And the exact data buffer is in demuxer->video->buffer?



More information about the MPlayer-users mailing list