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

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

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

#41 Post by Gerson »

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

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

#42 Post by handy »

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:
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
sunrat
Posts: 636
Joined: Mon Mar 28, 2016 9:54 pm

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

#43 Post by sunrat »

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
Developer
Posts: 10310
Joined: Wed Apr 11, 2018 5:09 pm

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

#44 Post by fehlix »

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

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

#45 Post by handy »

@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. ;)
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
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

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

#46 Post by Jerry3904 »

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: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
stevedude
Posts: 68
Joined: Sat Aug 11, 2018 8:19 pm

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

#47 Post by stevedude »

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-19.2_x64|Kernel:4.15.0-1-amd64 x86_64|Xfce 4.14.2|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
Posts: 151
Joined: Thu Apr 13, 2017 2:50 am

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

#48 Post by vamsi »

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

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

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

#49 Post by handy »

Vivaldi-stable update yesterday. I just checked to see if it upgraded the /opt/vivaldi/lib/libffmpeg.so

It did not. No surprises there.

The later (needed) version of the library that I had sitting in /opt/vivaldi/ survived (as did the same version of the file that I still have sitting in ~/local/lib/ - which was no surprise - just saying).
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

nathan2423
Posts: 217
Joined: Tue Dec 22, 2015 8:33 am

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

#50 Post by nathan2423 »

I know this thread is devoted to problems with the libffmpeg, but I just want to say that I downloaded and tested Vivaldi this past weekend and I am finding it immediately to be my new favorite browser. It is extremely customizable, the sync function works great, it seems extremely fast to me, and it has a great dark theme. I have already deleted Palemoon and my other alternate browsers in favor of Vivaldi.

I encourage everyone looking for an alternate browser to give Vivaldi a try. I didn't do anything to deal with any issue with libffmpeg.so but so far as i can tell all my videos (youtube) are running fine.

At some point I hope someone will start another thread focused on the positives of Vivaldi rather than dwelling on this (hopefully past, or at least fixable) issue.

Post Reply

Return to “Software / Configuration”