[FFmpeg-trac] #2975(undetermined:new): h264 streams don't start with timestamp/timecode 0 when muxed with Matroska
FFmpeg
trac at avcodec.org
Mon Mar 24 15:56:50 CET 2014
#2975: h264 streams don't start with timestamp/timecode 0 when muxed with Matroska
-------------------------------------+-------------------------------------
Reporter: jamal | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: h264 mkv | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by ValdikSS):
I can confirm this issue.
{{{
ffmpeg -i input.mkv -map 0:v -map_metadata -1 -map_chapters -1 -c copy -f
segment -reset_timestamps 1 split%02d.mkv
ffmpeg -f concat -i <(for f in $PWD/split*.mkv; do echo "file '$f'"; done)
-map 0:v -c copy joined.mkv
ffmpeg -i joined.mkv -i input.mkv -map 0 -map 1 -map -1:v -c copy
final.mkv
}}}
This will split input.mkv video to 30 single .mkv files and join them
again.
final.mkv audio is desynced.
Issue is only reproducible with matroska container. All other tested
containers produced perfectly synced final.mkv
Splitting with mkvmerge and joining again also produce synced file.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/2975#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list