linux - ffmpeg to extract a video one frame per second? -


currently using command line extract pictures video.

ffmpeg -i ../m.mp4 -f image2 m.mp4-%04d.bmp 

this results many frames.

i extract pictures video, 1 frame per second of video. preferably multithreading.

use -r 1 output option:

ffmpeg -i input.mp4 -r 1 %04d.bmp 

results in 0001.bmp, 0002.bmp, 0003.bmp, etc.

the bmp encoder has no threading capabilities shown ffmpeg -h encoder=bmp.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -