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

Baptiste COUDURIER baptiste.coudurier
Mon Feb 20 21:56:52 CET 2006


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 ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: movenc_ctts.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060220/d6b027b9/attachment.txt>



More information about the ffmpeg-devel mailing list