Page 4 of 4

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

Posted: Thu Oct 11, 2018 6:29 am
by Gerson
Today Opera was updated to version: 56.0.3051.43 and again it does not play the videos, so with each update you have to use this command again in the terminal:

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,usr/lib/x86_64-linux-gnu/opera/,'
I already ran it and now Opera plays videos normally. You should think of a scrip attached to the update that does it automatically so you do not have to do it manually. Sometimes he forgets.

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

Posted: Thu Oct 11, 2018 7:53 am
by handy
@Gerson, there isn't somewhere else in the system where the libffmpeg.so file can be put that Opera will accept?

Somewhere that won't be overwritten by Opera updates. If no one here knows of a path, perhaps an email, or post in the Opera forum would get an answer from one of the Opera devs.

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

Posted: Thu Oct 11, 2018 9:24 am
by fehlix
handy wrote:
Thu Oct 11, 2018 7:53 am
Somewhere that won't be overwritten by Opera updates. If no one here knows of a path, perhaps an email, or post in the Opera forum would get an answer from one of the Opera devs.
Running this for opera:

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,usr/lib/x86_64-linux-gnu/opera/lib_extra/,'
will save within addtional lib_extra folder, which will not be overwritten by an update according to Opera's ffmpeg search-path defined here:
/usr/lib/x86_64-linux-gnu/opera/resources/ffmpeg_preload_config.json:

Code: Select all

[
  "lib_extra/libffmpeg.so",
  "../../../../chromium-ffmpeg/libffmpeg.so",
  "/usr/lib/chromium-browser/libffmpeg.so",
  "/usr/lib/chromium-browser/libs/libffmpeg.so"
]

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

Posted: Thu Oct 11, 2018 8:31 pm
by handy
Thanks fehlix, that should do it for him & the other Opera users. ;)

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

Posted: Sun Oct 14, 2018 10:05 pm
by colin_b
I am just wondering if the following info from this thread could be used in a sticky post that resides at the top of the software board. This would allow people to easily find the info when installing / updating browsers.

# Vivaldi 64 bit

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,opt/vivaldi/lib/,'
# Opera 64 bit

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,usr/lib/x86_64-linux-gnu/opera/,'
# Slimjet 64 bit

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,opt/slimjet/,'

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

Posted: Mon Oct 15, 2018 1:17 pm
by fehlix
colin_b wrote:
Sun Oct 14, 2018 10:05 pm
I am just wondering if the following info from this thread could be used in a sticky post that resides at the top of the software board. This would allow people to easily find the info when installing / updating browsers.
As I got today an update for vivaldi I checked again to have ffmpeg survive the update
Here for both opera and vivalid to get ffmepeg into the right folder, which will not be overwritten during an update or reinstall:

# Vivaldi 64 bit - survived reinstall or update

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,opt/vivaldi/,'
# Opera 64 bit - survives reinstall or update

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,usr/lib/x86_64-linux-gnu/opera/opera/lib_extra/,'
:puppy:

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

Posted: Mon Oct 15, 2018 1:26 pm
by Jerry3904
colin_b wrote:
Sun Oct 14, 2018 10:05 pm
I am just wondering if the following info from this thread could be used in a sticky post that resides at the top of the software board. This would allow people to easily find the info when installing / updating browsers.

# Vivaldi 64 bit

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,opt/vivaldi/lib/,'
# Opera 64 bit

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,usr/lib/x86_64-linux-gnu/opera/,'
# Slimjet 64 bit

Code: Select all

sudo -v; curl -Lr1078- vvld.in/lm64 | sudo tar xJ -C / --wildcards \*libffmpeg\.so --xform 's,.*/,opt/slimjet/,'
We can put it into Tips & Tricks.