[FFmpeg-user] Alternative to Dynamic Text

Anatoly anatoly at kazanfieldhockey.ru
Sun Nov 7 00:28:42 EET 2021


On Thu, 4 Nov 2021 20:14:16 +0800
LianCheng <tanlccc at gmail.com> wrote:

> Yes, would like to know in ffmpeg, under drawtext, the textfile
> (reload=1) is using read-write or read-only mode?
I think "procmon.exe" from Microsoft
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
can help you to find the answer (and maybe somehow "debug" the
situation).
Btw, I think following approach may help (or may not, I have no windows
system by hand to test it myself). Let's say I want to atomically
replace file a.txt with file b.txt
mklink /h wrk.txt a.txt
open wrk.txt with ffmpeg
update b.txt as needed
mklink /h next.txt b.txt
move /y next.txt wrk.txt
now update a.txt as needed or may delete a, b and create new b.
hardlink again and move again
and so on in loop


More information about the ffmpeg-user mailing list