Opened 8 months ago

Closed 8 months ago

#7378 closed defect (invalid)

Extra mp4 header data causes decode failure

Reported by: cgbug Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Change History (3)

comment:1 Changed 8 months ago by cehoyos

Which software allows to read the broken file?

comment:2 Changed 8 months ago by cgbug

I haven't found anything that can play it. I also did not make the file. Strictly speaking it probably violates spec. But looking at the hex diff, that unknown header element could just be ignored / skipped over.

comment:3 Changed 8 months ago by cehoyos

  • Keywords mov added
  • Resolution set to invalid
  • Status changed from new to closed

I don't think this is a valid ticket, feel free to reopen if you find a software (or hardware) that can read this file.

Note: See TracTickets for help on using tickets.