[FFmpeg-trac] #7378(avformat:new): Extra mp4 header data causes decode failure

FFmpeg trac at avcodec.org
Thu Aug 23 18:40:17 EEST 2018


#7378: Extra mp4 header data causes decode failure
----------------------------------+--------------------------------------
             Reporter:  cgbug     |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 Sample:
 https://www.datafilehost.com/d/3dcb324d

 Sample contains original video file, and modified file after import from a
 mobile phone by Windows. The only difference is some extra metadata in the
 header (a date of import value). Hex comparison picture is included as
 well.

 {{{
 ffmpeg version N-91646-g78d4b6bd43 Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 8.2.1 (GCC) 20180813
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --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
   libavutil      56. 19.100 / 56. 19.100
   libavcodec     58. 23.100 / 58. 23.100
   libavformat    58. 17.103 / 58. 17.103
   libavdevice    58.  4.101 / 58.  4.101
   libavfilter     7. 26.100 /  7. 26.100
   libswscale      5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc    55.  2.100 / 55.  2.100
 [aac @ 0000000000588d00] channel element 0.0 duplicate
 [h264 @ 0000000000592e80] Invalid NAL unit size (-1413299846 > 559738).
 [h264 @ 0000000000592e80] Error splitting the input into NAL units.
 [h264 @ 0000000000592e80] Invalid NAL unit size (2141028344 > 458724).
 [h264 @ 0000000000592e80] Error splitting the input into NAL units
 ...
 more of same
 }}}

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


More information about the FFmpeg-trac mailing list