Flatpak release on flathub.org
Are you able to advise when Webcamoid will be available on flathub.org as a flatpak?
Thank you
Linux Mint 19.2 Cinnamon 64-bit Jami Webcamoid Virtual Camera
This is a pending task, I need to investigate all the Flatpak thing.
Any news on this feature yet?
@yookoala nope, PRs are very welcome :smile:
Here to +1 this issue
I started work on writing a flatpak manifest for webcamoid, I've gotten the following error. I'm not sure how to fix it
mv -f libv4lutils.so ../../release/Qt5.15.3/gpp/x86_64/bin/submodules/VideoCapture/libv4lutils.so
make[4]: Leaving directory '/run/build/webcamoid/libAvKys/Plugins/VideoCapture/src/v4lutils'
make[3]: Leaving directory '/run/build/webcamoid/libAvKys/Plugins/VideoCapture'
make[2]: Leaving directory '/run/build/webcamoid/libAvKys/Plugins'
make[1]: *** [Makefile:135: sub-Plugins-make_first-ordered] Error 2
make[1]: Leaving directory '/run/build/webcamoid/libAvKys'
make: *** [Makefile:48: sub-libAvKys-make_first-ordered] Error 2
Error: module webcamoid: Child process exited with code 2
the manifest is here https://github.com/Lunarequest/io.github.webcamoid.Webcamoid, am i missing a dependency or something?
@Lunarequest the log is incomplete, there should be some error line before of that, just give me the log in a gist.
@hipersayanX https://gist.github.com/Lunarequest/9f8585f82b4d5ad6d870e43aa9a4e254
It looks like you need to add this to the cxxflags -include /usr/include/c++/11*/limits based since gcc 11 https://stackoverflow.com/questions/4798936/numeric-limits-was-not-declared-in-this-scope-no-matching-function-for-call-t or explicitly add #include <limits> to any files that use std::numeric_limits
manually patching the file and adding #include <limits> fixed the compile issue
@Lunarequest you are reporting a bug that was fixed already in the master branch a long time ago, if you want to experiment with the Flatpak thing, do all your experiments with the master brach instead, it will be much more useful.
Okay will switch
I've gotten a working flatpak using this commit edab00879feb32311383d0d7cac5e3c946f4fced. There are some things that aren't possible like using the virtual web cam support and privilege escalation as suid binaries can't run in a flatpak
@Lunarequest it's ok, the point is to have at least a template to start working on, I will keep using AppImage and provide the flatpack as another option. Also, the next step is integrating the flatpack templates into the DeployTools.
There isn't really a need to integrate into deploy tools, flathub handles the building and publishing of flatpaks. Flathub also has https://github.com/flathub/flatpak-external-data-checker which can keep the dependencies up to date in an automated manner
There are some things that aren't possible like using the virtual web cam support and privilege escalation as suid binaries can't run in a flatpak
Can Flatseal help?

