northgrove
Posts: 12
Joined: Mon Aug 28, 2017 6:48 pm

Re: Getting h.264 support in Opera

Tue Sep 19, 2017 8:49 pm

Vivaldi is in kind of the same situation here, so here's the instructions for that one, confirmed to work to enable h.264 with at least Vivaldi 1.11 although maybe requiring re-application if there's a Vivaldi update, and with no guarantees for the future.

  1. Close Vivaldi.
  2. I felt like being bold so I got the the latest* ffmpeg build from here: https://github.com/iteufel/nwjs-ffmpeg- ... t/releases
  3. Unzipped it so the contained libffmpeg.so file got the complete path ~/Downloads/0.25.2-linux-x64/libffmpeg.so.
  4. In Terminal:

    Code: Select all

    cd /usr/share/vivaldi-stable/lib
    sudo mv libffmpeg.so libffmpeg.so.orig
    sudo cp ~/Downloads/0.25.2-linux-x64/libffmpeg.so .
* In case there are problems, for posterity that was 0.25.2-linux-x64.zip at the time.

Now start Vivaldi again. To verify, try e.g. a "gifv" at imgur that is actually using an underlying mp4 stream like this one: https://i.imgur.com/q5Va5RF.gifv. If everything's OK, you should now see a behind the scenes look of a Game of Thrones swordfight!

mclang
Posts: 45
Joined: Mon Sep 18, 2017 8:50 pm

Re: Getting h.264 support in Opera

Thu Nov 30, 2017 9:16 am

For some reason, Flash stopped working with Vivaldi.

I have never liked flash (who does), so it was really nice to finally found a workaround that works also with Vivaldi.

Tested with Vivaldi 1.13.1008.32 (Stable channel) (64-bit) and libffmpeg.so version 0.26.5-linux-x64.

Thanks!

Toby4213
Posts: 1
Joined: Sun Dec 17, 2017 10:39 pm

Re: Getting h.264 support in Opera

Sun Dec 17, 2017 10:48 pm

mintspider wrote:
Sat May 20, 2017 8:08 pm
<working tutorial here>
Thank you so much! I searched everywhere and now I found the solution! I was using Opera in Linux Mint 18.1 without any problems, then I got a new notebook and decided to upgrade to LM 18.3 and suddenly not every youtube video would play and twitch wouldn't work at all.
A little hint for other Linux Mint users, for me the path for opera was: /usr/lib/x86_64-linux-gnu/opera/

User avatar
mintspider
Posts: 68
Joined: Mon Jan 02, 2017 5:19 am
Location: Lexington, Kentucky, USA
Contact: Website Facebook Google+ Twitter YouTube

Re: Getting h.264 support in Opera

Sat May 05, 2018 10:19 pm

Toby4213 wrote:
Sun Dec 17, 2017 10:48 pm
Thank you so much! I searched everywhere and now I found the solution! I was using Opera in Linux Mint 18.1 without any problems, then I got a new notebook and decided to upgrade to LM 18.3 and suddenly not every youtube video would play and twitch wouldn't work at all.
A little hint for other Linux Mint users, for me the path for opera was: /usr/lib/x86_64-linux-gnu/opera/
You are most welcome.
Must admit that since Firefox improved I went back to using it, and hardly use Opera these days.
Scotsman in Kentucky.
Running Solus Budgie on 2 Alienware M15x laptops.
http://thespider.oric.org
http://mintspider.blogspot.com

sunnyflunk
Development Team
Posts: 2967
Joined: Sun Mar 13, 2016 11:35 pm

Re: Getting h.264 support in Opera

Sun May 06, 2018 3:31 am

Note that a proper ffmpeg.so is built with support and now overrides the one included with opera. So h264 should be available out of the box

User avatar
mintspider
Posts: 68
Joined: Mon Jan 02, 2017 5:19 am
Location: Lexington, Kentucky, USA
Contact: Website Facebook Google+ Twitter YouTube

Re: Getting h.264 support in Opera

Sun May 06, 2018 10:50 am

sunnyflunk wrote:
Sun May 06, 2018 3:31 am
Note that a proper ffmpeg.so is built with support and now overrides the one included with opera. So h264 should be available out of the box
That is excellent news!
Scotsman in Kentucky.
Running Solus Budgie on 2 Alienware M15x laptops.
http://thespider.oric.org
http://mintspider.blogspot.com

mclang
Posts: 45
Joined: Mon Sep 18, 2017 8:50 pm

Re: Getting h.264 support in Opera

Sun May 06, 2018 8:12 pm

Hmm... with Vivaldi I just lost playback again.

This same fix, i.e downloading and replacing the library, worked as before. I even made a script to automate the process:
https://gist.github.com/mclang/a4fd3c48 ... cd15afb6e4

Return to “Tutorials”