Video playback problems, troubleshooting and solutions on Linux.
-
@ubix Afaik, h.264 support was in Packman's libffmpeg BEFORE but was removed maybe a year, year and a half ago. That's when Ruario script for fetching working libffmpeg from Ubuntu's repo became necessary.
I doubt that Packman introduced this support back in and this explains to me why Vivaldi installed from Packman repo doesn't play h.264 even if there is libffmpeg.so in /usr/lib64/vivaldi/lib/ directory. Opera from openSUSE Non-Oss repo also has libffmpeg in /usr/lib64/opera/ that doesn't play h.264.
To make Vivaldi from Packman repo play h.264 video I copied libffmpeg.so created by Ruario's script from ubuntu repo in ~/.local/lib/vivaldi/libffmpeg.so into /usr/lib64/vivaldi/lib/
So, in my experience, Vivaldi from Vivaldi's own repo picks libffmpeg up where Ruario's script places it - in /home/username/.local/lib/vivaldi/ but Vivaldi from Packman needs Ruario's libffmpeg.so to be manually put into /usr/lib64/vivaldi/lib/. Manually putting files into /usr is not ideal, of course, but it works if one wants to have Vivaldi from Packman and maybe drop Vivaldi's own repo altogether.
-
@mib2berlin said in Video playback problems, troubleshooting and solutions on Linux.:
@ubix, the libffmpeg.so in vivaldi/lib does not work for me if I link or copy it to .local.
If I use this lib I get no h.264 support.Hmmm... that's confusing me, normally for the kernel there is no deviation if the file is a real file, soft- or hardlink
Never get a cracked system since SuSE 5.0 so I am fine how it work now.
How you will detect this? Have you done forensic analysis to verify this?
@stang said in Video playback problems, troubleshooting and solutions on Linux.:
@ubix Afaik, h.264 support was in Packman's libffmpeg BEFORE but was removed maybe a year, year and a half ago. That's when Ruario script for fetching working libffmpeg from Ubuntu's repo became necessary.
Hmmm.. that was deviating to my information.
As answer of my problem report I received from Packman team following Answer:[Solved] Add ffmpeg codecs for browsers based on Chromium.
zypper in chromium-ffmpeg-extraNow I tested this, and it was true. Only with installed chromium-ffmpeg-extra the decoding from h.264 works fine - see my test result with installed package:
html5te.st/18bdf338e34b2d0dI doubt that Packman introduced this support back in and this explains to me why Vivaldi installed from Packman repo doesn't play h.264 even if there is libffmpeg.so in /usr/lib64/vivaldi/lib/ directory. Opera from openSUSE Non-Oss repo also has libffmpeg in /usr/lib64/opera/ that doesn't play h.264.
To make Vivaldi from Packman repo play h.264 video I copied libffmpeg.so created by Ruario's script from ubuntu repo in ~/.local/lib/vivaldi/libffmpeg.so into /usr/lib64/vivaldi/lib/
This is not needed if chromium-ffmpeg-extra was installed
On openSUSE and Packman repository was activated - an easy
zypper in chromium-ffmpeg-extra
fix the problem.PS1: I tested this behavior on different PCs and the remark from Packman team was true.
PS2: chromium-ffmpeg-extra have no dependency to chromium and can be installed separately.
-
@ubix The sorcery with chromium-ffmpeg-extra started early in this thread, for me from this post on page 2: https://forum.vivaldi.net/topic/12973/video-playback-problems-troubleshooting-and-solutions-on-linux/31. There were comments like "openSuSE Packman removed the package because it is not needed for chromium anymore" and "chromium-codecs-ffmpeg-extra or any package that build with proprietary features built by 3rd party volunteer. This package considered as non-free. Not distribute able without inviting extra "smell", read: non-free license. Distro like OpenSUSE or Debian will kick this kind of package on sight."
Now I see that it's back in Packman but not installed on my system, nor was it pulled in as a dependency when I installed Packman's Vivaldi. Since everything seems to be working for me now I don't want to experiment with it any further, but its return is noted, thank you.
-
@gwen-dragon said in Video playback problems, troubleshooting and solutions on Linux.:
@ubix said in Video playback problems, troubleshooting and solutions on Linux.:
Only with installed chromium-ffmpeg-extra the decoding from h.264 works
Yes, the package chromium-ffmpeg-extra solved such problems on some distros in the past. But it was not always up-to-date, but often worked as desired.
Let me give you all information I have
rpm -qil chromium-ffmpeg-extra
Name : chromium-ffmpeg-extra
Version : 59.0.3071.104
Release : 1.7
Architecture: x86_64
Install Date: Do 28 Sep 2017 19:09:43 CEST
Group : Productivity/Networking/Web/Browsers
Size : 2618120
License : BSD-3-Clause and LGPL-2.1+
Signature : RSA/SHA1, Mi 27 Sep 2017 18:26:00 CEST, Key ID 45a1d0671abd1afb
Source RPM : chromium-ffmpeg-extra-59.0.3071.104-1.7.src.rpm
Build Date : Fr 23 Jun 2017 14:00:00 CEST
Build Host : localhost
Relocations : (not relocatable)
Packager : [email protected]
Vendor : http://packman.links2linux.de
URL : http://code.google.com/p/chromium/
Summary : Extra ffmpeg codecs for browsers based on Chromium
Description :
This package contains proprietary codecs needed for the HTML5
(audio and video tags).
Distribution: Extra / openSUSE_Tumbleweed
/usr/lib64/chromium-ffmpeg-extra
/usr/lib64/chromium-ffmpeg-extra/libffmpeg.so
/usr/share/doc/packages/chromium-ffmpeg-extra
/usr/share/doc/packages/chromium-ffmpeg-extra/AUTHORS
/usr/share/doc/packages/chromium-ffmpeg-extra/LICENSE@stang said in Video playback problems, troubleshooting and solutions on Linux.:
@ubix The sorcery with chromium-ffmpeg-extra started early in this thread, for me from this post on page 2: https://forum.vivaldi.net/topic/12973/video-playback-problems-troubleshooting-and-solutions-on-linux/31. There were comments like "openSuSE Packman removed the package because it is not needed for chromium anymore" and "chromium-codecs-ffmpeg-extra or any package that build with proprietary features built by 3rd party volunteer. This package considered as non-free. Not distribute able without inviting extra "smell", read: non-free license. Distro like OpenSUSE or Debian will kick this kind of package on sight."
Yes, I know. The comments from Packman team was all in the direction of automated build error. This was fixed after some days - since them it runs fine on my PC (more than 6 Month like my notes).
Now I see that it's back in Packman but not installed on my system, nor was it pulled in as a dependency when I installed Packman's Vivaldi. Since everything seems to be working for me now I don't want to experiment with it any further, but its return is noted, thank you.
Welcome
-
I've looking why watching video on youtube was so CPU struggling on my computer. And i found a weird things, there is a difference of hadware acceleration between Chromium and Vivaldi Snapshot
Chromium [61.0.3163.100 (Build de développement) built on Debian buster/sid, running on Debian buster/sid (64 bits)]'s result of chrome://gpu is :
Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Disabled
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only. Hardware acceleration disabled
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Hardware acceleratedAnd on Vivaldi [1.13.971.8 (Version officielle) snapshot (64 bits) based on chromium 61.0.3163.102]'s result of chrome://gpu is :
Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Disabled
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only. Hardware acceleration disabled
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Software only, hardware acceleration unavailable
WebGL: Hardware accelerated
WebGL2: Hardware acceleratedOff course it's on the same computer at the same time with system updated (debian testing)
Why ?
-
@dleon said in Video playback problems, troubleshooting and solutions on Linux.:
chrome://flags/#ignore-gpu-blacklist
It works. I now can watch a video without the fan noise. Thanks.
-
I've tried everything in this thread to get video working but I can't. Specifically, I can't get video working on twitter.com. I'm running Debian 9.2.1. Has anyone got it to work on that? Thanks for any help.
-
It worked! Thanks!
There was 1 problem that was easily fixed. When I first tried I got this error:
./vivaldi-libffmpeg-install.sh: line 211: ar: command not found
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
ERROR: Cant extract files from oxideqt-codecs-extra_1.21.5-0ubuntu0.14.04.1_amd64.debIT seems the 'ar' command isn't installed with the base OS. Installing the 'binutils' package fixed that.
-
I installed 9.2.1. I dl'ed it from https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/. I only dl'ed the file "debian-9.2.1-amd64-DVD-1.iso".
-
Anyone else lost video playback in the latest-ish version (1.13.1008.40)? Nothing's working for me on YouTube, Vimeo or Facebook (haven't tried others), and in fact YT video pages crash to that black-page-with-dead-bird thing immediately after opening.
-
@gwen-dragon said in Video playback problems, troubleshooting and solutions on Linux.:
@abm0 You need the correct chrome-codecs package on Linux. https://help.vivaldi.com/article/html5-mp4-h-264aac-video-and-mp3-audio-support-under-linux/
Had that for a while now. There's no reason it would make things stop working between yesterday and today. There's also an extension crashing today that wasn't doing anything out of the ordinary yesterday, but I've already removed that one and restarted. Same behavior with video.
-
@gwen-dragon said in Video playback problems, troubleshooting and solutions on Linux.:
@abm0 I do not know why you use a old 1.13 Stable on Linux. For such old version you need a chrome codecs for Chromium 63.x. Depends what you can find for your Linux.
Hmm... my updates are set to install immediately if they're security related and show a list weekly for everything else, but when I think about it I very rarely see that list pop up. Maybe there's something dumb happening with this updater thing. Thanks for the hint!
-
@abm0 said in Video playback problems, troubleshooting and solutions on Linux.:
Anyone else lost video playback in the latest-ish version (1.13.1008.40)? Nothing's working for me on YouTube, Vimeo or Facebook (haven't tried others), and in fact YT video pages crash to that black-page-with-dead-bird thing immediately after opening.
Yes, earlier this week I lost playback on some sites. At the beginning of this thread there's a post with a link to Ruario's "update latest codecs" script. It was posted a long time ago but the script itself keep updated. I ran it and got my videos back.
I could give you this link here but, from my own experience, it's better to learn where to find it yourself. In a few months a new Chrome engine will break codecs again and script at the beginning of this topic is easier to find than some answer on page 10.
-
I have Vivaldi 1.14.1077.45 (Stable channel) (64-bit) installed at my Debian 9. Which method should I use to get videos at udemy work? Can't there really be any out of box solutions? After all udemy works in Firefox and Brave without additional work to be done.
-
I've just installed vivaldi on my manjaro system. My problem is that even though youtube videos play without problem facebook and other pages don't. Neither chrome nor firefox have any problems playing videos on those pages. Since this seems to be a problem isolated to vivaldi I doubt it has anything to do with my OS so what can be wrong? Also when trying to play videos on FB vivaldi blows the video (that doesn't play after that) to almost full screen instead of keeping the original size like the other browsers do.
-
dont know if its related.
fresh install of mint, both scripts installed. No embedded you tube videos are working for me (cant even click on them)
actual youtube videos on youtube.com are all fine, and other videos playing fine.
just not embedded yt's (in latest snapshot)
-
@gwen-dragon said in Video playback problems, troubleshooting and solutions on Linux.:
For those having some problems with playack. Some experimental flags set can block playing videos in frames!
Please try this as a "fix":
- Open vivaldi://flags
- reset the flags
- restart Vivaldi
Is that proven to help? I had tried moving my whole .config/vivaldi-snapshot away, i.e., starting with default config, and the movies still didn't play in frames/embedded. I had to manually change (disable) #enable-site-per-process
 -
@gwen-dragon said in Video playback problems, troubleshooting and solutions on Linux.:
It helps if users changed some flags like process isolation (which had to be set some months ago after the Spectre/Meltdown issue, when theer was no fix out, to get more security).
I had to manually change (disable) #enable-site-per-process
Thats why i told you to reset the flags.
I would assume that if I delete my config, I would start with the default config (of flags) that I would get if I reset the flags. That (deleting the config) I did, and embedded videos did not play. So a reset would not have helped either. Another user had reassured that he had not changed the respective setting, so it seems to be in the default config somehow?
At least for Linux, that is. -
@gwen-dragon fwiw, the "meltdown issue" is completely unrelated
i had never at any point, ever, gone in and edited the #enable-site-per-process tag
something happened a couple of builds ago in snapshot that caused that tag to turn on.
i know 1 million percent i had never turned it on
-
I tried the recommended Vivaldi://flags reset to default settings but the problem persists. Youtube plays OK but some videos embedded in websites won't play.
Linux Mint 18.3 Vivaldi 1.14 for Linux