[FFmpeg-devel] libavformat/segment : add option to increment timecode
martin.vignali at gmail.com
Sat Oct 3 15:49:57 CEST 2015
in attach a patch, who add an option to increment timecode using segment.
To test :
ffmpeg -i src.mov -timecode 10:00:00:00 -vcodec copy -f segment
-segment_time 2 -reset_timestamps 1 -increment_tc 1 target_%03d.mov
the second file have timecode 10:00:02:00 (after the patch)
instead of 10:00:00:00 (before the patch)
This patch is useful for two kind of uses :
- splitting a file, but keeping timecode of each part
- have a continuous timecode when recording a stream using segment.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3339 bytes
Desc: not available
More information about the ffmpeg-devel