Skip to content

Instantly share code, notes, and snippets.

@boardfish
Last active July 20, 2018 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boardfish/a55b00ca924cd853d42469843bd2a50d to your computer and use it in GitHub Desktop.
Save boardfish/a55b00ca924cd853d42469843bd2a50d to your computer and use it in GitHub Desktop.
HER="$(youtube-dl -f 43 --get-url https://www.youtube.com/watch?v=KXy4vz04mMk)"
HE="$(youtube-dl -f 43 --get-url https://www.youtube.com/watch?v=rWSgsbWiX_g)"
ffmpeg -i $HER -t 00:00:19.40 -c:v copy -c:a copy her.webm
ffmpeg -i $HE -ss 00:01:43.52 -to 00:01:51.00 -c:v copy -c:a copy he.webm
(echo file 'he.webm' & echo file 'her.webm' )>list.txt
ffmpeg -safe 0 -f concat -i list.txt -c copy style.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment