[FFmpeg-user] watch a folder for new images

Gyan Doshi ffmpeg at gyani.pro
Sun Jan 30 16:40:31 EET 2022



On 2022-01-30 07:25 pm, Michael Koch wrote:
> 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 an explicit -f image2, an auto image demuxer is used which is 
does not have a seek function defined.

I'll see if I can rectify that.

Regards,
Gyan


More information about the ffmpeg-user mailing list