Hi I need to extract frames from videos using ffmpeg.. Is there a faster way to do it than this:
ffmpeg -i file.mpg -r 1/1 $filename%03d.jpg
?
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.
If the JPEG encoding step is too performance intensive, you could always store the frames uncompressed as BMP images:
This also has the advantage of not incurring more quality loss through quantization by transcoding to JPEG. (PNG is also lossless but tends to take much longer than JPEG to encode.)