Post B6kbGeKjyPv9ryMaPo by brettm@swarm.coiloptic.org
(DIR) More posts by brettm@swarm.coiloptic.org
(DIR) Post #B6kKGLj3SURUwC0VbE by Hothrin@transfem.social
0 likes, 0 repeats
Apparently mpv can handle playing videos as they're downloaded :oSo u can instantly watch anything even with rather slow internet
(DIR) Post #B6kKGM18NGu7qGSwmO by raccoon@hollow.raccoon.quest
0 likes, 0 repeats
@Hothrin@transfem.social If you install yt-dlp you can watch YouTube directly from MPV, mpv yt_link_here and you're good
(DIR) Post #B6kKGMDXd8pSSkGr7Q by GNUxeava@fedi.absturztau.be
0 likes, 0 repeats
@raccoon @Hothrin how to have mpv play in 1080p instead of whatever max resolution is offered?
(DIR) Post #B6kKGMOWyHcT0pPdFQ by fiore@brain.worm.pink
0 likes, 0 repeats
@GNUxeava @raccoon @Hothrin what do you mean? how would you pay stuff at a higher resolution than is offered?
(DIR) Post #B6kKOPmYGEKZppUMT2 by fiore@brain.worm.pink
0 likes, 0 repeats
@GNUxeava @Hothrin @raccoon --script-opts=ytdl_hook-all_formats=yes this is the option you want anywats. then by pressing gv in mpv you can select the video track
(DIR) Post #B6kKpBGMLovIchC5ku by raccoon@hollow.raccoon.quest
0 likes, 0 repeats
@fiore@brain.worm.pink @GNUxeava@fedi.absturztau.be @Hothrin@transfem.social Can that be put in the configs?
(DIR) Post #B6kKpBRhfdztBsV9RA by fiore@brain.worm.pink
0 likes, 0 repeats
@raccoon @GNUxeava @Hothrin idk how --script-ops options work , u might be able to, or maybe theres a yt-dlp config you can set. but honestly i dont know what happens if you usr this on a local video, whether it fails or just moves along without caring. u shoukd try
(DIR) Post #B6kLYe7dtnx19znR2m by raccoon@hollow.raccoon.quest
0 likes, 0 repeats
@fiore@brain.worm.pink @GNUxeava@fedi.absturztau.be @Hothrin@transfem.social Fiore you're typing super weird Are you drunk?
(DIR) Post #B6kLYeNExoQZwN5tM8 by fiore@brain.worm.pink
0 likes, 0 repeats
@raccoon @GNUxeava @Hothrin i just woke upok so https://github.com/yt-dlp/yt-dlp#configuration there, putting --format all in there should work
(DIR) Post #B6kLataVMyd5hlMwpU by GNUxeava@fedi.absturztau.be
0 likes, 0 repeats
@fiore @raccoon @Hothrin if a video is 4k, mpv will play 4k. I want 1080p
(DIR) Post #B6kLatuMBAVchKenlw by fiore@brain.worm.pink
0 likes, 0 repeats
@GNUxeava @raccoon @Hothrin oh ok makes sense. well i posted the solution then
(DIR) Post #B6ka8IOpXXMtZUjGC0 by brettm@swarm.coiloptic.org
0 likes, 0 repeats
@GNUxeava@fedi.absturztau.be @fiore@brain.worm.pink @raccoon@hollow.raccoon.quest @Hothrin@transfem.social mpv automatically scales based on screen, it will downscale 4k to 1080p if your display is 1080p. so you can have your window manager switch display to 1080p then play videg with sway config, can be something like:output HDMI-A-1 mode 1920x1080
(DIR) Post #B6kaHoksbzZcWjaCTQ by fiore@brain.worm.pink
0 likes, 0 repeats
@brettm @GNUxeava @raccoon @Hothrin i feel like doing -f all and getting the option to pick whatever format among the provided ones would be a far simpler solution tho :P
(DIR) Post #B6kbGeKjyPv9ryMaPo by brettm@swarm.coiloptic.org
0 likes, 0 repeats
@fiore@brain.worm.pink @GNUxeava@fedi.absturztau.be @raccoon@hollow.raccoon.quest @Hothrin@transfem.socialfor -f, i think you mean the yt-dlp option -f?if so yes i agree, better to download at 1080p in the first place.but i thought they were asking how to get mpv to play 4k vid at 1080p
(DIR) Post #B6kba6RrfQCgZIyIxE by fiore@brain.worm.pink
0 likes, 0 repeats
@brettm @GNUxeava @raccoon @Hothrin yes, as i said in this thread, placing a --format all line in the yt-dlp config, or otherwise passing --script-opts=ytdl_hook-all_formats=yes to mpv does the trick
(DIR) Post #B6kbs4dl81daAn6X9k by brettm@swarm.coiloptic.org
0 likes, 0 repeats
@fiore@brain.worm.pink @GNUxeava@fedi.absturztau.be @raccoon@hollow.raccoon.quest @Hothrin@transfem.social due to the wonders of federation i did not see such a post 🙂
(DIR) Post #B6kbs4poPDHKmAk9wW by fiore@brain.worm.pink
0 likes, 0 repeats
@brettm @GNUxeava @raccoon @Hothrin fediverse moment!!!!!!!