Lurker News

Comments (230) 93 threads

Show all comments

Showing thread 4 of 93

madars2 replies#
Nice concept, love the aesthetic! It was too CPU intensive for me on a laptop so I sourcedived to find the list of svideos which appear to be the following https://rentry.co/txqrq . I personally use

    mpv --no-video --vo=null --ytdl-format='bestaudio/best'
for listening to such streams. Unfortunately, as "youtube-dl --list-formats" will tell you, the live streams don't have separate audio tracks (which normal YouTube videos do) so this only helps with CPU savings but not bandwidth (you can choose a lower bitrate stream though).
gnosticrose1 reply#
Why --vo=null if --no-video?
madars#
(edit) I think the man page would really imply it is redundant, but when trying with just --no-video and no $DISPLAY (e.g. ssh'd to a machine with speakers but no X server running), it picks up vo=gpu (accelerated video decode) from my mpv.conf and runs with a warning:

    [vo/gpu] Failed initializing any suitable GPU context!
    Error opening/initializing the VO window.
kitsunesoba#
Works under Windows 10 command prompt too after changing the single quotes out for double quotes, very nice. Had been keeping a browser tab with the YouTube stream open, but this is undoubtedly going to be easier on battery.