#9893: Concat of H.264 video results in glitches at join point
-------------------------------------+-------------------------------------
Reporter: savingray | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When using concat demuxer (`concat.log`) to join two segments
(`seg[12].mp4`) of video the resulting file (`concat.mp4`) has playback
issues (`ffplay.log`):
- a few first frames of second segment are lost (skipped?)
- frames at join point are reordered: last frame from first segment plays
after first frame frame from second segment
- "mmco: unref short failure" errors in console
How to reproduce:
{{{
curl -o seg1.mp4 -o seg2.mp4 https://files.catbox.moe/ysoa9l.mp4
https://files.catbox.moe/zhuw5h.mp4
printf "file 'file:%s'\n" seg?.mp4 | ffmpeg -protocol_whitelist pipe,file
-safe 0 -f concat -i - -c copy concat.mp4
ffplay concat.mp4
}}}
Additional notes:
The video segments were obtained from youtube video `Sc_v1l8v9sw` in the
following way
{{{
yt-dlp -f 137 -o input.mp4 Sc_v1l8v9sw
ffmpeg -ss '130.09663' -i input.mp4 -t '3.97063' -c copy seg1.mp4
ffmpeg -ss '138.47167' -i input.mp4 -t '5.33867' -c copy seg2.mp4
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9893>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".