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
Post a Comment