[FFmpeg-user] Alternative to Dynamic Text

Adam Nielsen a.nielsen at shikadi.net
Wed Nov 3 06:49:19 EET 2021


> 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.


More information about the ffmpeg-user mailing list