Please explain to this rookie how to install codecs to make videos work
-
A Former User last edited by
MPEG-4 ASP, H.264, and H.265 no longer work on Oprea most recent update. I'm using 54.0.2952.46 on Linux Mint 18.1 (x86_64; X-Cinnamon). Prior to the last 2 updates I used Opera for almost everything. Now Facebook and Twitter along with most of YouTube are basically broken. What is the easiest way to fix this, with simple instructions please. I've tried following some of the other fixes suggested but really don't think I can do them correctly. Firefox became too bloated and slow for me but I'll go back to it if I have to. I don't want to.
-
burnout426 Volunteer last edited by burnout426
The changelog for 2952.46 has a video fix that fixes an issue with the previous build. Things should work better, but maybe it broke something more (if you were using the build before it and it worked fine).
-
A Former User last edited by A Former User
It's been like this since the update before the one to 54. I had hopes that 54 would fix it but it didn't. No animated Gifs, No videos. It sucks and I wish there was a simple way to fix it other than forcing me to use Firefox.
-
rhawk last edited by
Just got it working. I used 0.31.4-linux-x64.zip (found here:
https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/ ) and replaced the existing libffmpeg.so file in the folder /usr/lib/x86_64-linux-gnu/opera/Extract the zip file to a folder, f.e. home/user/
sudo rm /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
sudo mv /home/user/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
-
burnout426 Volunteer last edited by
@rhawk said in Please explain to this rookie how to install codecs to make videos work:
replaced the existing libffmpeg.so
I heard that messes with updates to Opera's existing libffmpeg.so. I think you're supposed to put the one you download in the lib_extra folder (which was broken in .41, but supposed to be fixed in .46).
-
A Former User last edited by
@burnout426 Should I try that or not. Also, I thought the 'sudo' was a command for use in the terminal. As I stated I'm not well versed on Linux.
-
burnout426 Volunteer last edited by burnout426
@drpostman said in Please explain to this rookie how to install codecs to make videos work:
Should I try that or not
You can try it in the lib_extra folder and if that doesn't work, you can replace the existing libffmpeg and just note the caveat mentioned above.
@drpostman said in Please explain to this rookie how to install codecs to make videos work:
I thought the 'sudo' was a command for use in the terminal.
You can copy the file to the right place with your file manager if you want instead of using the terminal. You'll probably still have to give your password to do it.
(I'm not on LInux though, so keep that in mind.)
-
A Former User last edited by
@rhawk Tried extracting it to that location but it said permission denied as well as trying to paste it to that folder. Didn't even ask for my password. Not sure what to do now.
-
burnout426 Volunteer last edited by
Do it in the terminal as rhawk did. Or, use the terminal to temporarily launch your file manager with sudo if it'll let you.
-
A Former User last edited by
@burnout426 tried it in the terminal and it said it couldn't find the file. Not sure how to launch the file manager like you suggested.
-
burnout426 Volunteer last edited by
@drpostman said in Please explain to this rookie how to install codecs to make videos work:
Not sure how to launch the file manager like you suggested.
You might be able to right-click on a folder and choose "open as root". Or, maybe
sudo nemo
in a terminal will do it. -
burnout426 Volunteer last edited by burnout426
@drpostman A little bit better directions.
Start Opera, goto, https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/ and download the 0.31.4-linux-x64.zip file. In Opera's download dialog, click the folder icon to show the file in the file manager. Right-click it and choose "Extract here". This will give you
libffmpeg.so
.Right-click in a blank spot in the file manager and choose "open as root" and type in your password. Then, right-click on
libffmpeg.so
and choose cut.Then, in the file manager, browser to "/usr/lib/x86_64-linux-gnu/opera/". Right-click in a blank spot and choose to create a new folder named
lib_extra
. Once the folder is created, go into it, right-click on a blank spot and choose paste. You should then seelibffmpeg.so
there. Then, restart Opera and goto https://youtube.com/html5 to see if h.264 support is enabled for example. Then, test out some videos. On youtube, you can right-click on a video and choose "stats for nerds" to see if it's using vp9 or h.264. Or, you can try these h.264 videos to make sure they work.You can then close the file manager.
(Tested on Linux Mint 19 Cinnamon x64)
-
A Former User last edited by
@burnout426 Thanks! I've always been leery of root commands. I'm about to update to Mint 19 so I'll make sure to remember this. Your fix worked very well. Appreciate the time and trouble.