4 ms·
And with `--vo=tct` argument, you can watch youtube videos directly on your terminal! No GUI necessary! mpv --vo=tct "https://youtube.com/watch?v=dQw4w9WgX
by neurostimulant 4y ago
And with `--vo=tct` argument, you can watch youtube videos directly on your terminal! No GUI necessary!
mpv --vo=tct "https://youtube.com/watch?v=dQw4w9WgXcQ"
- t-3 4y agoIt can also use SDL or DRM to render video on the console. I use this for viewing video and images (even pdfs, with imagemagick) without a graphical environment.
- anthk 4y agoCheck fbpdf2, fbida and links -g.
- kitsunesoba 4y agoOr if you want to play something without video at all for e.g. music livestreams, that can be done too. Example below uses the famous lofi girl stream. mpv --no-video --vo=null --ytdl-format='bestaudio/best' 'https://www.youtube.com/watch?v=jfKfPfyJRdk'
- badocr 4y ago> mpv --no-video --vo=null --ytdl-format='bestaudio/best' 'lofi hip hop radio - beats to relax/study to' With --ytdl-format='bestaudio' there's no need to disable the video track or use the null vo.
- kitsunesoba 4y agoMaybe that behavior is Linux-exclusive? Under macOS and Windows, if I only use --ytdl-format='bestaudio/best' with livestreams mpv will spawn a window with the video.
- badocr 4y agoI'm on Windows as well. Just get rid of the 'best' argument for '--ytdl-format'. Also, 'bestaudio' is mostly only known as a keyword for Youtube videos.