New submission from johnny <johnny666...@sonnenkinder.org>: when decoding the h264 sample file i'm attaching here, ffmpeg produces errors (see below). the visual quality is also not ok; when running ffmplay on this file, you can see artefacts in the moving bar. the same file is decoded just fine by a commercial codec (coreavc).
$ ./ffmpeg -i tandberg.h264 -vcodec rawvideo tandberg.avi FFmpeg version SVN-r23885, Copyright (c) 2000-2010 the FFmpeg developers built on Jun 29 2010 14:38:57 with gcc 4.3.2 configuration: 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 @ 0x90b3710] number of reference frames exceeds max (probably corrupt input), discarding one Last message repeated 77 times [h264 @ 0x90b3710] mmco: unref short failure [h264 @ 0x90b2510] max_analyze_duration reached [h264 @ 0x90b2510] 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 '/tmp/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, avi, to '/tmp/tandberg.avi': Metadata: ISFT : Lavf52.71.0 Stream #0.0: Video: rawvideo, yuvj420p, 544x576 [PAR 64:33 DAR 544:297], q=2-31, 200 kb/s, 25 tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding [h264 @ 0x90b3710] number of reference frames exceeds max (probably corrupt input), discarding one Last message repeated 77 times [h264 @ 0x90b3710] mmco: unref short failure Last message repeated 2 times 35349kB time=3.08 bitrate=94019.7kbits/s dup=0 drop=75 [h264 @ 0x90b3710] missing picture in access unit frame= 111 fps= 54 q=0.0 Lsize= 50957kB time=4.44 bitrate=94018.4kbits/s dup=0 drop=110 video:50949kB audio:0kB global headers:0kB muxing overhead 0.016139% File 'tandberg.h264' not attached - you can download it from https://roundup.ffmpeg.org/file961. ---------- files: tandberg.h264 messages: 10990 priority: normal status: new substatus: new title: cannot decode h.264 stream type: bug ________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/issue2050> ________________________________________________