[Ffmpeg-devel] Re: [PATCH] x264 avc encoding, movenc avcC, ctts (original) (raw)
Michael Niedermayer michaelni
Wed Feb 22 14:27:33 CET 2006
- Previous message: [Ffmpeg-devel] Re: [PATCH] x264 avc encoding, movenc avcC, ctts
- Next message: [Ffmpeg-devel] Re: [PATCH] x264 avc encoding, movenc avcC, ctts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi
On Wed, Feb 22, 2006 at 02:01:16PM +0100, Baptiste COUDURIER wrote: [...]
+ avsetptsinfo(s->streams[i], 64, c->timebase.num, c->timebase.den); [...] + trk->cluster[cl][id].cts = (pkt->pts - pkt->dts) * enc->timebase.num; /* enc->timebase.num will be trk->sampleDuration */
why not av_set_pts_info(s->streams[i], 64, 1, c->time_base.den) and trk->cluster[cl][id].cts = pkt->pts - pkt->dts; ?
[...]
-- Michael
- Previous message: [Ffmpeg-devel] Re: [PATCH] x264 avc encoding, movenc avcC, ctts
- Next message: [Ffmpeg-devel] Re: [PATCH] x264 avc encoding, movenc avcC, ctts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]