[Ffmpeg-devel] Raw h261 broken

Roberto Togni r_togni
Mon Aug 14 17:16:41 CEST 2006


Hi all

Raw h261 files (see samples/h261-raw) are not decoded correctly with
current svn, they play too fast.
I tried to 

r4167 works
r4168, r4181 Floating point exception
r4188 sig11
r4191, r4192 video.261: could not find codec parameters
r4193, r4195, r4224, r4281, r4395, r4624, r5081 fast playback
r5996 (current) fast, shows only top left quarter of the image

The top-left quarter error is a different issue, affecting ffmpeg and
ffplay but not MPlayer

r4168 is "switch to native time bases", r4191 is "division by zero
fix", r4193 is "better r_frame_rate guessing code"

For file cifmad384.p64 MPlayer shows a framerate of 90000, the correct
one is 25.

Anybody knows what may be wrong? I have no idea how the timestamp code
works, and changes between working and broken versions affects a lot of
code. Involved files are at least lavc/h261.c and lavc/raw.c for the
native time base change, and lavf/utils.c for the frame rate code.

Test were done with gcc2.95, since old versions does not compile with
gcc4.

Ciao,
 Roberto




More information about the ffmpeg-devel mailing list