H.264 support for Opera and openSUSE

I had same issue on Fedora 27, so I followed the instructions provided in link by @doug0 and tried out libffmpeg prebuilt with proprietary codecs. Here is essentials:

  • go to https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases
  • copy link to latest release (in my case 0.26.6)
  • close Opera browser
  • open terminal, and enter the following:

    $ curl -L -O https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.26.6/0.26.6-linux-x64.zip
    $ unzip 0.26.6-linux-x64.zip
    $ sudo mv libffmpeg.so /usr/lib64/libffmpeg_h264.so
    $ sudo mv /usr/lib64/opera/libffmpeg.so /usr/lib64/opera/libffmpeg.so.orig
    $ sudo ln -s /usr/lib64/libffmpeg_h264.so /usr/lib64/opera/libffmpeg.so
    
  • verify that Opera now supports H.264 at https://html5test.com