[FFmpeg-trac] #11028(undetermined:new): Audio of damaged MP4 suddenly stops playing
FFmpeg
trac at avcodec.org
Sat May 25 05:10:54 EEST 2024
#11028: Audio of damaged MP4 suddenly stops playing
-------------------------------------+-------------------------------------
Reporter: PumaD | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by PumaD:
Old description:
> Follow-up to #11005
>
> Got a slightly damaged 1.9 GiB MP4 file. When playing with ffplay (or any
> ffmpeg based player like mpv) the audio suddenly stops playing at
> 00:43:05.
>
> Remuxing the file with mkvtoolnix resolves this problem.
> (https://gitlab.com/mbunkus/mkvtoolnix; `mkvmerge --output out.mkv
> slightly-damaged-audio-stops-at-00-43-05.mp4`)
>
> Remuxing with ffmpeg instead does not.
> (`ffmpeg -i slightly-damaged-audio-stops-at-00-43-05.mp4 -c copy
> out.mkv`)
>
> Sorry for the large "sample". I didn't manage to extract data from the
> middle without breaking the file completely or baking the problem into
> the sample.
> https://streams.videolan.org/ffmpeg/incoming/11028/slightly-damaged-
> audio-stops-at-00-43-05.mp4
>
> Note: NSFW
>
> How to reproduce:
> {{{
> $ ffplay -ss 00:43:00 slightly-damaged-audio-stops-at-00-43-05.mp4
> ffplay version N-115363-g3146b77a7d Copyright (c) 2003-2024 the FFmpeg
> developers
> built with gcc 14.1.1 (GCC) 20240507
> configuration:
> libavutil 59. 19.100 / 59. 19.100
> libavcodec 61. 5.104 / 61. 5.104
> libavformat 61. 3.103 / 61. 3.103
> libavdevice 61. 2.100 / 61. 2.100
> libavfilter 10. 2.102 / 10. 2.102
> libswscale 8. 2.100 / 8. 2.100
> libswresample 5. 2.100 / 5. 2.100
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x726024000c80] Sample size 3043950162 is too
> large
> [h264 @ 0x726024001c00] concealing 1691 DC, 1691 AC, 1691 MV errors in I
> frame
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slightly-damaged-audio-stops-
> at-00-43-05.mp4':
> Metadata:
> major_brand : isom
> minor_version : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf57.62.100
> Duration: 01:28:36.03, start: 0.000000, bitrate: 1577 kb/s
> Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661),
> yuv420p(progressive), 960x720 [SAR 1:1 DAR 4:3], 3028 kb/s, 29.93 fps, 30
> tbr, 90k tbn (default)
> Metadata:
> handler_name : VideoHandler
> vendor_id : [0][0][0][0]
> Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
> stereo, fltp, 93 kb/s (default)
> Metadata:
> handler_name : SoundHandler
> vendor_id : [0][0][0][0]
> [h264 @ 0x72602455e800] concealing 1127 DC, 1127 AC, 1127 MV errors in P
> frame
> 2589.48 A-V: -0.008 fd= 0 aq= 0KB vq=15360KB sq= 0B
> }}}
New description:
Follow-up to #11005
Got a slightly damaged 1.9 GiB MP4 file. When playing with ffplay (or any
ffmpeg based player like mpv) the audio suddenly stops playing at
00:43:05.
Remuxing the file with mkvtoolnix resolves this problem.
(https://gitlab.com/mbunkus/mkvtoolnix; `mkvmerge --output out.mkv
slightly-damaged-audio-stops-at-00-43-05.mp4`)
Remuxing with ffmpeg instead does not.
(`ffmpeg -i slightly-damaged-audio-stops-at-00-43-05.mp4 -c copy out.mkv`)
Sorry for the large "sample". I didn't manage to extract data from the
middle without breaking the file completely or baking the problem into the
sample.
https://streams.videolan.org/ffmpeg/incoming/11028/slightly-damaged-audio-
stops-at-00-43-05.mp4 (~ 1 GiB)
Note: NSFW
How to reproduce:
{{{
$ ffplay -ss 00:43:00 slightly-damaged-audio-stops-at-00-43-05.mp4
ffplay version N-115363-g3146b77a7d Copyright (c) 2003-2024 the FFmpeg
developers
built with gcc 14.1.1 (GCC) 20240507
configuration:
libavutil 59. 19.100 / 59. 19.100
libavcodec 61. 5.104 / 61. 5.104
libavformat 61. 3.103 / 61. 3.103
libavdevice 61. 2.100 / 61. 2.100
libavfilter 10. 2.102 / 10. 2.102
libswscale 8. 2.100 / 8. 2.100
libswresample 5. 2.100 / 5. 2.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x726024000c80] Sample size 3043950162 is too
large
[h264 @ 0x726024001c00] concealing 1691 DC, 1691 AC, 1691 MV errors in I
frame
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slightly-damaged-audio-stops-
at-00-43-05.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.62.100
Duration: 01:28:36.03, start: 0.000000, bitrate: 1577 kb/s
Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661),
yuv420p(progressive), 960x720 [SAR 1:1 DAR 4:3], 3028 kb/s, 29.93 fps, 30
tbr, 90k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 93 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
[h264 @ 0x72602455e800] concealing 1127 DC, 1127 AC, 1127 MV errors in P
frame
2589.48 A-V: -0.008 fd= 0 aq= 0KB vq=15360KB sq= 0B
}}}
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11028#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list