System Information
- Browser: Opera GX Early Access 139.0.6053.63
- Chromium: 155.0.8059.85
- OS: Fedora Linux 45 (64-bit), Budgie desktop
- Architecture: x86_64
- Package: Official RPM (
opera-gx-stable)
Description
Opera GX fails to play MP4 videos encoded with H.264 video and AAC audio. The problem occurs across multiple websites and video players, with different H.264 profiles (Baseline, Main, and High).
The videos download successfully, but playback fails with the following errors in opera://media-internals:
FFmpegDemuxer failed to create a valid/supported video decoder configuration
codec: h264
FFmpegDemuxer failed to create a valid/supported audio decoder configuration
codec: aac
DEMUXER_ERROR_NO_SUPPORTED_STREAMS
This suggests that the problem lies in codec availability or decoder initialization rather than network connectivity or individual websites.
Steps to Reproduce
- Install Opera GX on Fedora Linux using the official RPM.
- Visit a website serving an H.264/AAC-encoded MP4 video.
- Attempt playback.
- Inspect the corresponding player entry in
opera://media-internals.
Playback fails with unsupported video and audio decoder errors.
Investigation and Workaround
The installation contains:
/usr/lib64/opera-gx-stable/libffmpeg.so
Its ffmpeg_preload_config.json specifies external codec library locations, but none of those locations contains a library by default.
I downloaded the NW.js FFmpeg 0.118.0 Linux x86_64 build (Chromium 155.0.8059.40) and installed its libffmpeg.so at:
/usr/lib/chromium-browser/libffmpeg.so
After completely restarting Opera GX, H.264/AAC playback worked normally. The original GX library was left unchanged.
This strongly suggests that the default Linux installation does not provide functional H.264/AAC decoding, or does not configure it correctly.
Expected Behaviour
Opera GX should support standard HTML5 video playback, including H.264 and AAC, or provide a clear and documented way to enable these codecs on Linux.
Requested Improvements
- Provide or officially support compatible H.264/AAC codec libraries, subject to licensing restrictions.
- Improve integration with legally available system codec packages.
- Document or automate external codec installation where necessary.
- Display a meaningful warning when required codecs are unavailable instead of a generic playback error.
- Maintain codec compatibility across Chromium and Opera GX updates.
Manually locating a third-party library matching the browser's Chromium version and installing it in a specific system directory is an unreasonable requirement for ordinary Linux users.
Please investigate the default Linux RPM's codec configuration and external FFmpeg loading mechanism.