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

FFmpeg trac at avcodec.org
Tue May 28 11:57:10 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:  h264        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by PumaD):

 It's the audio stream.

 The audio-only file created by ffmpeg with:
 `ffmpeg -i slightly-damaged-audio-stops-at-00-43-05.mp4 -c copy -vn
 slightly-damaged-audio-stops-at-00-43-05-audio.mka`

 is 63.7 MiB. The audio-only file created by mkvtoolnix is just 30.4 MiB.
 The video-only files are reasonably close at 965.5 MiB (ffmpeg) vs 965.3
 MiB (mkvtoolnix).

 Tested also on the full file where the audio-only files are 285.9 MiB
 (ffmpeg) vs 60.2 MiB (mkvtoolnix).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11030#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list