[Ffmpeg-devel] Re: [PATCH] x264 avc encoding, movenc avcC, ctts

Michael Niedermayer michaelni
Mon Feb 20 23:51:00 CET 2006


Hi

On Mon, Feb 20, 2006 at 09:56:52PM +0100, Baptiste COUDURIER wrote:
> Hi
> 
> Michael Niedermayer wrote:
> > [...]
> > 
> > no, movenc.c is missing something
> > av_set_pts_info(s->streams[i], 64, 1, timescale);
> > and then 
> > trk->cluster[cl][id].cts= pkt->pts - pkt->dts;
> > should work
> > 
> > if not, tell me what happens ...
> > 
> 
> Here we are. That way everything goes fine even the first weird dts if
> disappearing. Should I set pts for audio too ?

yes, and patch looks ok, can be applied assuming regression tests and
such still work as well as before ...

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list