[FFmpeg-user] Preserving timecode when using the segment muxer

Sam Gardner samgardner90 at gmail.com
Fri Apr 10 01:14:41 CEST 2015


I am having issues setting a manual timecode when using the segment muxer -
each subsequent segment does not contain the correct data in the timecode
track.

The second segment at t=30 is supposed to be 00:00:30:00 but is instead a
constant integer - 42384379. From t=0 to t=30, the timecode is correct.

I set these using:

"-timecode 00:00:00:00 -r 25 -f segment -segment_time 30
-segment_time_delta 0.02 -use_wallclock_as_timestamps 1"

I have tried "reset_timestamps 1" - which creates a proper timecode track -
but it is always indexed from 00:00:00:00 (or whatever your initial
timecode value is).

As an extension to this, I would like my segments to be clipped to 30
seconds, not the total running length. This is so the segments can be
played back from frame 0 of each segment. "reset_timestamps" clips to 30
seconds but doesn't preserve the timecode.


Thanks
Sam Gardner


More information about the ffmpeg-user mailing list