[FFmpeg-user] Trying to extract an image from a video

Damien Vandame d.vandame at gmail.com
Tue Oct 4 20:50:15 EEST 2022


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 <cus at passwd.hu> 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
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list