Created
January 10, 2022 07:25
-
-
Save donnaken15/adc752728206b9107dcee2218aed70f4 to your computer and use it in GitHub Desktop.
clip YouTube videos with ffmpeg and youtube-dl (SLOW), i wonder how this can be done the same way as just clicking into a specific part of a video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ffmpeg \ | |
-i $(youtube-dl -g -f 299 $1) \ | |
-i $(youtube-dl -g -f 251 $1) \ | |
-ss $2 -t $3 $4 ${1:-foo} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment