3

Extract all frames from a movie using ffmpeg

 1 year ago
source link: https://gist.github.com/loretoparisi/a9277b2eb4425809066c380fed395ab3
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Soebb commented on Oct 18, 2021

edited

Is there a way to extract every 100milliseconds(1/10s) ?

@Soebb when you use 1/60 that means 1/60 frames per second, or 1 frame per 60 seconds:

ffmpeg -i input.mov -vf fps=1/60 out%02d.jpg

so to extract every 100 milliseconds it should be possibile setting the -vf fps described here:

-vf fps=fps=1/60
     ↑   ↑   ↑
     |   |   |
     |   |   |__ value
     |   |______ option
     |__________ filter

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK