[FFmpeg-devel] [RFC][PATCH] ticks_per_frame / timebase
Fri Feb 27 09:54:36 CET 2009
Michael Niedermayer wrote:
> On Thu, Feb 26, 2009 at 03:30:22PM -0800, Baptiste Coudurier wrote:
>> Baptiste Coudurier wrote:
>>> Please gimme 5 mins, I'm testing TS with H.264 and MPEG-2.
>> I don't see any regression for now.
> good, ive applied it, if you find more regressions please tell me
TS works without problem.
However, there is a regression with MOV. I tried to decode trailer for
movie "9", which is H.264 progressive 23.98 fps, but it detects it as
ivan at shadow:~/src/orig/ffmpeg$ ffmpeg -i
~/Media/Video/trailer/9-tsr_h1080p.mov -f vob -ac 2 -y -v 10
Seems stream 0 codec frame rate differs from container frame rate: 23.98
(2997/125) -> 11.99
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
Duration: 00:02:04.18, start: 0.000000, bitrate: 9361
Stream #0.0(eng): Video: h264, yuv420p, 1920x1056, 11.99 tbr, 23.98
tbn, 23.98 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo,
Stream #0.2(eng): Data: tmcd / 0x64636D74
Output #0, vob, to '/dev/null':
Stream #0.0(eng), 1/90000: Video: mpeg2video, yuv420p, 1920x1056,
1/12, q=2-31, 200 kb/s, 90k tbn, 12 tbc
Stream #0.1(eng), 1/90000: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[mpeg2video @ 0x1facb90]MPEG1/2 does not support 12/1 fps
Error while opening codec for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height
With explicitly specified frame rate of 23.98 fps it does decode. Other
1080p MOV trailers that I have show exactly the same problem.
More information about the ffmpeg-devel