Opened 5 years ago

Closed 5 years ago

#560 closed enhancement (fixed)

QMP4 video outputs many warnings

Reported by: bf4648 Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: qmp4 asp
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

here's my output & attached is the .avi file:

:~/Desktop$ ffmpeg -i qmp4\
ffmpeg version N-33690-g2eaa553, Copyright (c) 2000-2011 the FFmpeg developers

built on Oct 16 2011 02:10:25 with gcc 4.5.2
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
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
libpostproc 51. 2. 0 / 51. 2. 0

[avi @ 0xa951ac0] parser not found for codec none, packets or times may be invalid.
[avi @ 0xa951ac0] parser not found for codec pcm_s16le, packets or times may be invalid.
[avi @ 0xa951ac0] max_analyze_duration 5000000 reached at 5000000
Input #0, avi, from 'qmp4 ':

Duration: 00:00:12.13, start: 0.000000, bitrate: 1204 kb/s

Stream #0:0: Video: none (QMP4 / 0x34504D51), 352x288, 30 fps, 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

Attachments (1)

qmp4 (1.7 MB) - added by bf4648 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by bf4648

comment:1 Changed 5 years ago by cehoyos

  • Keywords qmp4 asp added; .avi removed
  • Reproduced by developer set
  • Status changed from new to open
  • Summary changed from .avi video can not be decoded by ffmpeg to QMP4 video outputs many warnings
  • Type changed from defect to enhancement

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%

comment:2 Changed 5 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed

The message has a lower verbosity now, no more warnings are shown while decoding.

Note: See TracTickets for help on using tickets.