Skip to content

Instantly share code, notes, and snippets.

@47ronin

47ronin/youtube-dlbest.sh

Last active Apr 6, 2018
Embed
What would you like to do?
Use youtube-dl to merge best video and best audio formats together into an MPEG-4 container
#!/bin/bash
# $1 is the URL
youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment