blog/content/post/stream-only-audio-from-yotube-video-with-mpv.md
2022-08-02 17:56:35 +05:30

1.3 KiB

title date lastmod draft keywords description tags categories author comment toc autoCollapseToc postMetaInFooter hiddenFromHomePage contentCopyright reward mathjax mathjaxEnableSingleDollar mathjaxEnableAutoNumber hideHeaderAndFooter flowchartDiagrams sequenceDiagrams
Stream Audio From YouTube Video with mpv 2022-08-02T17:48:21+05:30 2022-08-02T17:48:21+05:30 false
stream audio youtube mpv
mpv
linux
false false false true false false false false false false false
enable options
false
enable options
false

Save resources on your computer with this one trick!

What you will need

  • mpv for playing audio
  • youtube-dl or one of its many forks for streaming YouTube videos

How to do it

Tell mpv you do not want video playback

mpv --no-video $url 

where $url is the link to the YouTube video.