[FFmpeg-user] watch a folder for new images
Michael Koch
astroelectronic at t-online.de
Sun Jan 30 15:55:52 EET 2022
Am 30.01.2022 um 14:29 schrieb Gyan Doshi:
>
>
> On 2022-01-30 06:36 pm, Michael Koch wrote:
>>
>> The problem is that FFmpeg seems to read the link only one time. When
>> I change the link target (while FFmpeg is running) with the copy
>> command, the link is actually changed but FFmpeg is still showing the
>> first image.
>> When I stop and restart FFmpeg, then it shows the new image.
>
> Add -readrate 1 before the input.
That didn't work when I tested it.
The combination of -framerate 1 and -f image2 seems to work fine.
Without -framerate 1 ffmpeg does sometimes exit when the symlink is changed.
Thanks for pointing me in the right direction!
Michael
More information about the ffmpeg-user
mailing list