[FFmpeg-trac] #7954(avcodec:new): MP2 audio files "Header missing" and audio drops

FFmpeg trac at avcodec.org
Thu Jun 13 23:33:18 EEST 2019


#7954: MP2 audio files "Header missing" and audio drops
----------------------------------+----------------------------------
             Reporter:  renaud.s  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  4.1
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------
 I have issues with a bunch of .snd audio files presenting regular audio
 drops.  I have that issue with my own player application (self compiled
 ffmpeg) as well as with ffplay. But Mplayer plays these files perfectly
 (using mpg123).

 FFmpeg complains about "Header missing" and drop the frame (error
 -0x41444e49 Invalid data found when processing input) causing regular
 audio drops. This happens systematically every +/-12 seconds (12, 24,
 48,...), perfectly reproducible.

 A few problematic audio files are available for download here:
 https://www.dropbox.com/s/rnnbyvo2duqoq8r/MP2%20Header%20missing%20issue.7z?dl=0

 I am running Windows 10 64-bit.

 This is the version of ffplay I use, directly from the
 https://ffmpeg.zeranoe.com/builds/ webiste.

 ffplay version N-94014-g80e68ce116 Copyright (c) 2003-2019 the FFmpeg
 developers
   built with gcc 8.3.1 (GCC) 20190414
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-
 libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
 --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
 --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-
 nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
   libavutil      56. 28.100 / 56. 28.100
   libavcodec     58. 52.102 / 58. 52.102
   libavformat    58. 27.103 / 58. 27.103
   libavdevice    58.  7.100 / 58.  7.100
   libavfilter     7. 55.100 /  7. 55.100
   libswscale      5.  4.101 /  5.  4.101
   libswresample   3.  4.100 /  3.  4.100
   libpostproc    55.  4.100 / 55.  4.100

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


More information about the FFmpeg-trac mailing list