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

boku boku0712 at gmail.com
Tue Jan 15 10:42:31 CET 2008


> >
> >   Or should I say can I find the whole video elementary stream
> > demuxed from a FILE?
> > Thanks~
>
> -dumpvideo
> _______________________________________________

Thank you very much, Nico~
I've found the dump stream in mplayer.c
That's the code, is it?
===================================
if((stream_dump_type)&&(stream_dump_type<4)){
  FILE *f;
  demux_stream_t *ds=NULL;
  current_module="dump";
  // select stream to dump
  switch(stream_dump_type){
  case 1: ds=mpctx->d_audio;break;

  case 2: ds=mpctx->d_video;break;        <==== this is the video
streams, right?

  case 3: ds=mpctx->d_sub;break;
  }
  if(!ds){
      mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_DumpSelectedStreamMissing);
      exit_player(MSGTR_Exit_error);
  }
.......
....



More information about the MPlayer-users mailing list