[FFmpeg-user] Alternative to Dynamic Text
francois.visagie at gmail.com
Wed Nov 3 18:50:19 EET 2021
> From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of
> Adam Nielsen via ffmpeg-user
> Sent: 03 November 2021 15:10
> To: LianCheng Tan
> Cc: Adam Nielsen; FFmpeg user questions
> Subject: Re: [FFmpeg-user] Alternative to Dynamic Text
> > 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.
> It works fine for me but I'm on Linux.
> If renaming doesn't work, have you tried copying the new file over the top
> the old one?
> I'm not familiar enough with Windows to know how to atomically overwrite a
> file. But I searched Google and found this:
> It suggests there is a Windows API function called MoveFileTransacted()
> you could use.
> I'm surprised just opening the file in read-write mode, seeking to the
> then writing your content doesn't work though. You might get a frame here
> or there with incomplete data but it won't cause ffmpeg to exit with an
Possibly the original poster is opening the file with read-write mode also
from within ffmpeg.
That would be unnecessary, and could also explain "... ffmpeg unable to read
the textfile when the other process is updating it."
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org
> with subject "unsubscribe".
More information about the ffmpeg-user