[FFmpeg-devel] libavformat/segment : add option to increment timecode
Martin Vignali
martin.vignali at gmail.com
Sat Oct 3 15:49:57 CEST 2015
Hello,
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.
Comments welcome.
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-increment-timecode-option-using-segment.patch
Type: application/octet-stream
Size: 3339 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151003/6527bceb/attachment.obj>
More information about the ffmpeg-devel
mailing list