[FFmpeg-user] Re-writing hot .ts file that rotates every 24 hours in realtime

Korn Moffle korn.moffle at hotmail.com
Fri Feb 12 10:32:36 EET 2021


Hello,

we have a file that is written in realtime into .ts (MPEG-2). The file is written for 24 hours and then a new file starts.

Can we use ffmpeg to:
a. copy the file in realtime ? So, ffmpeg would be rewriting file1.ts into file2.ts as file1.ts is constantly being written into.
b. tell ffmpeg to read the file with a constant 3 second delay from the most updated frame?
c. if a new file appears, detect it and switch to it?

Thank you!



Sent from Outlook<http://aka.ms/weboutlook>


More information about the ffmpeg-user mailing list