ref: 1f0b53af3f9d0fcc462883c19a9d55669690ca20
dir: /README.md/
# nvi Downloads a Youtube video using Invidious public servers. ## Examples Show available streams of a video: nvi -i ybGOT4d2Hs8 Download audio and video in best quality and play using [treason](https://git.sr.ht/~ft/treason): nvi -a /tmp/audio -v /tmp/video ybGOT4d2Hs8 && treason -a /tmp/audio -v /tmp/video Download only audio, extract OPUS from the container using [mcfs](https://git.sr.ht/~ft/mcfs), and reencode to OGG/Vorbis: nvi -a /fd/1 -A 251 ybGOT4d2Hs8 | mcfs -t audio | audio/opusdec | audio/oggenc > suffer.ogg Download and play combined audio and video (low quality): nvi -V 18 -v /tmp/video ybGOT4d2Hs8 && treason /tmp/video