[FFmpeg-user] segment_atclocktime problem

Carl Zwanzig cpz at tuunq.com
Mon Nov 16 08:03:41 EET 2020

On 11/15/2020 9:41 AM, Tom Worster wrote:
> What can I do to prevent this and get ffmpeg to write files with the 
> atclocktime? instead of what I assume is the actual time when the file is 
> written.

Depending on the actual implementation, you might not be able to- it's 
common to write into a temp file and at the trigger time close & rename, 
which takes some time; that rename could happen after a seconds boundary 
depending on system load. Someone would need to look at the code to really know.

You may be better off with a cron job that looks for "01" files and renames 
them; run every segment_time but a few seconds delayed; something like 
"rename 01.m4a 00.m4a *.m4a".

(probably not relevant here, but it's always good to post the full command 



More information about the ffmpeg-user mailing list