Thank you
There are some things that aren't possible like using the virtual web cam support and privilege escalation as suid binaries can't run in a flatpak
Can Flatseal help?
Thank you
No. The sandbox changes suid binaries to be regular ones. Its why we have to use zypak to override the sandbox of electron apps
I'm working on this, and as I've learned isn't possible to create self contained packages like in AppImage, but you just create a file with the build instructions, and the only way of providing 3rd-party dependencies is compiling it. I've added the flatpak build to the workflow.
At the end I've discovered that its possible to create distributable packages, a flatpak package is available in the daily build. The next step is adding it to flathub.
Thank you for creating the flatpak @hipersayanX . The latest AppImage or portable releases don't work for me in Fedora KDE. The flatpak works.
And now its also available in flathub. @pizzadude, did it throw some error message? I did tested it in Fedora 35 until the last moment of the release and it was working fine for me.
@hipersayanX This is the error the AppImage gives me. The flatpak works fine, but I think virtual web cam support won't work (not that I use that).
./webcamoid-portable-linux-9.0.0-x86_64.AppImage
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libaccess_alsa_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libaccess_concat_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libaccess_imem_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libaccess_mms_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libaccess_mtp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libaccess_realrtsp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libattachment_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libavio_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libcdda_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libdc1394_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libdtv_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libdv1394_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libdvb_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libdvdnav_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libdvdread_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libfilesystem_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libftp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libhttp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libhttps_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libidummy_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libimem_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/liblibbluray_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/liblinsys_hdsdi_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/liblinsys_sdi_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/liblive555_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libnfs_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libpulsesrc_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/librtp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libsatip_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libsdp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libsftp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libshm_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libtcp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libtimecode_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libudp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libv4l2_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libvcd_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libvdr_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access_output/libaccess_output_dummy_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access_output/libaccess_output_file_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access_output/libaccess_output_http_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access_output/libaccess_output_livehttp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access_output/libaccess_output_shout_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access_output/libaccess_output_srt_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access_output/libaccess_output_udp_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libaudio_format_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libaudiobargraph_a_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libchorus_flanger_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libcompressor_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libdolby_surround_decoder_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libequalizer_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libgain_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libheadphone_channel_mixer_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libkaraoke_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libmad_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libmono_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libnormvol_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libparam_eq_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libremap_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libsamplerate_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libscaletempo_pitch_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libscaletempo_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libsimple_channel_mixer_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libsoxr_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libspatialaudio_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libspatializer_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libspeex_resampler_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libstereo_widen_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libtospdif_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libtrivial_channel_mixer_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_filter/libugly_resampler_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_mixer/libfloat_mixer_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_mixer/libinteger_mixer_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_output/libadummy_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_output/libafile_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_output/libalsa_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_output/libamem_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_output/libpulse_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/audio_output/libsndio_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/liba52_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libadpcm_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libaes3_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libaom_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libaraw_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libaribsub_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libavcodec_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libcc_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libcdg_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libcvdsub_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libdca_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libddummy_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libdvbsub_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libedummy_plugin.so
[00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/codec/libfaad_plugin.so
This is on Fedora 36 KDE.
@pizzadude
@hipersayanX This is the error the AppImage gives me.
./webcamoid-portable-linux-9.0.0-x86_64.AppImage [00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libaccess_alsa_plugin.so [00005587ea60bf10] main libvlc error: stale plugins cache: modified /tmp/.mount_webcamu9yjUw/lib/vlc/plugins/access/libaccess_concat_plugin.so ...This is on Fedora 36 KDE.
Just that? Webcamoid should be working fine then. Those messages are because the VLC cache files were located at a different place in the build system, but it won't prevent Webcamoid for working fine.
The flatpak works fine, but I think virtual web cam support won't work (not that I use that).
Yes, for the moment its like that. I was testing OBS, and in OBS its possible to request root permissions to setup the virtual camera and it seems to be working, but in the other side it returns:
[video4linux2,v4l2 @ 0x7f6370000c80] Not a video capture device.
/dev/video4: No such device
Not sure if this a problem with v4l2loopback, or because how flatpak works, if the first I can get get through it. The other problem will be running the virtual camera installer (as long as possible) or find an alternative.
@hipersayanX Yes, but the application window doesn't show up after those messages, in the AppImage. I'm on wayland if that matters.
An older build, webcamoid 8.8.0 works.
@pizzadude
Yes, but the application window doesn't show up after those messages,
That happens because there are some bundled library that is conflicting with a system one. I debug it taking libraries in and out, one by one or in a bunch, until it launch.
Seems I forgot to close this, since Webcamoid is already in Flathub. I still need to figure out, how I can make the virtual camera work, but closing for now.
Don't know if this is really the appropriate place for this, but the flathub flatpack seems to be outdated wrt the flatpack distributed on github.
@callegar I have already sent the PR but they won't accept it and I won't remove any feature :man_shrugging:.
Added a comment to the pr kindly suggesting, as a user, that they respond to your query. This was almost 1 month ago and I do not think it resulted in any response.
@callegar Considering that isn't even possible to compile Qt6 programs with Flatpak, it was a nice experiment, but I still prefer AppImage over those alternatives, Flatpak and Snap just gives me problems instead of solutions.