[FFmpeg-user] Segment Metadata

Stefano Sabatini stefasab at gmail.com
Wed Nov 7 00:34:21 CET 2012

On date Tuesday 2012-11-06 23:51:04 +0100, Peter B. wrote:
> On 11/06/2012 11:13 PM, Jeremy Whitaker wrote:
> > What I'm wondering is if
> > there's a way to tell ffmpeg to set the segment start time metadata to
> > 0 seconds as the segments are being created. Any help would be greatly
> > appreciated.
> >
> I also wanted to use the segment functionality, and also suffered from
> the problem that the segment timestamps were not set to 0.
> (e.g. parsing the duration returns confusing/misinterpretable results)
> I've read some threads on this list about this topic and as I understood
> it keeping the original timecode is intentional.

> I'm working a lot with segmented videos in different applications and
> I'm having problems with files split by ffmpeg's "segment" function,
> whereas files split with (a) other apps or (b) individually segmented
> using ffmpeg work seamlessly - anywhere.

Can you show examples? In particular I want to know what is the
behavior of other segmenters.
> What is the benefit of keeping the original timecode?

For example you can physically concatenate two MPEG-TS segments and
get a valid segment. But sure, it is clear that resetting timestamps
is a useful feature and should be implemented, at least as an option.
FFmpeg = Frightening and Fanciful Magnificient Pitiful Extroverse Game

More information about the ffmpeg-user mailing list