Page 4 of 6

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.

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

Posted: Thu Oct 18, 2018 8:04 am
by Gerson
Today with the new update of Opera this command no longer works, with the previous updates I had no problem.

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/,'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0xz: (stdin): File format not recognized
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
  3 1077k    3 38606    0     0  15454      0  0:01:11  0:00:02  0:01:09 42895
curl: (23) Failed writing body (2162 != 8000)

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

Posted: Thu Oct 18, 2018 8:50 am
by Gerson
In replacement of Opera install Chromium and have the same problem, does not play videos from the facebook page. Youtube and other pages yes.

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

Posted: Thu Oct 18, 2018 9:34 am
by fehlix
Gerson wrote:
Thu Oct 18, 2018 8:04 am
Today with the new update of Opera this command no longer works, with the previous updates I had no problem.
Try those:
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/,'