Hi Marton,

Thanks a lot, it works!
There's no more warning message.
Best regards,

Damien Vandame


Le ven. 30 sept. 2022 à 00:49, Marton Balint <[email protected]> a écrit :

>
>
> On Mon, 26 Sep 2022, Damien Vandame wrote:
>
> > Hi,
> > Sorry to disturb you, I'm trying to extract only one image from a video.
> > Using ffmpeg with Windows.
> > It does work, but there is a warning I'd like to get rid of.
> >
> > Can anybody tell me the right syntax?
> > Thank you very much!
> >
> > This is the syntax I'm currently using :
> >
> > *E:\tests>ffmpeg -i myvideo.mp4 -r 1 -ss 7 -frames:v 1 myvideo.jpg*
>
> [...]
>
> > [image2 @ 00000273929beb40]
> > *The specified filename 'myvideo.jpg' does not contain an image sequence
> > pattern or a pattern is invalid.[image2 @ 00000273929beb40] Use a pattern
> > such as %03d for an image sequence or use the -update option (with
> > -frames:v 1 if needed) to write a single image.*
> > frame=    1 fps=0.0 q=6.2 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=
>  0x
> > video:45kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
> > muxing overhead: unknown
> >
> > PS - If I use the -update option, it does not work at all.
>
> Actually the correct syntax would be -update 1, not simply -update, it
> might not be evident for people not familiar with ffmpeg options. Maybe
> the warning message should be clarified.
>
> Regards,
> Marton
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
>
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Reply via email to