Opened 6 months ago
Last modified 3 months ago
#11029 new defect
Video of damaged MP4 freezes for half a second during playback
Reported by: | PumaD | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | PumaD, MasterQuestionable | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
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 video freezes for about half a second at 00:42:58.
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
)
Sample (from #11028):
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:42:55 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 @ 0x7fb1bc000c80] Sample size 3043950162 is too large [h264 @ 0x7fb1bc001c00] 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] Truncating packet of size 268435713 to 35501233KB sq= 0B [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb1bc000c80] Packet corrupt (stream = 1, dts = 113707010). [aac @ 0x7fb1bc008240] channel element 2.0 is not allocated [aac @ 0x7fb1bc008240] channel element 2.0 is not allocated [aac @ 0x7fb1bc008240] Sample rate index in program config element does not match the sample rate index configured by the container. [aac @ 0x7fb1bc008240] channel element 3.1 is not allocated [h264 @ 0x7fb1bc5c8700] concealing 1127 DC, 1127 AC, 1127 MV errors in P frame 2584.75 A-V: -0.017 fd= 7 aq= 1KB vq=15359KB sq= 0B
Change History (2)
comment:1 by , 6 months ago
Description: | modified (diff) |
---|
comment:2 by , 3 months ago
Cc: | added |
---|
͏ See also: https://trac.ffmpeg.org/ticket/11005#comment:23