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

Broken autoconnection with chromium-ffmpeg in snap version

  • https://forum.snapcraft.io/t/using-chromium-ffmpeg-in-third-party-browser-snaps/6545

    $ snap list | grep opera
    opera                      58.0.3135.118              30    stable    opera-software*   -
    opera-beta                 60.0.3255.8                24    beta      opera-software*   -
    opera-developer            60.0.3254.0                37    edge      opera-software*   -
    
    $ snap interfaces chromium-ffmpeg
    Slot                                   Plug
    chromium-ffmpeg:chromium-ffmpeg-92142  -
    chromium-ffmpeg:chromium-ffmpeg-92393  -
    chromium-ffmpeg:chromium-ffmpeg-92972  -
    chromium-ffmpeg:chromium-ffmpeg-93464  -
    
    $ snap interfaces opera-developer | grep chromium-ffmpeg
    -                        opera-developer:chromium-ffmpeg-91124
    $ snap interfaces opera-beta | grep chromium-ffmpeg
    -                        opera-beta:chromium-ffmpeg-91124
    $ snap interfaces opera | grep chromium-ffmpeg
    -                          opera:chromium-ffmpeg-91124
    
  • I do not use snaps at all, so please help me understand what you need.

    First of all, the chromium ffmpeg snap provides the following versions of the codecs, which respectively match chromium's versions like so

    ffmpeg version chromium version
    ffmpeg-92142 chromium 69
    ffmpeg-92393 chromium 70
    ffmpeg-92972 chromium 71
    ffmpeg-93464 chromium 72

    Right?

    Second, you want to "connect" the proper codec version to each opera version, right? That means you will have to connect

    • opera (stable) > v58 > based on chromium 71 > ffmpeg-92972
    • opera-beta > v60 > based on chromium 73 > not available as it seems
    • opera-developer > v60 > based on chromium 73 > not available as well.

    And third, in order to make the above connections, you have to do

    • for opera (stable)
      snap connect opera:chromium-ffmpeg-92972 chromium-ffmpeg:chromium-ffmpeg-92972
    • for opera-beta
      snap connect opera-beta:chromium-ffmpeg-XXXXX chromium-ffmpeg:chromium-ffmpeg-XXXXX
    • for opera-developer
      snap connect opera-developer:chromium-ffmpeg-XXXXX chromium-ffmpeg:chromium-ffmpeg-XXXXX

    where "chromium-ffmpeg-XXXXX" is the 5-digit number that would match chromium 73, but it is not available for the time being.

  • @jimunderscorep said in Broken autoconnection with chromium-ffmpeg in snap version:

    proper codec version

    It's error in opera snap packges.

    Version Based on Chromium Interface names in snap packages (WRONG!!!) Correct names for snap packages
    Stable 71 chromium-ffmpeg-91124 chromium-ffmpeg-92972
    Beta 73 chromium-ffmpeg-91124 chromium-ffmpeg-{XXXXX for 73}
    Developer 73 chromium-ffmpeg-91124 chromium-ffmpeg-{XXXXX for 73}

    And command for connection with wrong names is

    snap connect opera:chromium-ffmpeg-91124 chromium-ffmpeg:chromium-ffmpeg-92972

  • And now it working because chromium-ffmpeg slots have been changed in snap store.

    snap interfaces chromium-ffmpeg
    Slot                                   Plug
    chromium-ffmpeg:chromium-ffmpeg-91124  opera,opera-beta,opera-developer
    chromium-ffmpeg:chromium-ffmpeg-91696  -
    chromium-ffmpeg:chromium-ffmpeg-92142  -
    chromium-ffmpeg:chromium-ffmpeg-92393  -
    chromium-ffmpeg:chromium-ffmpeg-92972  -
    chromium-ffmpeg:chromium-ffmpeg-93464  -
    
    snap interfaces opera-developer | grep chromium-ffmpeg
    chromium-ffmpeg:chromium-ffmpeg-91124  opera-developer
    
Log in to reply