[FFmpeg-trac] #3928(ffprobe:new): ffprobe of plain WAV file produces incorrect results, detects format as MPEG-4 video

FFmpeg trac at avcodec.org
Fri Sep 5 01:45:34 CEST 2014


#3928: ffprobe of plain WAV file produces incorrect results, detects format as
MPEG-4 video
-------------------------------------+-------------------------------------
             Reporter:  pneuman      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffprobe      |                  Version:  git-
             Keywords:  wav probe    |  master
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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 at 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
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3928>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list