BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Best solution for youtube is youtube-dl. Either download the video then watch it, or pipe the output of youtube-dl into your favorite media player. All those videos have 5 or 6 different resolutions that you can watch. Pick which one you wish. It's such a handy tool, I don't know why a linux user would not have it installed.
I do not think youtube-dl is a best solution. It is a good solution for downloading, but I doubt it is cool for watching videos. People like YT suggestions, playlists etc.
Start your browser from the command line and immediate go to Youtube and click to watch a video. You might see some helpful error messages thrown to the command line in the terminal. If so, post them here, beind sure to surround them by "code" tags, which become available when you click the "Go Advanced" button beneath the compose/edit post windows.
Or if you want to stream it without it downloading, in case you want to see a few seconds of it:
Code:
url=$(youtube-dl -f 18 -g "$url")
mplayer "$url"
And of course I would put that into a bash script.
You can watch youtube videos with lynx, dillo or w3m like that. Browser is irrelevant. And since that's python, you can always import that into a python script from youtube_dl import YoutubeDL and do what you wish with that data.
If you watch videos online, can't think of a handier tool than youtube-dl. It works for Twitter, Fox news, Cbs, Facebook, it also works on .m3u8 playlists for sites that are not supported.
Code:
youtube-dl --list extractors
Missing out if you ignore that little tool. Just like you are missing out if you ignore bash.
If this question is still open, here is a suggestion: "sudo apt install smtube". It's a GUI that downloads and plays YouTube videos, without adds, using the media players installed on the system ( mpv, vlc, smplayer, etc). It's almost the same as running the YouTube android app, minus the adds!
For less powerful systems, set the default resolution of the videos to 360 or 480p... They open up almost instantly!
If this question is still open, here is a suggestion: "sudo apt install smtube".
I truly hope it uses youtube-dl for a backend, otherwise it will stop working at some point - Currently youtube-dl are the only ones that can keep up with youtube/googlevideo's API wars.
I truly hope it uses youtube-dl for a backend, otherwise it will stop working at some point - Currently youtube-dl are the only ones that can keep up with youtube/googlevideo's API wars.
One of the choices to view youtube videos is something like "mpv + youtube-dl", but, in my experience, that downloads hd videos, not the faster to download 480i ... For now (until YT messes it up) the choice to watch "480i" using "VLC" is the quickest, smoothest experience...
One of the choices to view youtube videos is something like "mpv + youtube-dl", but, in my experience, that downloads hd videos, not the faster to download 480i ... For now (until YT messes it up) the choice to watch "480i" using "VLC" is the quickest, smoothest experience...
This is configurable in youtube-dl. And it's not the point of my last post anyhow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.