[FFmpeg-user] Alternative to Dynamic Text

LianCheng Tan tanlccc at gmail.com
Wed Nov 3 06:10:03 EET 2021


Hi Adam,

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.


> On 3 Nov 2021, at 7:52 AM, Adam Nielsen via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
> 
> 
>> 
>> For subtitles, what if the content of .srt or .ass file is being
>> updated at every second. Will ffmpeg crash because the file is being
>> ‘locked’ by another process that is updating it?
> 
> If you're going to update it every second, how come textfile/reload=1
> won't work?
> 
> I put my textfile in /tmp which is a tmpfs filesystem so that it
> remains in memory the whole time (fast, no disk access) if you're
> worried about disk I/O.
> 
> Cheers,
> Adam.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list