Broken autoconnection with chromium-ffmpeg in snap version
-
A Former User last edited by A Former User
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
-
A Former User last edited by
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.
-
A Former User last edited by A Former User
@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
-
A Former User last edited by A Former User
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
-
reppich last edited by
@adasiko - Your information was a key part of my solving my webcam problem.
just to add some details for others who may be less technical.
ever volunteered the solution in a simple form.to make your webcam work in Opera browser:
(1st half of the solution:)
open your SNAPS (software) GUI
find Opera in the list of installed SW (click on it)
click on the Permissions tab
verify Opera is allowed to talk to your webcam & bonjour devices
(2nd half of the solution:)
in a terminal window enter
'snap interfaces chromium-ffmpeg'
it will give you a list, you need to patch the connections between the one listed as "opera" and the last one in the list
'snap connect opera:chromium-ffmpeg-95241 chromium-ffmpeg:chromium-ffmpeg-98516'
the numbers will be different depending on the various version you are using
*** it is okay if you use trial and error process to keep patching connections until it work.
-