Video not playing
-
Since last couple of updates I can't play video in Vivaldi. The video elements simply do not display. Just now I've started Vivaldi from the Terminal, and this is the message I see:
No suitable library for HTML5 MP4 (H.264/AAC) video and MP3 audio was found, therefore only open codecs will play. For assistance on how to enable proprietary media, visit: https://help.vivaldi.com/article/html5-mp4-h-264aac-video-and-mp3-audio-support-under-linux/
When I visit the quoted link and follow the instruction to install
chromium-codecs-ffmpeg-extra
, I only get a message that the newest version of it is already installed.I'm running Vivaldi 1.14.1077.55 (Stable channel) (64-bit) on Ubuntu 17.04.
I should say that this didn't occur before. I believe one of the most recent four updates must have broken it.
Any help?
-
@tomica said in Video not playing:
Since last couple of updates I can't play video in Vivaldi. The video elements simply do not display. Just now I've started Vivaldi from the Terminal, and this is the message I see
Download and run those 2 scripts will fix the issue:
https://gwendragon.de/repo/linux/vivaldi/vivaldi-libffmpeg-install.sh
https://labs.gwendragon.de/blog/Web/Browser/Vivaldi/install-latest-widevine-for-vivaldi
-
@lamarca @Gwen-Dragon on all your links I'm getting 404 not found...
-
@tomica
Ubuntu 17.04 reached End-Of-Life almost 2 months ago and no longer receives updates.
Don't you get errors when you update?
The repositories are not updated & have been moved to http://old-releases.ubuntu.com/ubuntu/dists/.
This may have some bearing on your issue.
Maybe your chromium-codecs-ffmpeg-extra version is no longer compatible with the latest chromium version. -
@gwen-dragon OK your server seems to be back in the game. But when I download your .so script and try to run it, I get this message:
You should not use this script on ubuntu, try to install codec package chromium-codecs-ffmpeg-extra or similar package on your OS. You can override this with switch -f for forced systemwide install or -u for user install.
I'm not sure how to proceed from this point. I do have chromium-codecs-ffmpeg-extra installed, if this matters.
@CantankRus sorry, I don't understand what you're suggesting. Can you please elaborate how should I proceed? I can not update my OS currently.
-
@tomica
Support for non LTS ubuntu releases is for only 9 months which 17.04 reached on January 13, 2018.
https://www.omgubuntu.co.uk/2018/01/ubuntu-17-04-end-of-life
Soon after EOL the repositories are moved, and you can no longer update/upgrade or install new packages which makes your system insecure.You can upgrade by changing your sources to the old-releases repo as shown HERE
Upgrading can be problematic in the best case scenario though, without having to deal with major changes from 17.04 to 17.10.
If you are using the unity desktop and like it, I would suggest backing up and installing 16.04LTS which has another 3 years of support.Ubuntu has dropped the unity desktop environment in 17.10 and is now using a customized gnome-shell DE.
I switched to the lighter Xubuntu 17.10 (not a fan of gnome-shell) and will upgrade to Xubuntu 18.04 LTS when released.
https://www.ubuntu.com/info/release-end-of-life -
@cantankrus thanks for the detailed explanation. As I said, I can not update Ubuntu on my computer at this moment. All I'm looking for is to re-enable video playback in Vivaldi. This should not by any means require a complete overhaul of the OS.
-
@tomica
No, but if you are going to allow third party packages to update when your system packages can no longer update then you can expect breakage.
The version you have of chromium-codecs-ffmpeg-extra from Ubuntu 17.04 does not work with recent vivaldi versions.You can download and install the chromium-codecs-ffmpeg-extra deb for Ubuntu 17.10.
cd ~/Downloads wget http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_64.0.3282.167-0ubuntu0.17.10.1_amd64.deb
Install
sudo apt install ~/Downloads/chromium-codecs-ffmpeg-extra_64.0.3282.167-0ubuntu0.17.10.1_amd64.deb
-
This didn't resolve my issue. I have ubuntu 17.10, chromium-codecs-ffmpeg-extra version 65.0.3325.181-0ubuntu0.17.10.1, vivaldi version 1.15.1147.36. When I run the script, I get the following:
mahesh@mahesh-Dell:~/Downloads$ ./vivaldi-libffmpeg-install-1-2-5.sh -u -f You should not use this script on ubuntu, try to install codec package chromium-codecs-ffmpeg-extra or similar package on your OS. Do you wish to continue anyway? [y/N]: y For vivaldi the latest chromium-codecs-ffmpeg-extra (65.0.3325.181) is already installed for local user For vivaldi force install chromium-codecs-ffmpeg-extra (65.0.3325.181) over existing (65.0.3325.181) for local user ------------------------------------------------------------------------------ For vivaldi (Vivaldi 1.15.1147.36 ) the chromium-codecs-ffmpeg-extra(65.0.3325.181) is installed: /home/mahesh/.local/lib/vivaldi/libffmpeg.so /home/mahesh/.local/lib/vivaldi/chromium-codecs-ffmpeg-extra-version.txt Restart Vivaldi and test H.264/MP4 support via this page: http://www.quirksmode.org/html5/tests/video.html ------------------------------------------------------------------------------ mahesh@mahesh-Dell:~/Downloads$
-
@vkmaheshbhat said in Video not playing:
This didn't resolve my issue.
What is your issue?
Can you play all 3 videos @ http://www.quirksmode.org/html5/tests/video.html?All works here.
glen@Xubarty:~$ inxi -b System: Host: Xubarty Kernel: 4.13.0-39-generic x86_64 bits: 64 Desktop: Xfce 4.12.3 Distro: Ubuntu 17.10 Machine: Device: desktop Mobo: Gigabyte model: GA-78LMT-USB3 v: x.x serial: N/A BIOS: Award v: FA date: 04/23/2013 CPU: Quad core AMD FX-4300 (-MCP-) speed/max: 1417/3800 MHz Graphics: Card: NVIDIA GF116 [GeForce GTX 550 Ti] Display Server: X.Org 1.19.5 driver: nvidia Resolution: [email protected] OpenGL: renderer: GeForce GTX 550 Ti/PCIe/SSE2 version: 4.5.0 NVIDIA 384.111 Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169 Drives: HDD Total Size: 870.2GB (16.3% used) Info: Processes: 199 Uptime: 15 min Memory: 1156.8/3927.0MB Client: Shell (bash) inxi: 2.3.37 glen@Xubarty:~$ apt policy chromium-codecs-ffmpeg-extra chromium-codecs-ffmpeg-extra: Installed: 65.0.3325.181-0ubuntu0.17.10.1 Candidate: 65.0.3325.181-0ubuntu0.17.10.1 Version table: *** 65.0.3325.181-0ubuntu0.17.10.1 500 500 http://ftp.iinet.net.au/pub/ubuntu artful-updates/universe amd64 Packages 500 http://ftp.iinet.net.au/pub/ubuntu artful-security/universe amd64 Packages 100 /var/lib/dpkg/status 61.0.3163.100-0ubuntu1.1378 500 500 http://ftp.iinet.net.au/pub/ubuntu artful/universe amd64 Packages glen@Xubarty:~$ vivaldi-stable --version Vivaldi 1.15.1147.36
-
@CantankRus I can't play the H.264/MP4 video. The others work fine.
-
What is your output for?
apt policy chromium-codecs-ffmpeg-extra
and
locate libffmpeg.so
-
mahesh@mahesh-Dell:~/Downloads$ apt policy chromium-codecs-ffmpeg-extra chromium-codecs-ffmpeg-extra: Installed: 65.0.3325.181-0ubuntu0.17.10.1 Candidate: 65.0.3325.181-0ubuntu0.17.10.1 Version table: *** 65.0.3325.181-0ubuntu0.17.10.1 500 500 http://de.archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages 500 http://security.ubuntu.com/ubuntu artful-security/universe amd64 Packages 100 /var/lib/dpkg/status 61.0.3163.100-0ubuntu1.1378 500 500 http://de.archive.ubuntu.com/ubuntu artful/universe amd64 Packages
-
@CantankRus Interestingly, I can see the HTML5/mp4 videos if I run vivaldi with LD_PRELOAD option as follows:
mahesh@mahesh-Dell:~/Downloads$ LD_PRELOAD=/home/mahesh/.local/lib/vivaldi/libffmpeg.so vivaldi
-
@vkmaheshbhat said in Video not playing:
@CantankRus Interestingly, I can see the HTML5/mp4 videos if I run vivaldi with LD_PRELOAD option as follows:
mahesh@mahesh-Dell:~/Downloads$ LD_PRELOAD=/home/mahesh/.local/lib/vivaldi/libffmpeg.so vivaldi
Didn't know about LD_PRELOAD.
~/.local/lib/vivaldi/libffmpeg.so
doesn't exist on my system.Try some other tests.
LD_PRELOAD=/usr/lib/chromium-browser/libffmpeg.so vivaldi
and test H.264 using a fresh vivaldi profile...
vivaldi --user-data-dir="/tmp/vivaldi-test-profile/"
-
@vkmaheshbhat if a direct assignment works, it's likely a wrong/incompatible version gets precedence during default lookup.
See the
Vivaldi
(1.15.1147.36) start script on lines 57ff, calls tocheckffmpeg
(→ append value to$LD_PRELOAD
).
If one of the earlier paths has a matching file, the 2nd to last (in your case correct) location is not used.
Maybe a 32/64 bit discrepancy.@CantankRus the start script also sets
LD_PRELOAD
.
If nothing is found, the fallback version in$ORIGIN/lib
oflibffmpeg.so
(without proprietary codec support) is next. -
@becm
Thanks for the explanation... I don't have as deep an understanding as you.
I see what you're saying in the script @ /opt/vivaldi/vivaldi which /usr/bin/vivaldi-stable links to. -
@becm @CantankRus : I tried commenting out all the other ffmpeg.so checks and retained only
/home/mahesh/.local/lib/vivaldi/libffmpeg.so
in the script and this worked. I tried LD_PRELOAD with the chrome libffmpeg and it didn't work. Seems strange though that it works in chrome just fine. I thikn it has either something to do with 32bit-64 bit issue as @becm suggested, or some chrome version issue (upstream chrome can handle that particular version of libffmpeg correctly etc.). Anyway, for the moment, this issue at least can be solved as far as I a mconcerned. But maybe, in the next vivaldi version, vivaldi's own libffmpeg could be checked first? -