while watching videos(Youtube) it freezes for about 5-10 seconds and then continues but audio keeps running. I tried in different browsers, but no solution.
while watching videos(Youtube) it freezes for about 5-10 seconds and then continues but audio keeps running. I tried in different browsers, but no solution.
If you are watching the youtube videos within the browser and they are at a somewhat higher resolution, this is the expected behaviour. Keep in mind that none of the available web browsers on Linux support hardware accelerated video decoding, even if the underlying system supports it. Most people don't notice this because they have a CPU that is fast enough. They should notice though because this causes very high CPU usage and battery drain.
Unfortunately this is where all common Linux web browsers are lacking support compared to those on other popular operating systems.
The only way to work around that problem currently is to download the video in some way and watch it using a dedicated application that can make use of hardware accelerated video decoding, like
mpv
orvlc
.With
mpv
you can even directly copy the youtube URL from the browser window to the command line and stream the video:Do not forget the quotes. (using random video URL here for demonstration purposes). You can choose the format and codec parameters by specifying parameters like this:
Above would limit the video to a format with a vertical resolution equal or less than 240 pixels (240p). To list avialable formats use:
See the section about
--ytdl-format
in the mpv manual for more information.I've reviewed several such posts and examined many of the responses and determined that no one has yet (that I've seen) quite understood the problem.
All the fixes I've seen were very complex and assumed some change should be made to the system.
You tube videos and other videos run in a very slow speed. Videos stored on the computer also run at a very slow speed and there is no sound.
This has happened to me on a Dell Ispiron. There were no remarkable upgrades or installations no large alterations in the system prior to this happening, one day it just started happening.
THIS IS WHAT SOLVED THE PROBLEM FOR ME turn off the laptop Unplug the laptop Remove the battery put it all back together and Poof problem solved.