[FFmpeg-user] Alternative to Dynamic Text
tanlccc at gmail.com
Wed Nov 3 16:19:44 EET 2021
Sorry, need to give more details.
Due to drawtext that load textfile dynamically and when the textfile is inaccessible, the ffmpeg exited.
> On 3 Nov 2021, at 9:11 PM, Paul B Mahol <onemda at gmail.com> wrote:
> On Wed, Nov 3, 2021 at 12:57 PM LianCheng Tan <tanlccc at gmail.com> wrote:
>> 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.
> Top posting is not allowed here.
> What is exactly meaning about 'crash' ? Does it simply errors out or it
> dumps core?
>>>> 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
>>> 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.
>> 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".
> 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