Advertisement
devomaa

yt to ts

Aug 15th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. #!/bin/bash
  2. if [ $# -eq 2 ]; then
  3.         OUTPUT=$(youtube-dl -g $1)
  4.         ffmpeg -i "$OUTPUT" -c copy $2
  5. else
  6.         echo "Usage: $0 INPUT_URL OUTPUT"
  7. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement