Skip to content

Instantly share code, notes, and snippets.

@phucnm
Created December 6, 2016 03:49
Show Gist options
  • Select an option

  • Save phucnm/6c3d324e95973d2d831eb0153582fa99 to your computer and use it in GitHub Desktop.

Select an option

Save phucnm/6c3d324e95973d2d831eb0153582fa99 to your computer and use it in GitHub Desktop.
Shortest way to extract all images frame of a video using ffmpeg
Run this command:
```ffmpeg -i input.mp4 out%d.png```
If you want more options, check this ref: https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment