[FFmpeg-devel] libavformat/segment : Patch proposal : Preserving timecode with segment

Martin Vignali martin.vignali at gmail.com
Sat May 23 23:21:18 CEST 2015


In attach, a first draft, for a patch in order to have a correct timecode
when segment files
(before this patch, the timecode is reset for each segment).

This is not a ready to apply patch.

One problem, is to get the real rate of the file, in order to correctly
increment timecode (i set 25 fps in this temp patch).

One way to test it :

ffmpeg -i src.mov -timecode 10:00:00:00 -vcodec copy -f segment
-segment_time 2 -reset_timestamps 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)

Comments welcome.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-First-draft-preserve-timecode-value-with-segment-for.patch
Type: application/octet-stream
Size: 1463 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150523/5fd72cbf/attachment.obj>

More information about the ffmpeg-devel mailing list