Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Vivaldi & H.264/MP4 (MP3 too I think) & libffmpeg.so

Post Reply
Message
Author
User avatar
handy
Forum Novice
Forum  Novice
Posts: 72
Joined: Mon Apr 23, 2018 2:00 pm

Vivaldi & H.264/MP4 (MP3 too I think) & libffmpeg.so

#1 Post by handy » Tue Jun 05, 2018 4:27 am

It would seem that the Vivaldi Linux dev is working on a fix so that Vivaldi will use the "correct" version of libffmpeg.so .

It would seem (from my limited understanding) that not having the version of libffmpeg.so that matches your Vivaldi install can be the cause of proprietary video/audio formats not functioning.

Here is the last post from this recent thread on this topic, found in the Vivaldi forum:
Gwen-Dragon MODERATOR 25 days ago
Our Linux dev has been working on a fix to always use the correct libffmpeg version for Vivaldi.
I hope next Snapshot will give you a chance to test this.
For anyone interested, here is a link to the start of the thread:

https://forum.vivaldi.net/topic/25805/video-not-playing

So, it looks like those of us that use Vivaldi-stable should have a fix for this problem before too much longer. :happy:

[edit:] I just had a look at the snapshot 1.16.1170.3 release notes (30-April) & there is not mention of this bug, so hopefully we'll see something in the next snapshot?
Clevo N'book (2014): P150SM-A
CPU: i7-4810MQ (Haswell) Speed: 2800/3800 MHz
RAM: 16 GiB 1600 MHz DDR3
GPU-1: i915
GPU-2: NVIDIA GK104M [GeForce GTX 880M] vRAM: 8GB 2500 Mhz DDR5
Storage: TOSHIBA 931.51 GiB. HGST 931.51 GiB. Crucial 223.57 GiB (M.2 SSD)

User avatar
handy
Forum Novice
Forum  Novice
Posts: 72
Joined: Mon Apr 23, 2018 2:00 pm

Re: Vivaldi & H.264/MP4 (MP3 too I think) & libffmpeg.so

#2 Post by handy » Tue Jun 05, 2018 6:34 am

I did a search for the libffmpeg.so file & found the following:

Code: Select all

[handy@madmx ~/Downloads]$ locate libffmpeg.so
/opt/pia/nwjs/32/lib/libffmpeg.so
/opt/pia/nwjs/64/lib/libffmpeg.so
/opt/vivaldi/lib/libffmpeg.so
So I looked at the size of each of these files (my Vivaldi is 64bit) & saw that the PIA(-VPN) 64bit file was much bigger. So I renamed the Vivaldi one & copied the PIA one in beside it. Restarted Vivaldi & went to youtube, where (after giving youtube some permissions via the uMatrix add-on) I could watch youtube vids. :number1: (youtube-dl might get a bit of a rest now... ;) )

I don't know what version of libffmpeg.so the PIA installation script has installed on my system? The size of the file is 2,837,856 bytes, as opposed to the file that Vivaldi installed for itself in /opt/... which is 1,477,176 bytes. So PIA is obviously using a later more capable library.

It shouldn't be too hard for the Vivaldi Linux dev to sort this one out. (Sorry I can't tell you what version of the libffmpeg.so that I'm using, that works is, I just don't know how to do that in this situation.)
Clevo N'book (2014): P150SM-A
CPU: i7-4810MQ (Haswell) Speed: 2800/3800 MHz
RAM: 16 GiB 1600 MHz DDR3
GPU-1: i915
GPU-2: NVIDIA GK104M [GeForce GTX 880M] vRAM: 8GB 2500 Mhz DDR5
Storage: TOSHIBA 931.51 GiB. HGST 931.51 GiB. Crucial 223.57 GiB (M.2 SSD)

User avatar
Gerson
Forum Regular
Forum Regular
Posts: 227
Joined: Sun Nov 12, 2017 10:58 am

Re: Vivaldi & H.264/MP4 (MP3 too I think) & libffmpeg.so

#3 Post by Gerson » Tue Jun 05, 2018 7:13 am

I did it this way
I'm going to: https://gist.github.com/ruario/bec42d156d30affef655
I copied the 133 lines of the file in Mousepad or Featherpas and name it:
latest-proprietary-media.sh
Then in a terminal I execute it.
$ sh latest-proprietary-media.sh
I just did it that way and it works.
No todos ignoramos las mismas cosas. :confused:

User avatar
handy
Forum Novice
Forum  Novice
Posts: 72
Joined: Mon Apr 23, 2018 2:00 pm

Re: Vivaldi & H.264/MP4 (MP3 too I think) & libffmpeg.so

#4 Post by handy » Tue Jun 05, 2018 7:39 am

@Gerson, thanks. :) I had read your thread & looked at that github page. I was just poking around in my system & found that I had two different versions of libffmpeg.so , so... ;)

I expect that you are using the Ubuntu 16.04 version of libffmpeg.so . I had gone to the Ubuntu repos & downloaded the latest version, but got told I needed to upgrade libc6:

Code: Select all

chromium-codecs-ffmpeg-extra : Depends: libc6 (>= 2.27) but 2.24-11+deb9u3 is to be installed
So when I go back & read through the code that you used from the github page, I now know what he was talking about in the comment in his script:

Code: Select all

# Work out the VERSION
# Limit the UBUNTU version to 16.04 to avoid the glibc bump in 18.04, so that this works for older distros
Which also means that the version of libffmpeg.so that Vivaldi installed is pretty old!
Clevo N'book (2014): P150SM-A
CPU: i7-4810MQ (Haswell) Speed: 2800/3800 MHz
RAM: 16 GiB 1600 MHz DDR3
GPU-1: i915
GPU-2: NVIDIA GK104M [GeForce GTX 880M] vRAM: 8GB 2500 Mhz DDR5
Storage: TOSHIBA 931.51 GiB. HGST 931.51 GiB. Crucial 223.57 GiB (M.2 SSD)

Post Reply

Return to “Software / Configuration”