Can you summarize for me Opera 25 under Linux: With Flash and HTML5 videos?
-
avl Opera last edited by
The version of libffmpegsumo.so that Opera distributes does not include support for H264 video, the most popular codec for videos on the web (but it can play webm videos). This is on purpose: unlike Google, Opera does not have the necessary licenses to redistribute those codecs, nor the funds to acquire them.
On Windows and Mac Opera uses the system libraries to display H264 videos, so that it doesn't have to redistribute the code itself.
On Linux there are no real 'system' libraries that are guaranteed to exist on all distros, but you can get the same result by installing the ffmpeg libraries on your system with H264 and MP3 enabled. You need ffmpeg 2.3 installed to use it with Opera, or use your distro's packages if they are available (not available on Debian-based distros, although this is expected to change in the future). Opera can't use versions of ffmpeg older than 2.3, nor the libav fork that Debian-based distros supply, because their interfaces are not binary compatible.
To compile ffmpeg yourself (the only supported way of getting H264 video in Opera developer for Linux at this moment), you can use these instructions (after downloading from http://ffmpeg.org/download.html):
$ ./configure --enable-shared --build-suffix=-ffmpeg $ make $ sudo make install $ sudo ldconfig
This should give you the ffmpeg libraries installed on your system, including H264 and MP3 support.
-
A Former User last edited by
What’s strange is that both https://html5test.com/ and https://www.youtube.com/html5 report that proprietary codecs are supported (only with the latest build of Opera 25). I assumed Opera now used the system’s codecs (like Firefox does).
-
A Former User last edited by
There is a PPA for PepperFlash: https://launchpad.net/~skunk/+archive/ubuntu/pepper-flash
-
axxl last edited by
Thanks to you all. Your posts helped me and I could find some further information in the net.
So...
-
That Opera 25 only supports pepper (sgunhouse) is new to me. Former versions worked AFAIK (which doesn't say much...). I'll try the solution from joakimwallden or seek for some other solution. I will not install Chrome.
-
Yeah, as avl said "most popular codec" where Opera is not able to redistribute. Where the provided solution may contain parts of GPL licensed code? Gosh, licenses...
-
-
avl Opera last edited by
What’s strange is that both https://html5test.com/ and https://www.youtube.com/html5 report that proprietary codecs are supported (only with the latest build of Opera 25). I assumed Opera now used the system’s codecs (like Firefox does).
There's currently a bug (DNA-25004) which means Opera reports that it supports proprietary video formats even when the system codecs (from ffmpeg) cannot be loaded and it has to use its own. If you want to use the proprietary codecs, install ffmpeg using the instructions I gave earlier in this thread.
In any case a build coming soon will include a fix for the incorrect support entry when appropriate system libraries cannot be found.
-
avl Opera last edited by
- Yeah, as avl said "most popular codec" where Opera is not able to redistribute. Where the provided solution may contain parts of GPL licensed code? Gosh, licenses...
GPL code is not the problem, and this is not related to open source vs. closed source software. The problem is that any company that distributes a product that decodes H264 video (it doesn't matter if that product is itself open source or closed source) needs to pay royalties to MPEG LA.
-
A Former User last edited by
Thanks avl.
Can you comment on the issue with VP9 on YouTube?
Opera 25.0.1597.0 on Ubuntu 14.04 does not play VP9-videos on YouTube, while Opera 25.0.1597.0 on Windows 7 (64-bit) does, as does Chrome on Ubuntu.
Opera on Ubuntu plays WebM with VP9, but not VP9 on YouTube. Can you confirm the issue?
Thanks.
-
kapsi last edited by
Works for me:
That's a Youtube video on Ubuntu 14.04 and I did compiled ffmpeg as described above.
-
A Former User last edited by
VP9 should not require any actions by the user to work. It’s a free codec.
-
frankgoji last edited by
After compiling and installing ffmpeg on my computer, are there any additional libraries that I need to change in order for Opera to be able to play html5 videos? Do I need to change libffmpegsumo.so? Or should that be enough?
Even though I installed ffmpeg (v. 2.4.1), Opera cannot play h.264 videos. Does this mean I should install an earlier version of ffmpeg, like v. 2.3?
-
ruario last edited by
@frankgoji: Yes the version is very important. It must be the same version as that which is bundled with Opera. Current Opera is using version 2.3 of ffmepg. I have expanded on AVL's comment above
-
ruario last edited by
One other nice thing about compiling your own FFmpeg. You can watch 60FPS videos in High Definition on YouTube
-
Deleted User last edited by
Hello,
Is Opera considering supporting libav also?
I'm just asking because in distributions like Ubuntu that have switch to libav, it wouldn't require users to install and compile ffmpeg.
-
A Former User last edited by
Ubuntu 15.04 has FFmpeg: https://launchpad.net/ubuntu/vivid/+source/ffmpeg
-
Deleted User last edited by
For Ubuntu 14.10 this PPA repo:
sudo apt-add-repository ppa:samrog131/ppa sudo apt-get update sudo apt-get install ffmpeg-real sudo ln -sf /opt/ffmpeg/bin/ffmpeg /usr/bin/ffmpeg
Does not pla some MP4 videos correctly (sound speed to slow!).