Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ $# -eq 2 ]; then
- OUTPUT=$(youtube-dl -g $1)
- ffmpeg -i "$OUTPUT" -c copy $2
- else
- echo "Usage: $0 INPUT_URL OUTPUT"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement