[FFmpeg-trac] #11005(avformat:closed): Damaged MP4 rejected by ffmpeg, mkvtoolnix can read it fine
FFmpeg
trac at avcodec.org
Sat May 25 08:00:31 EEST 2024
#11005: Damaged MP4 rejected by ffmpeg, mkvtoolnix can read it fine
------------------------------------+------------------------------------
Reporter: PumaD | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component: avformat
Version: git-master | Resolution: fixed
Keywords: mp4 | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 1 |
------------------------------------+------------------------------------
Comment (by PumaD):
Replying to [comment:12 MasterQuestionable]:
> ͏ Well, how was the ~ 6.35 MiB sample generated?
As documented on https://ffmpeg.org/bugreports.html with:
`dd if=full_video.mp4 of=slightly-damaged-refuses-to-play.mp4 bs=1024
count=6500`
> ͏ At very least, try separating the audio/video mere remuxing.
Remuxing with mkvtoolnix repairs the file enough that the problem is gone.
Remuxing with ffmpeg bakes the problem into the output such that even
mkvtoolnix can't repair it anymore.
> ͏ Also how did you create the ~ 1 GiB sample?
Same as the other one, just with a target size of 1000 MiB, which is
luckily enough to cover the spot where the audio goes out.
`dd if=full_video.mp4 of=slightly-damaged-audio-stops-at-00-43-05.mp4
bs=1024 count=1024000`
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11005#comment:13>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list