Hi,

thank you for your reply:

What I am trying to do:

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?

My existing solution of using -re and -sseof has several disadvantages:

  1.  if use -sseof and -re together, I am missing the beginning of the file
  2.  if use only -re, then I need to launch ffmpeg few seconds after the new 
file is created otherwise I would be constantly hours behind.
  3.  I am sure there are a lot of other issues that I am not seeing

What is OS?
TS files are written on Windows 10 64 bit

What language the program is written in?
The program is written in GNU C++ (GCC) , but we can either use the library of 
if there is a way to do it from MSDOS shell - even better!

Thank you!


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

________________________________
From: ffmpeg-user <[email protected]> on behalf of Michael Glenn 
Williams <[email protected]>
Sent: Friday, February 12, 2021 7:18 PM
To: FFmpeg user questions <[email protected]>
Subject: Re: [FFmpeg-user] Re-writing hot .ts file that rotates every 24 hours 
in realtime

Hi Korn,

We need additional info to help you. What O/S are you working with?
This is relevant to the buffered input and output when reading from stdin
and writing to stdout.
What language are you writing your script/program in?
This is relevant to what capabilities your tool will have access to.

Thank you for your question!
_______________________________________________
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".

Reply via email to