Currently I am using this command to extract the images:
ffmpeg -i input.mp4 output_%03d.jpeg
But how can I improve the JPEG image quality?
-qscale:v
Use -qscale:v (or the alias -q:v) as an output option.
-q:v
-qmin 1
-qmin 2
ffmpeg -i input.mp4 -qscale:v 2 output_%03d.jpg
See the image muxer documentation for more options involving image outputs.
ffmpeg -ss 60 -i input.mp4 -qscale:v 4 -frames:v 1 output.jpg
Use -update 1 image muxer option. Example for once per second from a live streaming input:
-update 1
ffmpeg -i rtmp://input.foo -q:v 4 -r 1 -update 1 output.jpg
2.1m questions
2.1m answers
60 comments
57.0k users