Created
February 20, 2019 11:08
-
-
Save UserXGnu/7255d44f61bf8daf78aad212fe22d4dd to your computer and use it in GitHub Desktop.
Play youtube videos from console using mplayer and youtube-dl
This file contains hidden or 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
#!/usr/bin/env bash | |
youtube-dl -q -o- "$*" | mplayer -af scaletempo -softvol -softvol-max 400 -cache 8192 - | |
# Usage: | |
# youtube-mplayer.sh https://www.youtube.com/watch?v=v-OS-DgxuFo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment