[FFmpeg-user] setting image2 format flag update

Gyan ffmpeg at gyani.pro
Thu Jan 16 07:23:17 EET 2020



On 16-01-2020 05:12 am, Daniel Oberhoff via ffmpeg-user wrote:
> Hello,
>
> We would like to run the image2 output format with the update flag, such that it continuously updates a single image (very useful for website thumbnails…) but we can’t for the death of us not find out how to specify it. Can anyone help?
>
> we have tried it like this:
>
>   ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 -f image2 -fflags +update frame.jpg -y

It's a private option of the image2 muxer, so

     ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 -f image2 -update 1 frame.jpg -y


Gyan



More information about the ffmpeg-user mailing list