[FFmpeg-devel] [RFC][PATCH] ticks_per_frame / timebase

Michael Niedermayer michaelni
Fri Feb 27 00:00:23 CET 2009


On Thu, Feb 26, 2009 at 02:18:41PM -0800, Baptiste Coudurier wrote:
[...]
> Also in h.264 in flv:
> 
> Seems stream 0 codec frame rate differs from container frame rate: 23.98
> (48000/2002) -> 44.42 (533/12)
> Input #0, flv, from 'h264_acc_in_flv.flv':
>   Duration: 00:01:07.51, start: 0.105000, bitrate: N/A
>     Stream #0.0: Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 44.42
> tbr, 1k tbn, 47.95 tbc
>     Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
> At least one output file must be specified
> 
> Before:
> 
> Input #0, flv, from 'h264_acc_in_flv.flv':
>   Duration: 00:01:07.51, start: 0.105000, bitrate: N/A
>     Stream #0.0: Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 23.98
> fps(r)
>     Stream #0.1: Audio: libfaad, 48000 Hz, stereo, s16
> Must supply at least one output file

about this one, the timestamps the core gets are in steps of 45
1000/45 = 22.22...
that it selects 44.42 (533/12) instead of 200/9 is because 200/9 is
not tested for.
I agree selecting 533/12 here is a bug

are there more problems besides the misdetection of the framerate?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090227/05f55515/attachment.pgp>



More information about the ffmpeg-devel mailing list