Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Opera 56 on Debian 9 doesn't play youtube videos

  • Hello,

    I just started Opera and wanted to watch YouTube videos but it doesn't work because it apparently doesn't support H.264 even though it has always been working. I searched the Internet for solutions and I got one. At least I thought that. I downloaded libffmpeg.so and created a folder named lib_extra under /usr/lib/x86_64-linux-gnu/opera and placed libffmpeg.so there.

    Now, https://www.youtube.com/html5 says that Opera supports H.264 but now it crashes whenever I start a YouTube video.

    What can I do?

    By the way: chromium-ffmpeg-codecs-extra is not in the repo of Debian 9

    Thanks for any help

  • Please read the thread on my signature. It answers all your questions. If not, allow me to answer them real quick

    1. The libffmpeg you downloaded is probably built with a different set of compiler, libraries etc than the ones on your system and that's why it fails to work (answered on the bottom of my post)
    2. Opera never supported h264 because of copyright reasons.
    3. Debian does not have chromium-ffmpeg-codecs(-extra) because debian's chrome uses ffmpeg's libraries (= the 3 libav* ones I mention) to play h264 content. Ubuntu's chromium on the other hand, uses its own libffmpeg to do the same
  • @jimunderscorep Then I use Chromium for YouTube or other H.264 stuff. Thanks for help