Opened 5 years ago

Closed 5 years ago

#3928 closed defect (fixed)

ffprobe of plain WAV file produces incorrect results, detects format as MPEG-4 video

Reported by: pneuman Owned by:
Priority: important Component: avformat
Version: git-master Keywords: wav asp probe regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I have a plain, 16-bit 44.1k WAV file that ffprobe incorrectly detects as being an MPEG-4 video, after issuing a bunch of warnings. A snippet of the file, which is enough to reproduce the issue, is attached.

lsd@ralph:~/projects/ffmpeg/ffmpeg$ ./ffprobe ../wav-bug/snippet.wav
ffprobe version N-66113-g467a55a Copyright (c) 2007-2014 the FFmpeg developers
  built on Sep  4 2014 16:12:06 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration:
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.100 / 56.  4.100
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  0.103 /  5.  0.103
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
[NULL @ 0x7fe030805800] hmm, seems the headers are not complete, trying to guess time_increment_bits
[NULL @ 0x7fe030805800] my guess is 2 bits ;)
[mpeg4 @ 0x7fe030805800] hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 0x7fe030805800] my guess is 2 bits ;)
[mpeg4 @ 0x7fe030805800] Error, header damaged or not MPEG4 header (qscale=0)
[mpeg4 @ 0x7fe030805800] header damaged
[mpeg4 @ 0x7fe030805800] only rectangular vol supported
Marker bit missing before time_increment_resolution
Marker bit missing before fixed_vop_rate
[mpeg4 @ 0x7fe030805800] illegal chroma format
Marker bit missing before time_increment_resolution
Marker bit missing after height
[mpeg4 @ 0x7fe030805800] Invalid Complexity estimation method 3
[mpeg4 @ 0x7fe030805800] scalability not supported
[mpeg4 @ 0x7fe030805800] illegal chroma format
Marker bit missing before time_increment_resolution
Marker bit missing before width
Marker bit missing before height
[mpeg4 @ 0x7fe030805800] Static Sprites not supported
[mpeg4 @ 0x7fe030805800] quant precision 7
Marker bit missing in complexity estimation part 1
Input #0, wav, from '../wav-bug/snippet.wav':
  Duration: 00:00:05.00, start: 190.476190, bitrate: 1411 kb/s
    Stream #0:0: Video: mpeg4 ([1][0][0][0] / 0x0001), yuv420p, 4736x4511, 1411 kb/s, 30975 tbr, 44100 tbn, 30975 tbc

Attachments (1)

snippet.wav (861.4 KB) - added by pneuman 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by pneuman

comment:1 Changed 5 years ago by cehoyos

  • Component changed from ffprobe to avformat
  • Priority changed from normal to important

Did you read my comment in ticket #3784?

comment:2 Changed 5 years ago by pneuman

Sorry about that -- I'll be sure to test using ffmpeg itself next time this happens.

comment:3 Changed 5 years ago by cehoyos

  • Keywords asp added
  • Reproduced by developer set
  • Status changed from new to open

comment:4 Changed 5 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.