Opened 9 years ago

Closed 9 years ago

#5491 closed defect (fixed)

pcm in wav misdetected as h264

Reported by: Carl Eugen Hoyos Owned by:
Priority: important Component: avformat
Version: git-master Keywords: wav h264 regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://ffmpeg.org/pipermail/ffmpeg-user/2016-April/031935.html
A user provided a wav file containing pcm_s16le that is misdetected as wav containing H.264 since 9f5769437aaab30a359cde254f39d9a28b1ce657

$ ffmpeg -i wav.detected.as.h264.error_cut.wav
ffmpeg version N-79691-g66dd21d Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 23.100 / 55. 23.100
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 34.103 / 57. 34.103
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[NULL @ 0x28b5860] Truncating likely oversized SPS
[NULL @ 0x28b5860] too many reference frames 32
[NULL @ 0x28b5860] non-existing PPS 185 referenced
[h264 @ 0x28b5860] Truncating likely oversized SPS
[h264 @ 0x28b5860] too many reference frames 32
[h264 @ 0x28b5860] Truncating likely oversized SPS
[h264 @ 0x28b5860] too many reference frames 32
[h264 @ 0x28b5860] Truncating likely oversized SPS
[h264 @ 0x28b5860] too many reference frames 32
[h264 @ 0x28b5860] Truncating likely oversized SPS
[h264 @ 0x28b5860] too many reference frames 32
[h264 @ 0x28b5860] Truncating likely oversized SPS
[h264 @ 0x28b5860] too many reference frames 32
[h264 @ 0x28b5860] Truncating likely oversized SPS
[h264 @ 0x28b5860] too many reference frames 32
[h264 @ 0x28b5860] slice type 32 too large at 161
[h264 @ 0x28b5860] decode_slice_header error
[h264 @ 0x28b5860] no frame!

...

[wav @ 0x28b4280] decoding for stream 0 failed
[wav @ 0x28b4280] Estimating duration from bitrate, this may be inaccurate
[wav @ 0x28b4280] Could not find codec parameters for stream 0 (Video: h264 ([1][0][0][0] / 0x0001), none, 768 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, wav, from 'wav.detected.as.h264.error_cut.wav':
  Duration: 00:00:26.67, bitrate: 768 kb/s
    Stream #0:0: Video: h264 ([1][0][0][0] / 0x0001), none, 768 kb/s, 48k tbr, 48k tbn
At least one output file must be specified

Attachments (1)

wav.detected.as.h264.error_cut.wav (2.4 MB ) - added by Carl Eugen Hoyos 9 years ago.

Change History (2)

by Carl Eugen Hoyos, 9 years ago

comment:1 by Carl Eugen Hoyos, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.