[Ffmpeg-devel] [BUG] wrong fps in r_frame_rate ?

Baptiste Coudurier baptiste.coudurier
Fri Dec 8 16:08:14 CET 2006


Hi

$subject

latest svn. ffmpeg -i wrong_fps.mpg

Seems that stream 0 comes from film source: 25.00 (25/1) -> 24.75 (99/4)
Input #0, mpeg, from 'wrong_fps.mpg':
  Duration: 00:00:04.3, start: 0.552822, bitrate: 15583 kb/s
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv422p, 720x608, 15000 kb/s,
24.75 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
  Stream #0.2[0x1c1]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Must supply at least one output file

wrong_fps.mpg on mplayerhq as usual. File should be 25fps.

in libavformat/utils.c if I remove || CODEC_ID_MPEG2VIDEO, or revert
commit r6345, it is correctly detected.

I believe this code was change to correcty detect groundhog.vob.

Btw can we change change error message to something more exact ?
"Seems stream 0 codec frame rate differs from container frame rate"

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list