6 ms·
I still prefer to watch youtube with its flash player. It handles my multi-display setup better in linux, plus it releases the audio right after I finish with t
by pvdebbe 9y ago
I still prefer to watch youtube with its flash player. It handles my multi-display setup better in linux, plus it releases the audio right after I finish with the video. Not the end of the world though. I just have to start using a secondary browser for youtube vids (that I want to view with audio on) and tinker with my WM for getting a good fullscreen.
- scrollaway 9y agoTip: `mpv`, the video player, natively supports youtube videos (as well as many other video streaming sites through the fabulous youtube-dl). Watch videos using an awesome, efficient video player with `mpv https://youtube.com/watch?v=...` https://youtube.com/watch?v=...`. I believe vlc offers the same feature.
- naibafo 9y agompv is awesome. Cannot recommend it enough.
- StavrosK 9y agoNot only that, but there are very small extensions that place a button on your toolbar that will launch MPV with the current URL. It's the only way I watch YouTube nowadays, it always launches fullscreen on the second monitor and quits when the video is done. It's such a small change, but has a very large impact on the quality of my video-watching experience, I couldn't believe it initially.
- nathcd 9y agoI wonder whether youtube-dl (which is what mpv uses to get audio/video over the web, I think) is going to get completely neutered by EME. Your setup is similar to how I use Youtube lately, and the recent progression of EME has got me worried that the setup won't be working for too much longer.
- nitrogen 9y agoIs there any reason mpv couldn't stream encrypted video to the GPU? Or implement its own EME wrapper and use the same blob the browser uses?
- listic 9y agoCould you point to such an extension?
- StavrosK 9y agoSure, https://addons.mozilla.org/en-US/firefox/addon/watch-with-mpv/ https://addons.mozilla.org/en-US/firefox/addon/watch-with-mp...
- pvdebbe 9y agoI did know that mpv/vlc supports playing youtube but I didn't connect the dots, until now. Thanks for suggestion! This could be big because I also struggle a bit with Youtube's poor playlist management tools. Now I can use plain text files.
- dspillett 9y agoThere is also the option of downloading with http://rg3.github.io/youtube-dl/ http://rg3.github.io/youtube-dl/ and queuing up the local files in your preferred local media player's playlist support. Particularly useful if you might want to watch the content while travelling as you don't need a reliable connection as you would for streaming. yt-dl directly supports a fair few other video sites (http://rg3.github.io/youtube-dl/supportedsites.html http://rg3.github.io/youtube-dl/supportedsites.html) too, and indirectly a large number of others as its generic resource locator does a fairly good job of finding the object you want unless the site actively tries to obfuscate the video's location.
- jasonkostempski 9y agoThis is so cool. Combined with RSS for channel subscriptions, I won't even have to go to the site and get a properly manageable window. Now I just need to figure out how to get newsbeuter to use specific commands based on the url.
- cyphar 9y agoAnd on Android there's a free software app that implements a similar thing (without needing any proprietary libraries), and actually is much better than the official app. https://github.com/TeamNewPipe/NewPipe https://github.com/TeamNewPipe/NewPipe
- mod50ack 9y agoI've used it a while and can confirm its great featureset (backgrounding, no ads, downloading) ... one issue is no subscription feature in-app. I don't want to play around with RSS
- cyphar 9y agoThey're working on it, the plan is to fake subscription by subscribing to channel RSS feeds. https://github.com/TeamNewPipe/NewPipe/pull/620 https://github.com/TeamNewPipe/NewPipe/pull/620
- deleted 9y ago[deleted]
- modalduality 9y ago.newsbeuter/config has a "browser" command where you can give arbitrary a shell command where %u is the URL, you could give it your own script that matches on the URL. For example, mine is 'browser "urxvt -e elinks %u"'.
- nine_k 9y agoVLC seems to work, too.
- majewsky 9y agoI always copy links to Youtube (or other) videos instead of opening them, then I do `mpv --ytdl --ytdl-format best "$(xsel -b)"` via a shell alias.
- JoshTriplett 9y agoYou don't need "--ytdl-format best" anymore; youtube-dl defaults to "best". And normally, mpv will automatically recognize when it needs to use "--ytdl".
- listic 9y agoWhat should I do if I get the following error? [ytdl_hook] ERROR: Signature extraction failed: Traceback (most recent call last): [ytdl_hook] File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature [ytdl_hook] video_id, player_url, s [ytdl_hook] File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 797, in _extract_signature_function [ytdl_hook] raise ExtractorError('Cannot identify player %r' % player_url) [ytdl_hook] ExtractorError: Cannot identify player u'/yts/jsbin/player-vflC3ZxIh/en_US/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. [ytdl_hook] (caused by ExtractorError(u"Cannot identify player u'/yts/jsbin/player-vflC3ZxIh/en_US/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. [ytdl_hook] youtube-dl failed, trying to play URL directly ... [ffmpeg] tls: The TLS connection was non-properly terminated. Failed to recognize file format. Exiting... (Errors when loading file)
- mintplant 9y agoUpdate youtube-dl, as it says: https://yt-dl.org/update https://yt-dl.org/update
- naibafo 9y agoWhat kind of issues with multi-display and youtube do you have? I have multiple displays and haven't had any issues with youtube. Be it in firefox, chrome or qutebrowser. The WM/DE didn't make any difference for me either.
- pvdebbe 9y agoThis is probably something that is fixed very easily but when flash requests FS, I get it and it always goes on the right/active monitor. Browser's own implementation usually remains inside the window rectangle so I have to 'maximise' the browser window to get the most of the video show. Even then the borders are left unused and visible. Probably there are fifty different fixes available for such a common issue. But since Firefox is my weapon of choice and flash works, there hasn't been a need to dig into it. And there would be these issues with multiple monitors but I think I mention it out of old habit. Plus the ads or banners don't play on the Flash version of youtube. It's something. :)
- JoshTriplett 9y ago> Browser's own implementation usually remains inside the window rectangle so I have to 'maximise' the browser window to get the most of the video show. Very strange; the HTML implementation does have support for running truly fullscreen. You might consider filing a bug against Firefox and describing the situation. > Plus the ads or banners don't play on the Flash version of youtube. It's something. :) They don't play on the HTML version either, if you use Firefox with an adblocker using EasyList.