[FFmpeg-devel] Fwd: libavformat/segment : add option to increment timecode
Martin Vignali
martin.vignali at gmail.com
Fri Jan 29 12:18:02 CET 2016
Ping
---------- Forwarded message ----------
From: Martin Vignali <martin.vignali at gmail.com>
Date: 2015-10-03 15:49 GMT+02:00
Subject: libavformat/segment : add option to increment timecode
To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
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/20160129/2e14dbba/attachment.obj>
More information about the ffmpeg-devel
mailing list