Skip to content

Instantly share code, notes, and snippets.

@icarovirtual
Created May 31, 2019 18:47
Show Gist options
  • Save icarovirtual/a849931571b9c94cf5797c1e7b03cb8e to your computer and use it in GitHub Desktop.
Save icarovirtual/a849931571b9c94cf5797c1e7b03cb8e to your computer and use it in GitHub Desktop.
Create a thumbnail from a frame of a video URL using ffmpeg
ffmpeg -itsoffset -4 -i "https://scontent.xx.fbcdn.net/v/t50.12441-16/61340994_435915640302058_n.mp4?_nc_cat=106&_nc_ht=scontent.xx&oh=19858915f178f4854a789438b3d9d24b&oe=5D5B3C92" -vcodec mjpeg -vframes 1 -an -f rawvideo test.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment