setting image2 format flag update

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

setting image2 format flag update

FFmpeg-users mailing list
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

but we get

[image2 @ 0x7fa921000c00] [Eval @ 0x7ffeee793b00] Undefined constant or missing '(' in 'update'
[image2 @ 0x7fa921000c00] Unable to parse option value "update"

Any ideas?

Best
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: setting image2 format flag update

Gyan Doshi-2


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

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".