On Wed, Nov 3, 2021 at 12:57 PM LianCheng Tan <[email protected]> wrote:

> I have tried to do what you have suggested. Somehow, it still cause ffmpeg
> to crash at the exact moment the file is being renamed.
>
> By the way, I am running in Windows environment. Not sure, if in Linux
> will this issue occurs.
>

Top posting is not allowed here.
What is exactly meaning about 'crash' ? Does it simply errors out or it
dumps core?

>
>
> > On 3 Nov 2021, at 12:49 PM, Adam Nielsen <[email protected]> wrote:
> >
> > 
> >>
> >> textfile/reload=1 is working.
> >>
> >> However, the textfile is being updated by another process at every
> >> second. This caused ffmpeg to crash after running sometime as the
> >> ffmpeg unable to read the textfile when the other process is updating
> >> it.
> >
> > In the manpage it says the update has to be atomic, i.e. you should
> > write your update to a different file, then move the new file over the
> > top of the old one.  That way ffmpeg will always see either the new
> > content or the old, and nothing in between.
> >
> > Cheers,
> > Adam.
> _______________________________________________
> 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