Quantcast
Viewing latest article 4
Browse Latest Browse All 6

Answer by Nahom Aymere for FFMPEG- Convert video to images

Another way is to use ffmpeg library for python, particularly useful if you don't want to add ffmpeg to your pc environment. Start by installing ffmpeg on conda with:conda install ffmpegThen you can write a script as bellow:

import ffmpeginput_file_name = 'input_video.mp4'(ffmpeg .input(input_file_name ) .filter('fps', fps=10, round = 'up') .output("%s-%%04d.jpg"%(input_file_name[:-4]), **{'qscale:v': 3}) .run())

Viewing latest article 4
Browse Latest Browse All 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>