[MPlayer-dev-eng] [PATCH] demux_ts fixes

Zoltan Hidvegi mplayer at hzoli.2y.net
Mon Sep 29 12:49:55 CEST 2003


> > - ES streams whose first payload began in the payload of the next TS 
> > packets were discarded
> > - multi-packet sections for PAT and PMT couldn't be recognized
> > - one more way to identify AC3 and AAC (tested with some japanese DVB)
> > - changed the range of -aid -vid -sid to 0..8190  (8191 and 8192 are 
> > invalid)
> > - made the demuxer compatible with -sb (useful when a program begins 
> > encrypted but at a certain point
> >    turns free)
> > - unified the descriptors code to a specific function  rather than 
> > keeping it in parse_pmt
> > 
> > 
> > additions:
> > - made the demuxer compatible with -alang and -slang (see below)
> > - added demux support for DVD and DVB SPU subtitles; I tested it only 
> > with DVD over TS so far,
> >      I guess I will have to extend spudec.c   to handle DVB SPU
> > - subs can be detected after detection-time, because they can be infrequent
> > - added the parameter -tsprobe <OFF_T> to specify how far (in bytes) to 
> > search in the TS  the chosen streams
> >         in the detection phase
> > - for Diego: the doc update I posted for -tsprobe is still valid
> > - some minor cleanup
> > 
> > If it's ok, can someone apply it, please?
> 
> Hmm... another patch with no comments on it.

I've been using this patch for a while on ATSC HDTV content, and it
works better than before the patch.  The -sb option is especially
handy, since sometimes the beginning of the file from the tuner card
is garbage, and before I had to pipe dd into mencoder to fix that.

Zoli



More information about the MPlayer-dev-eng mailing list