I want to extract frames as images from video
and I want each image to be named
as InputFileName_number.bmp
.
How can I do this?
I tried the following command:
ffmpeg -i clip.mp4 fr1/$filename%d.jpg -hide_banner
but it is not working as I want.
I want to get, for example, clip_1.bmp
, but what I get is 1.bmp
.
I am trying to use it with GNU parallel to extract images of multiple videos and I am new to both so I want some king of dynamic file naming input
-> input_number.bmp
.