Skip to content

Instantly share code, notes, and snippets.

@tairov
Created April 26, 2019 21:47
Show Gist options
  • Save tairov/a30f5866189e80b5d5d344e12f8c27da to your computer and use it in GitHub Desktop.
Save tairov/a30f5866189e80b5d5d344e12f8c27da to your computer and use it in GitHub Desktop.
INPUT_SRC=$(youtube-dl -f best -g 'https://www.youtube.com/watch?v=wnHW6o8WMas')
ffmpeg -ss 00:01:22 -i $INPUT_SRC -vframes 1 -q:v 2 output.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment