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

2021-02-20 Thread Michael Glenn Williams
Hi Korn, > 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. > OK, so we need to create a connection between ffmpeg and file 1 that will not return EOF, and will block if there is no

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

2021-02-19 Thread Moritz Barsnick
On Wed, Feb 17, 2021 at 22:18:00 -0800, Carl Zwanzig wrote: > On 2/15/2021 11:33 PM, Korn Moffle wrote: > > 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. > > What's the goal of

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

2021-02-17 Thread Carl Zwanzig
On 2/15/2021 11:33 PM, Korn Moffle wrote: 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. What's the goal of that? b. tell ffmpeg to read the file with a constant 3 second delay from

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

2021-02-15 Thread Korn Moffle
it from MSDOS shell - even better! Thank you! Sent from Outlook<http://aka.ms/weboutlook> From: ffmpeg-user on behalf of Michael Glenn Williams Sent: Friday, February 12, 2021 7:18 PM To: FFmpeg user questions Subject: Re: [FFmpeg-user] Re-writing h

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

2021-02-12 Thread Michael Glenn Williams
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.

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

2021-02-12 Thread Korn Moffle
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