[FFmpeg-devel] Fwd: Fwd: libavformat/segment : add option to increment timecode

Stefano Sabatini stefasab at gmail.com
Tue Mar 15 17:49:30 CET 2016


On date Tuesday 2016-03-08 19:45:52 +0100, Stefano Sabatini encoded:
> On date Sunday 2016-02-28 21:41:32 +0100, Martin Vignali encoded:
> > 2016-02-23 20:08 GMT+01:00 Martin Vignali <martin.vignali at gmail.com>:
> [...]
> > Hello,
> > 
> > New patch attached, with the timecode incrementation inside segment_end()
> > Use this time start_time and end_time (from SegmentListEntry) to calculate
> > the duration of the segment.
> > 
> > 
> > Best regards
> > 
> > Martin
> 
> > From 6aab70f629ae8b951574c27d70f06e80334a9309 Mon Sep 17 00:00:00 2001
> > From: Martin Vignali <martin.vignali at gmail.com>
> > Date: Sun, 28 Feb 2016 21:36:42 +0100
> > Subject: [PATCH] lavf/segment: add increment timecode option
> > 
> > for example you can split a file, keeping a continuous timecode between
> > each segment :
> > 
> > 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
> > ---
> >  doc/muxers.texi       |  6 ++++++
> >  libavformat/segment.c | 32 ++++++++++++++++++++++++++++++++
> >  2 files changed, 38 insertions(+)
[...] 
> LGTM, will apply soon if I read no more comments, thanks.

Applied.
-- 
FFmpeg = Freak Forgiving Magnificient Perennial Erratic Guru


More information about the ffmpeg-devel mailing list