> On 2 May 2021, at 18:58, Marton Balint <[email protected]> wrote: > > > > On Sun, 2 May 2021, Bouke wrote: > >> >> >>> On 2 May 2021, at 13:22, Bouke <[email protected]> wrote: >>> Setting a timestamp_align of 6 seconds results in a start delay of just 6 >>> seconds… >> >> >> Oops, I ment, Setting a timestamp_align of TEN seconds results in a start >> delay of just 6 seconds… > > Well of course, since it waits only until system clock reaches a 10 second > boundary - :00 :10 :20 :30 :40 or :50. > > Maybe I should have wrote this: it waits till > UNIX_TIMESTAMP() modulo timestamp_align becomes 0. > where unix timestamp is numer of seconds since 1970. > > Hope it finally makes sense now.
YES! My Python (pseudso) code now: _add = 1 - (time.time() % 1) _tc += add args extend([‘-timestamp_align’, ‘1']) args.extend([‘-timecode’, tc]) THANKS! Bouke > > Regards, > Marton > _______________________________________________ > ffmpeg-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
