[FFmpeg-trac] #560(avcodec:open): QMP4 video outputs many warnings (was: .avi video can not be decoded by ffmpeg)

FFmpeg trac at avcodec.org
Sun Oct 16 10:33:54 CEST 2011


#560: QMP4 video outputs many warnings
-------------------------------------+-----------------------------------
             Reporter:  bf4648       |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  qmp4 asp     |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Changes (by cehoyos):

 * keywords:  .avi => qmp4 asp
 * status:  new => open
 * type:  defect => enhancement
 * reproduced:  0 => 1


Comment:

 Mostly fixed in current git head.
 {{{
 $ ffmpeg -i qmp4\  -qscale 2 -t 2 out.avi
 ffmpeg version N-33668-g22137bb, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct 16 2011 01:34:26 with gcc 4.5.3
   configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
   libavutil    51. 21. 0 / 51. 21. 0
   libavcodec   53. 20. 1 / 53. 20. 1
   libavformat  53. 16. 0 / 53. 16. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 43. 6 /  2. 43. 6
   libswscale    2.  1. 0 /  2.  1. 0
 [avi @ 0x8cf5aa0] parser not found for codec pcm_s16le, packets or times
 may be invalid.
 [mpeg4 @ 0x8cfbce0] hmm, seems the headers are not complete, trying to
 guess time_increment_bits
 [mpeg4 @ 0x8cfbce0] my guess is 4 bits ;)
 Input #0, avi, from 'qmp4 ':
   Duration: 00:00:12.13, start: 0.000000, bitrate: 1204 kb/s
     Stream #0:0: Video: mpeg4 (QMP4 / 0x34504D51), yuv420p, 352x288, 30
 tbr, 30 tbn, 30 tbc
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, 1
 channels, s16, 128 kb/s
 [buffer @ 0x8d0e0c0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:0/1
 sws_param:
 Incompatible sample format 's16' for codec 'ac3', auto-selecting format
 'flt'
 [ac3 @ 0x8cfb000] channel_layout not specified
 [ac3 @ 0x8cfb000] No channel layout specified. The encoder will guess the
 layout, but it might be incorrect.
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf53.16.0
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288,
 q=2-31, 200 kb/s, 30 tbn, 30 tbc
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 8000 Hz, mono, flt, 128
 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0 (mpeg4 -> mpeg4)
   Stream #0.1 -> #0.1 (pcm_s16le -> ac3)
 Press [q] to stop, [?] for help
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [SWR @ 0x8dd2d00] Input channel layout has a different number of channels
 than there actually is, ignoring layout
 [mpeg4 @ 0x8cfbce0] looks like this file was encoded with
 (divx4/(old)xvid/opendivx) -> forcing low_delay flag
 [mpeg4 @ 0x8cfbce0] warning: first frame is no keyframe
 [mpeg4 @ 0x8cfbce0] ac-tex damaged at 12 5
 [mpeg4 @ 0x8cfbce0] Error at MB: 127
 [mpeg4 @ 0x8cfbce0] concealing 396 DC, 396 AC, 396 MV errors
 [mpeg4 @ 0x8cfbce0] hmm, seems the headers are not complete, trying to
 guess time_increment_bits
 [mpeg4 @ 0x8cfbce0] my guess is 5 bits ;)
 [mpeg4 @ 0x8cfbce0] hmm, seems the headers are not complete, trying to
 guess time_increment_bits
 [mpeg4 @ 0x8cfbce0] my guess is 5 bits ;)
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 [mpeg4 @ 0x8cfbce0] header damaged
 Error while decoding stream #0.0
 frame=   49 fps=  0 q=2.0 Lsize=     286kB time=00:00:01.96
 bitrate=1191.1kbits/s
 video:242kB audio:33kB global headers:0kB muxing overhead 4.129933%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/560#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list