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

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

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

#41 Post by Gerson » Thu Oct 18, 2018 10:06 am

Thanks, @fehlix with this command if it works perfect in Opera x64:

Code: Select all

sudo -v; curl -L vvld.in/lm64 |tail -c+1079 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform  's,.*/,usr/lib/x86_64-linux-gnu/opera/lib_extra/,'
No todos ignoramos las mismas cosas. :confused:

User avatar
handy
Forum Regular
Forum Regular
Posts: 127
Joined: Mon Apr 23, 2018 2:00 pm

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

#42 Post by handy » Fri Oct 19, 2018 12:20 am

I just upgraded Vivaldi & during the process I watched it replace the /opt/vivaldi/lib/libffmpeg.so file that was 3,214,888 bytes in size with its default file that is ~50% of the size.

So I copied back in the large file from my ~/.local/lib/vivaldi directory & then ran the following command on it (which should make the file unchangeable):

Code: Select all

 [handy@madmx ~]$ sudo chattr +i /opt/vivaldi/lib/libffmpeg.so
I'm a patient man. I'll wait for the next Vivaldi upgrade & see if it proceeds as it should - all the way to completion, without complaining that it can't replace the libffmpeg.so file with its inferior default version... :crossfingers:
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)

sunrat
Forum Regular
Forum Regular
Posts: 223
Joined: Mon Mar 28, 2016 9:54 pm

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

#43 Post by sunrat » Fri Oct 19, 2018 12:31 am

The command earlier in the thread put libffmpeg.so in ~/.local/vivaldi/ . Should not that override the one in /opt and also not be overwritten by an upgrade?

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2019
Joined: Wed Apr 11, 2018 5:09 pm

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

#44 Post by fehlix » Fri Oct 19, 2018 6:54 am

handy wrote:
Fri Oct 19, 2018 12:20 am
I just upgraded Vivaldi & during the process I watched it replace the /opt/vivaldi/lib/libffmpeg.so file that was 3,214,888 bytes in size with its default file that is ~50% of the size.

So I copied back in the large file from my ~/.local/lib/vivaldi directory & then ran the following command on it (which should make the file unchangeable):

Code: Select all

 [handy@madmx ~]$ sudo chattr +i /opt/vivaldi/lib/libffmpeg.so
I'm a patient man. I'll wait for the next Vivaldi upgrade & see if it proceeds as it should - all the way to completion, without complaining that it can't replace the libffmpeg.so file with its inferior default version... :crossfingers:
@handy, the file /opt/vivaldi/lib/libffmpeg.so is part of the package. So apt will try to replace it, during upgrade. If it cannot do so, the installer will fail.
Within last incarnations of the ffmpeg downloader, I have choosen already one of the other system wide locations , which will be searched first by vivaldi, which is /opt/vivaldi/libffmpeg.so and as this is not part of the package and hence will not conflicting with the upgrade.

Vivaldi 64 bit terminal command:

Code: Select all

sudo -v; curl -L vvld.in/lm64 |tail -c+1079 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,opt/vivaldi/,'
Opera 64 bit terminal command:

Code: Select all

sudo -v; curl -L vvld.in/lm64 |tail -c+1079 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform  's,.*/,usr/lib/x86_64-linux-gnu/opera/lib_extra/,'
Slimjet 64 bit terminal command:

Code: Select all

sudo -v; curl -L vvld.in/lm64 |tail -c+1079 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,opt/slimjet/,'
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
handy
Forum Regular
Forum Regular
Posts: 127
Joined: Mon Apr 23, 2018 2:00 pm

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

#45 Post by handy » Fri Oct 19, 2018 7:11 am

@sunrat, yes, I am aware of the other location. Actually, I copied out the "larger" later version of the libffmpeg.so file from ~/.local/lib/vivaldi/ which is apparently another valid location for the file to be read from. :)

I just wanted to try the chattr +i command on the file living in the default location for the fun of it. :)

Which as @fehlix tells me in the post following yours, won't work. But fehlix says that if I put the file into the /opt/vivaldi directory, that it will, so I'll give that a shot too.

Thanks to you both for your replies. ;)
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
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22649
Joined: Wed Jul 19, 2006 6:13 am

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

#46 Post by Jerry3904 » Mon Oct 22, 2018 5:15 am

I created a new Wiki entry for Opera tips and tricks that for the moment has only this single trick:

https://mxlinux.org/wiki/applications/o ... and-tricks

Since I use Opera as default on most of my installs these days, now that they have the bookmark experience vastly improved, I hope to see that Wiki entry expand in the future.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
stevedude
Forum Novice
Forum  Novice
Posts: 30
Joined: Sat Aug 11, 2018 8:19 pm

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

#47 Post by stevedude » Mon Oct 22, 2018 10:11 am

I created a new Wiki entry for Opera tips and tricks...
I love Opera myself and I've been looking all over on the Internet for something like this to get Opera to work properly. ~Thanks
OS:MX-17.1_x64|Kernel:4.15.0-1-amd64 x86_64|Xfce 4.12.3|Mobo:TUF X470-PLUS|CPU AMD Ryzen 5, 2600 MHz
Graphics:GeForce GTX 1060,driver:nvidia v:390.77|Audio:NVIDIA snd_hda_intel
Netwrk:Realtek RTL8111|Seagate:ST2000DM006, 1.82 TB|Mem:15.6 GB

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 444
Joined: Thu Apr 13, 2017 2:50 am

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

#48 Post by vamsi » Mon Oct 22, 2018 10:57 am

Sorry for hijacking the thread i have issue with html5 videos in chrome and is there any fix when i turn off hardware acceleration it works fine but the video is bit laggy i have same issue with GOOGLE CHROME & CHROMIUM Firefox works fine and in windows also chrome works fine when i test this website https://www.quirksmode.org/html5/tests/video.html chrome lags a lot and when i test apple official website also i have same issue is there any possible fix.
Thanks

Post Reply

Return to “Software / Configuration”