As discussed in a separate question, embedded flash videos are abnormally heavy on GPU resources.
The answer given by izx here (and namely in one comment) shows that
”Flash 11+ "attempts" (poorly, it looks like) to use the GPU (hardware) to "decode" the video instead of the CPU (software).
Decoding is a fairly computationally intensive task, but most modern CPUs (except Atoms) will deal with 1080P HD without breaking a sweat.”.
So, it seems that a solution would be opening those videos in external players, even without downloading them, so as to put to work the CPU instead of the GPU.
Best Answer
As this question looks useful to me, I have created it in order to provide an answer. (The meta issue of doing this was discussed and answered (here and here).
A specialized application to see Youtube videos in an external player is Youtube Viewer (
youtube-viewer
). It runs in terminal and usesmplayer
ormpv
to play the youtube video.More here.
By default it uses
mplayer
. To make it usempv
instead, runyoutube-viewer --video-player=mpv
. So, a desktop file with this content may be useful:When running the program, a terminal window opens, saying:
Just type the search item. Then type the corresponding number(s) of the videos you want to be played.
A cross-platform solution that is not limited to youtube is to use the well-known Firefox addon FlashGot, which is meant to send video streams to different download managers, but make it to send the URL stream to VLC (or
mpv
, which I prefer lately):SMPlayer. - limited to youtube (unless used with the solution above: have not tested that yet)
and the Youtube Browser
It starts the separate application, SMPlayer Youtube Browser, to search for videos. One can create a link/desktop launcher to it,
or just run
Using VLC. It looks like VLC is able to start videos of this kind from more websites, while smplayer is limited to youtube.
One can add the link to the video in VLC
Using Totem:
Some plugins are available for Totem player, among which a youtube browser similar to that of SMPlayer. You can open youtube videos in Totem, at lower quality it seems than in the previous options, but they load faster and are perfect for listening music from youtube.
There is also an arte-tv plugin for Totem that is not working at the moment... but maybe it will in the future... and supplementary plugins, including a BBC iPlayer. (The later no better than the one for arte-tv I fear.)
But I think that a more elegant method is using add-ons/extensions to open the external players directly from the internet browser's interface or context menu, like the aforementioned Flashgot addon.
The re is also the Firefox Openwith addon, created initially to open links in different web browsers, can do just that, by adding in its Preferences
vlc
andsmtube
instead of/beside browsers .In Chromium there is an extension to start youtubes in VLC - here.
To use it, the youtube video has to be playing, the VLC web interface has to be enabled (VLC Tools-Preferences-Show Settings -All-Interface-Main-enable Web, restart VLC) and VLC has to be already open.
While VLC seems able to do this outside youtube, it has limitations when dealing with other websites. In Dailymotion works perfectly, but on Google videos it already may have problems, in others it's the OpenWith addon that would not work. I hadn't time to test them enough, I'll update this post in time, and invite comments and edits that would help find ways to open any embedded flash in VLC or other external player.
(This answer was based on ideas coming from izx, Halknner and user55822 as they answered or commented on other question.)
There is a VLC add-on to play YouTube videos and playlists - here
Copy the URL of the youtube video or playlist (must contain "list=PL...") Start VLC, press Ctrl+N, paste the url then click on "Play" (or Alt+P then Enter), the video /playlist should start.
In 'Media', 'Save Playlist to File' and may open it later in VLC.