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

Message
Author
User avatar
handy
Posts: 611
Joined: Mon Apr 23, 2018 2:00 pm

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

#1 Post by handy »

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?
1_MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbox
2_Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-21 - Openbox
3_Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-21 - Openbox

User avatar
handy
Posts: 611
Joined: Mon Apr 23, 2018 2:00 pm

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

#2 Post by handy »

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.)
1_MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbox
2_Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-21 - Openbox
3_Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-21 - Openbox

User avatar
Gerson
Posts: 876
Joined: Sun Nov 12, 2017 10:58 am

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

#3 Post by Gerson »

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
Posts: 611
Joined: Mon Apr 23, 2018 2:00 pm

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

#4 Post by handy »

@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!
1_MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbox
2_Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-21 - Openbox
3_Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-21 - Openbox

User avatar
handy
Posts: 611
Joined: Mon Apr 23, 2018 2:00 pm

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

#5 Post by handy »

After having installed Manjaro on my Clevo notebook, due to it being easier for me to run more cutting edge GPU drivers (& likely whatever else) than it is on a Debian based system (due to my ignorance of Debian package management). I discovered that my GPU was the model just before the ideal series of nVidia GPU's that are supported by Steam's new Proton.

I didn't like using systemd again, so I dumped Manjaro a few days ago & installed a Clonezilla backup image of MX17. After which I had quite a few files to install to bring it up to date. Including a v.2.0.* of Vivaldi. Which today was upgraded again to 2.0.1309.37 (Stable channel) (64-bit). I checked the libffmpeg.so file & found that it was still using the old version, so I upgraded it by copying the one from my /opt/pia/... directory.

So, we still have to wait for this problem to be solved by Vivaldi's Linux dev...

At least it isn't hard to do ourselves. I noticed that someone has made a post on this problem & shows a couple of new ways to do it too. :) So I copied the post & added it below (save having to ask a mod to merge threads & all that, as there is just this one small post in it):
#1 Post by rijnsma11111 » 03 Oct 2018, 05:09

I like the Vivaldi-browser very much, but in some cases it does not show video on some sites.
Solution: Install the newest libffmpeg.so file. Ór: install (evt. for the moment) Flashpeak-Slimjet and take the ffmpeg.so-file from the /opt/slimjet/ to the /opt/vivaldi/ directory. Now Vivaldi shows all. If you like you can remove Slimjet of course. :happy:
1_MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbox
2_Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-21 - Openbox
3_Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-21 - Openbox

User avatar
Buck Fankers
Posts: 744
Joined: Sat Mar 10, 2018 9:06 pm

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

#6 Post by Buck Fankers »

Off Topic
handy wrote: Tue Oct 02, 2018 8:21 pm I didn't like using systemd again, so I dumped Manjaro a few days ago & installed a Clonezilla backup image of MX17.
On Manjaro I'm using Clonezilla also. Here (MX) I love Snapshoot. ;)

User avatar
handy
Posts: 611
Joined: Mon Apr 23, 2018 2:00 pm

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

#7 Post by handy »

Buck Fankers wrote: Tue Oct 02, 2018 10:12 pm Off Topic
handy wrote: Tue Oct 02, 2018 8:21 pm I didn't like using systemd again, so I dumped Manjaro a few days ago & installed a Clonezilla backup image of MX17.
On Manjaro I'm using Clonezilla also. Here (MX) I love Snapshoot. ;)
My MX is nothing much like it was born to be, customized into an unrecognizable form. :)

I don't have Snapshoot on my system. I don't think that I use any of the wonderful antiX/MX tools. Just my Openbox/Worker/Tint2/PIA-VPN/Vivaldi custom rig. ;)
1_MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbox
2_Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-21 - Openbox
3_Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-21 - Openbox

User avatar
monsieurzik
Posts: 69
Joined: Wed Sep 14, 2016 2:43 pm

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

#8 Post by monsieurzik »

Hey,

did you try to run these scripts ?

https://gist.github.com/ruario/215c365facfe8d3c5071 For PPAPI Flash

https://help.vivaldi.com/article/html5- ... -on-linux/ for HTML 5 Proprietary Media

It worked for me on LMDE 3, so I think it will for you.
MX-21

User avatar
WaltH
Posts: 77
Joined: Sun Apr 25, 2010 12:56 am

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

#9 Post by WaltH »

For what it's worth, going to this Vivaldi help page https://help.vivaldi.com/article/html5- ... -on-linux/ and copying and running the 64-bit command in the Other Linux section seems to have solved my problem in this area. BBC News and YouTube videos now work for me in Vivaldi.

User avatar
colin_b
Posts: 452
Joined: Sun Mar 19, 2017 7:21 pm

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

#10 Post by colin_b »

WaltH wrote: Fri Oct 05, 2018 11:49 am For what it's worth, going to this Vivaldi help page https://help.vivaldi.com/article/html5- ... -on-linux/ and copying and running the 64-bit command in the Other Linux section seems to have solved my problem in this area. BBC News and YouTube videos now work for me in Vivaldi.
Great find!

Tried on BBC, Mail Online, Express. All videos finally work.

:worship:

Post Reply

Return to “Software / Configuration”