Timecode error when muxing special-timecoded FLV video files
MKVToolNix Version 20.0.0
I was merging an 8-segment video with FLV container. Timecode as follows:
Seg1.flv: timecode = 3 min (3 min AVC + 3 min AAC)
Seg2.flv: timecode = 6 min (3 min AVC + 3 min AAC)
Seg3.flv: timecode = 9 min (3 min AVC + 3 min AAC)
Seg4.flv: timecode = 12 min (3 min AVC + 3 min AAC)
Seg5.flv: timecode = 15 min (3 min AVC + 3 min AAC)
Seg6.flv: timecode = 18 min (3 min AVC + 3 min AAC)
Seg7.flv: timecode = 21 min (3 min AVC + 3 min AAC)
Seg8.flv: timecode = 24 min (3 min AVC + 3 min AAC)
According to MediaInfo, the metadata is written with Yet Another Metadata Injector for FLV
.
Since the timecode is specially coded, mkvmerge outputs a video marked 1 h 48 min (= 3 + 6 + 9 + 12 + 15 + 18 + 21 + 24 min)
and wrong bitrate info. The video is actually only 24 min.
FFmpeg deals with this task correctly and outputs a 24 min video.
If I pull all 16 streams out and use mkvmerge to merge them, the output is correct.
So the issue is with the special timecode of the FLV container.
Hope that this issue could be fixed. Thanks.