[FFmpeg-trac] #11030(avcodec:new): Remuxing a damaged MP4 increases file size noticeably

FFmpeg trac at avcodec.org
Tue May 28 14:44:08 EEST 2024


#11030: Remuxing a damaged MP4 increases file size noticeably
------------------------------------+-----------------------------------
             Reporter:  PumaD       |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  aac         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by PumaD):

 `full_video.mp4` to `audio-only.mka` => 285.9 MiB
 `full_video.mp4` to `audio-only.mp4` => 285.6 MiB

 `audio-only.mp4` with ffmpeg to MKV => 285.9 MiB
 `audio-only.mp4` with ffmpeg to MP4 => 285.6 MiB

 `audio-only.mp4` with mkvtoolnix to MKV => 29.5 MiB

 `audio-only.mka` with ffmpeg to MKV => 29.9 MiB
 `audio-only.mka` with ffmpeg to MP4 => 29.6 MiB

 `audio-only.mka` with mkvtoolnix to MKV => 285.5 MiB


 Remuxing of `audio-only.mka` with ffmpeg shows this warning, which is not
 present when remuxing `audio-only.mp4`:
 `[matroska,webm @ 0x56bfff0f1840] Invalid length 0x10000105 > 0x10000000
 for element with ID 0xA3 at 0x1dc7629`
 `Truncating packet of size 104572254 to 49047102`

 That's likely related to #11028 as the audio for the full file should be
 ~60 MiB, not just ~30 MiB.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11030#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list