I would like to extract frames at fps=25 and the frames are rescaled to 320x240.
What I have tried:
ffmpeg -i video.avi -vf scale="320x240" fps=25 frames/c01_%04d.jpeg
It returns fps=25: Invalid argument
but when I run it with either fps or scale it works.
ffmpeg -i video.avi -vf scale="320x240" frames/c01_%04d.jpeg
or
ffmpeg -i video.avi -vf fps=25 frames/c01_%04d.jpeg
It works. How can I run ffmpeg with scale and fps filters?