Opened 3 months ago

Closed 3 weeks ago

#7452 closed defect (fixed)

Regression if muxing eac3 in mp4

Reported by: Nomis101 Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mov crash abort regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

If I try to copy a video file that contains an eac3 stream from mkv to mp4, muxing fails. If I choose to convert the audio stream into e.g. aac, it works. Sample file can be found here:
https://cloudstore.zih.tu-dresden.de/index.php/s/PHoOt67flM8jep5

$ ffmpeg -i /Volumes/Macintosh\ HD\ 3/Misc/RIP/MINIONS_UPT4_3D/Minions_part.mkv -acodec copy -vcodec copy /Volumes/Macintosh\ HD\ 3/Misc/RIP/MINIONS_UPT4_3D/Minions_part.mp4
ffmpeg version N-91991-gc02ff77681-tessus  h ttps://evermeet.cx/ffmpeg/  Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 10.0.0 (clang-1000.11.45.2)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      56. 19.101 / 56. 19.101
  libavcodec     58. 30.100 / 58. 30.100
  libavformat    58. 18.101 / 58. 18.101
  libavdevice    58.  4.103 / 58.  4.103
  libavfilter     7. 32.100 /  7. 32.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[h264 @ 0x7fa5f0820c00] sps_id 1 out of range
Guessed Channel Layout for Input Stream #0.1 : 7.1
Input #0, matroska,webm, from '/Volumes/Macintosh HD 3/Misc/RIP/MINIONS_UPT4_3D/Minions_part.mkv':
  Metadata:
    title           : Minions 3D
    ENCODER         : Lavf58.12.100
  Duration: 00:00:11.05, start: 0.000000, bitrate: 32452 kb/s
    Chapter #0:0: start 0.000000, end 10.000000
    Metadata:
      title           : Chapter 01
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      stereo_mode     : block_lr
      BPS-eng         : 43109843
      DURATION-eng    : 01:30:57.994208333
      NUMBER_OF_FRAMES-eng: 130861
      NUMBER_OF_BYTES-eng: 29411658311
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.2 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-07-08 16:09:54
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:11.052000000
    Side data:
      stereo3d: frame alternate
    Stream #0:1(deu): Audio: eac3, 48000 Hz, 7.1, fltp (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 1152000
      DURATION-eng    : 01:30:58.016000000
      NUMBER_OF_FRAMES-eng: 170563
      NUMBER_OF_BYTES-eng: 785954304
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.2 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-07-08 16:09:54
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:10.971000000
[mp4 @ 0x7fa5f2012800] track 1: codec frame size is not set
Output #0, mp4, to '/Volumes/Macintosh HD 3/Misc/RIP/MINIONS_UPT4_3D/Minions_part.mp4':
  Metadata:
    title           : Minions 3D
    encoder         : Lavf58.18.101
    Chapter #0:0: start 0.000000, end 10.000000
    Metadata:
      title           : Chapter 01
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 16k tbn, 1k tbc
    Metadata:
      stereo_mode     : block_lr
      BPS-eng         : 43109843
      DURATION-eng    : 01:30:57.994208333
      NUMBER_OF_FRAMES-eng: 130861
      NUMBER_OF_BYTES-eng: 29411658311
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.2 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-07-08 16:09:54
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:11.052000000
    Side data:
      stereo3d: frame alternate
    Stream #0:1(deu): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 7.1, fltp (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 1152000
      DURATION-eng    : 01:30:58.016000000
      NUMBER_OF_FRAMES-eng: 170563
      NUMBER_OF_BYTES-eng: 785954304
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.2 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-07-08 16:09:54
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:10.971000000
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  186 fps=0.0 q=-1.0 size=   27904kB time=00:00:07.67 bitrate=29783.7kbits
Assertion s->buf_ptr < s->buf_end failed at ./libavcodec/put_bits.h:108
Abort trap: 6

Attachments (1)

Minions_part_cut.mkv (2.4 MB) - added by cehoyos 3 weeks ago.

Change History (2)

comment:1 Changed 3 weeks ago by cehoyos

  • Component changed from ffmpeg to avformat
  • Keywords mov crash abort added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from unspecified to git-master

Changed 3 weeks ago by cehoyos

Note: See TracTickets for help on using tickets.