Skip to content

Instantly share code, notes, and snippets.

@chriskempson
Last active August 11, 2023 06:23
Show Gist options
  • Save chriskempson/4d135f3e41ea798a034f6093eb20353d to your computer and use it in GitHub Desktop.
Save chriskempson/4d135f3e41ea798a034f6093eb20353d to your computer and use it in GitHub Desktop.
Play Youtube audio CLI (yt-dlp, ffmpeg)
yt-dlp -f bestaudio "https://www.youtube.com/watch?v=jfKfPfyJRdk" -o - 2>/dev/null | ffplay -nodisp -autoexit -i - &>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment