[FFmpeg-trac] #2975(undetermined:new): h264 streams don't start with timestamp/timecode 0 when muxed with Matroska
FFmpeg
trac at avcodec.org
Wed Mar 26 00:12:09 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):
matroskaenc.c sets avoid_negative_ts=1 by default. You can execute:
{{{
ffmpeg -f lavfi -i testsrc -t 10 -c:v libx264 -preset veryfast
-avoid_negative_ts 0 test.mkv
}}}
and you'll get a videofile with 00:00:10.000 duration instead of
00:00:10.080.
It seems like mkv muxer bug, because all other containers muxes exactly
00:00:10.000 with -avoid_negative_ts 1.
And in my case, -f segment forces -avoid_negative_segment 1 so there is
+80ms delay in every splitted file.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/2975#comment:13>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list