[MPlayer-dev-eng] pts and mencoder

Rich Felker dalias at aerifal.cx
Wed Jan 25 19:39:09 CET 2006


On Wed, Jan 25, 2006 at 10:24:29AM +0100, Nico Sabbi wrote:
> Rich Felker wrote:
> 
> >On Wed, Jan 25, 2006 at 02:42:45AM +0100, Michael Niedermayer wrote:
> > 
> >
> >>Hi
> >>
> >>passing correct timestamps from encoder to muxer, is that really so hard?
> >>no, iam not interrested in any unrelated philosophical issues that it must
> >>be with "correct" timebases or how to pass them through the filter chain
> >>iam just talking about encoder->muxer ...
> >>
> >>what about the attached patch (yeah its just outlining the idea it wont
> >>compile)
> >>   
> >>
> >
> >I'm strongly in favor of this, 
> >
> 
> me too
> 
> >HOWEVER, currently the timestamps at
> >the encoder level are incorrect unless -vf harddup or -mc 0 -noskip is
> >used. Is there a way we could at the same time make the encoder
> >process the "duplicate frame" VF control() call so that it can
> >compensate and correct the timestamp?
> >
> >Rich
> > 
> >
> 
> if so, how do we deal with -ovc copy?

Probably auto-enable -mc 0 -noskip for -ovc copy...
We could also try to generate dts from the demuxer. However ultimately
there is NO correct way to remux from most containers without using a
framer (AVParser), which is probably what we should do.

Rich




More information about the MPlayer-dev-eng mailing list