[FFmpeg-devel] libavformat/segment : add option to increment timecode
Martin Vignali
martin.vignali at gmail.com
Mon Nov 2 23:47:01 CET 2015
ping
2015-10-03 15:49 GMT+02:00 Martin Vignali <martin.vignali at gmail.com>:
> 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
>
More information about the ffmpeg-devel
mailing list