Carl Eugen Hoyos <ceho...@rainbow.studorg.tuwien.ac.at> added the comment:
Decoding is bitexact compared to the reference decoder (17.1) except for one additional frame, so there is no problem with the "visual quality" afaict. There probably is an issue that the output file plays too fast (2x) after dropping every second frame. If I remux into mkv or mp4, the resulting file has ~450 (instead of 225) frames. This may be related to issue 1807, it is - afaict - not related to issue 904 (which looks similar with ffplay, but works fine with ffmpeg). ffmpeg -i tandberg.h264 -vcodec copy out.mp4 FFmpeg version SVN-r23884, Copyright (c) 2000-2010 the FFmpeg developers built on Jun 29 2010 11:33:36 with gcc 4.4.4 configuration: --cc=/usr/local/gcc-4.4.4/bin/gcc libavutil 50.19. 0 / 50.19. 0 libavcodec 52.78. 0 / 52.78. 0 libavformat 52.71. 0 / 52.71. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.20. 1 / 1.20. 1 libswscale 0.11. 0 / 0.11. 0 [h264 @ 0x11bd720] number of reference frames exceeds max (probably corrupt input), discarding one Last message repeated 77 times [h264 @ 0x11bd720] mmco: unref short failure [h264 @ 0x11bc470] max_analyze_duration reached [h264 @ 0x11bc470] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (50/2) Input #0, h264, from 'tandberg.h264': Duration: N/A, bitrate: N/A Stream #0.0: Video: h264, yuvj420p, 544x576 [PAR 64:33 DAR 544:297], 50 fps, 25 tbr, 1200k tbn, 50 tbc Output #0, mp4, to 'out.mp4': Metadata: encoder : Lavf52.71.0 Stream #0.0: Video: ![0][0][0] / 0x0021, yuvj420p, 544x576 [PAR 64:33 DAR 544:297], q=2-31, 50 tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding [NULL @ 0x11bd720] missing picture in access unit frame= 450 fps= 0 q=-1.0 Lsize= 2127kB time=9.02 bitrate=1932.0kbits/s video:2123kB audio:0kB global headers:0kB muxing overhead 0.202994% ---------- status: new -> open substatus: new -> open ________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/issue2050> ________________________________________________