FFmpeg: Difference between revisions

244 bytes added ,  7 January 2020
Line 25: Line 25:
ffmpeg -framerate 60 -i image-%03d.png -r 30 video.mp4
ffmpeg -framerate 60 -i image-%03d.png -r 30 video.mp4
</syntaxhighlight>
</syntaxhighlight>
===Video to Images===
Extracting frames from a video
<syntaxhighlight lang="bash">
ffmpeg -i video.mp4 frames/%d.png
</syntaxhighlight>
* Use <code>-ss H:M:S</code> to specify where to start
* Use <code>-vframes 1</code> to extract one frames


===Crop===
===Crop===