Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FFMPEG best quality image extraction possible

I would like to extract pictures (png) out of a video for a 3D-modelling task. They should be in the best possible quality. Video is : 1920x1080, 60 fps, 24 bit depth, mp4 .. I have now tried different approaches and feel like I should go with: ffmpeg -i input.mp4 -vf "select=eq(pict_type\,I)" -vsync vfr thumb%04d.png -hide_banner but I am not sure if I could get even a higher quality out. Zooming in will be really important. Thanks for every help.

like image 388
sci_12 Avatar asked Dec 04 '25 10:12

sci_12


1 Answers

PNG is lossless, so this is the best possible quality. Doesn't mean the color reproduction will necessarily be accurate.

Somewhat faster to run

ffmpeg -skip_frame nokey -i input.mp4 -vsync vfr thumb%04d.png -hide_banner
like image 171
Gyan Avatar answered Dec 07 '25 18:12

Gyan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!