I have this video playback issue with my Raspberry Pi 4b, 8GB of RAM. My operating system is UBUNTU Desktop, 64 bit version.
spinn2046@UbuntuDesktop:~$ uname -a
Linux UbuntuDesktop 5.11.0-1027-raspi #30-Ubuntu SMP PREEMPT Thu Jan 13 12:52:48 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
My processor type, hardware platform and operating system are all aarch64
architecture.
I'm just a Linux beginner, so this is all I know:
spinn2046@UbuntuDesktop:~$ uname -sr
Linux 5.11.0-1027-raspi
spinn2046@UbuntuDesktop:~$ uname -v
#30-Ubuntu SMP PREEMPT Thu Jan 13 12:52:48 UTC 2022
spinn2046@UbuntuDesktop:~$ uname -a
Linux UbuntuDesktop 5.11.0-1027-raspi #30-Ubuntu SMP PREEMPT Thu Jan 13 12:52:48 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
spinn2046@UbuntuDesktop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
The YouTube videos are choppy no matter the quality.
1080p the same as 480p or even 240p, they are very choppy, to the point I cannot normally watch them. They look like 4 fps.
Movies played using VLC (1920x1080) are the same - look like 4 fps.
I've found "stats for nerds" on YouTube and there is 1768 dropped out of 3566 frames, while playing 240p video. All 4 CPU cores usage is above 80% during YouTube playback of 240p video.
Sound is smooth and normal quality.
Even mouse pointer is annoyingly slow - to the point I need to wait 4 it. I want to use my Raspberry Pi 4b to watch theatrical movies on my TV or big 21:9 computer display and at the moment it's impossible.
EDIT: Something's really improved after I've upgraded to Ubuntu 21.10 and had Firefox updated to the newest version available on snapd.
spinn2046@UbuntuDesktop:~$ uname -a
Linux UbuntuDesktop 5.13.0-1016-raspi #18-Ubuntu SMP PREEMPT Thu Jan 20 08:53:01 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
spinn2046@UbuntuDesktop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish
I've found "stats for nerds" on YouTube and there is 290 dropped out of 5150 frames, while playing 360p video.
I'd try looking H264ify the extension for chromium. https://chrome.google.com/webstore/detail/h264ify/aleakchihdccplidncghkekgioiakgal?hl=en
I find that it can help though it might be a different problem. However I agree you probably should use the Raspberry Pi OS since it is better suited for the pi.
If not, try installing mpv with: sudo apt install mpv If that works better for playing local videos, great. But remember, the number of bits doesn't matter if the OS is slow!
– Ubuntu User Feb 17 '22 at 13:25