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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
-qscale:vto control qualityUse
-qscale:v(or the alias-q:v) as an output option.-qmin 1output option (because the default is-qmin 2).To output a series of images:
See the image muxer documentation for more options involving image outputs.
To output a single image at ~60 seconds duration:
To continuously overwrite/update/save to a single image
Use
-update 1image muxer option. Example for once per second from a live streaming input:Also see