[FFmpeg-user] Alternative to Dynamic Text

LianCheng Tan tanlccc at gmail.com
Wed Nov 3 13:56:42 EET 2021


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.


> On 3 Nov 2021, at 12:49 PM, Adam Nielsen <a.nielsen at shikadi.net> 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.


More information about the ffmpeg-user mailing list