Package Details: webcamoid 9.2.3-1

Git Clone URL: https://aur.archlinux.org/webcamoid.git (read-only, click to copy)
Package Base: webcamoid
Description: Webcamoid is a full featured webcam capture application.
Upstream URL: https://webcamoid.github.io/
Licenses: GPL
Conflicts: webcamoid
Provides: webcamoid
Submitter: hipersayan_x
Maintainer: hipersayan_x
Last Packager: hipersayan_x
Votes: 54
Popularity: 0.30
First Submitted: 2014-12-09 01:29 (UTC)
Last Updated: 2024-10-10 18:32 (UTC)

Dependencies (35)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

hipersayan_x commented on 2024-10-02 17:29 (UTC)

Oh, I did not know, I will wait until its available in the repositories and fix it.

papavlos commented on 2024-10-02 16:50 (UTC)

The official vlc in "extra" repo is still of version 3.x (3.0.21-6) and webcamoid builds properly, Are you sure you have installed the version 4.0 of vlc? It is available only in AUR as vlc-git. And it is apparently not backward compatible which is illustrated by errors in my previous post. If so, you should exclude "vlc-git" from dependencies, or check if the version 3.x is installed, not 4.x.

hipersayan_x commented on 2024-10-02 16:05 (UTC)

I have updated my system, did checked and its building fine for me without any change. papavlos maybe your system was not fully updated when building the package?

hipersayan_x commented on 2024-10-02 13:42 (UTC)

Ok, I usually do not update my system before a release that's why I did not have the build error, will check.

papavlos commented on 2024-10-02 13:01 (UTC)

I know the reason: I have installed in my system the vlc-git 4.0.0 (Qt6 based). instead of vlc 3.0.21 (Qt5 based). That's why all errors were due to incompatibility with vlc headers... After downgrading to vlc 3.x - webcamoid was built and installed without further issues. Case closed.

papavlos commented on 2024-10-02 10:52 (UTC) (edited on 2024-10-02 12:50 (UTC) by papavlos)

@hipersayan_x I have more carefully reviewed output of makepkg -sL command. I have found some errors. Only a few of them because of 5000 limitation:


/home/pawel/webcamoid/src/webcamoid-9.2.0/libAvKys/Plugins/MultiSrc/src/vlc/src/mediasourcevlc.cpp: In constructor 'MediaSourceVLC::MediaSourceVLC(QObject*)':
/home/pawel/webcamoid/src/webcamoid-9.2.0/libAvKys/Plugins/MultiSrc/src/vlc/src/mediasourcevlc.cpp:189:29: error: 'libvlc_MediaPlayerEndReached' was not declared in this scope; did you mean 'libvlc_MediaPlayerESDeleted'?
  189 |                             libvlc_MediaPlayerEndReached,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             libvlc_MediaPlayerESDeleted
/home/pawel/webcamoid/src/webcamoid-9.2.0/libAvKys/Plugins/MultiSrc/src/vlc/src/mediasourcevlc.cpp: In member function 'virtual void MediaSourceVLC::seek(qint64, MediaSource::SeekPosition)':
/home/pawel/webcamoid/src/webcamoid-9.2.0/libAvKys/Plugins/MultiSrc/src/vlc/src/mediasourcevlc.cpp:376:37: error: too few arguments to function 'int libvlc_media_player_set_position(libvlc_media_player_t*, double, bool)'
  376 |     libvlc_media_player_set_position(this->d->m_mediaPlayer,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  377 |                                      float(pts) / float(duration));
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/vlc/vlc.h:43,
                 from /home/pawel/webcamoid/src/webcamoid-9.2.0/libAvKys/Plugins/MultiSrc/src/vlc/src/mediasourcevlc.cpp:25:
/usr/include/vlc/libvlc_media_player.h:1276:16: note: declared here
 1276 | LIBVLC_API int libvlc_media_player_set_position( libvlc_media_player_t *p_mi,
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pawel/webcamoid/src/webcamoid-9.2.0/libAvKys/Plugins/MultiSrc/src/vlc/src/mediasourcevlc.cpp: In member function 'virtual void MediaSourceVLC::setMedia(const QString&)':
/home/pawel/webcamoid/src/webcamoid-9.2.0/libAvKys/Plugins/MultiSrc/src/vlc/src/mediasourcevlc.cpp:397:59: error: cannot convert 'libvlc_instance_t*' to 'const char*'
  397 |                 vlcMedia = libvlc_media_new_path(this->d->m_vlcInstance,
      |                                                  ~~~~~~~~~^~~~~~~~~~~~~
      |                                                           |
      |                                                           libvlc_instance_t*
In file included from /usr/include/vlc/vlc.h:42:
/usr/include/vlc/libvlc_media.h:297:62: note:   initializing argument 1 of 'libvlc_media_t* libvlc_media_new_path(const char*)'
  297 | LIBVLC_API libvlc_media_t *libvlc_media_new_path(const char *path);
      |                                                  ~~~~~~~~~~~~^~~~
/home/pawel/webcamoid/src/webcamoid-9.2.0/libAvKys/Plugins/MultiSrc/src/vlc/src/mediasourcevlc.cpp:400:63: error: cannot convert 'libvlc_instance_t*' to 'const char*'
  400 |                 vlcMedia = libvlc_media_new_location(this->d->m_vlcInstance,
      |                                                      ~~~~~~~~~^~~~~~~~~~~~~
      |                                                               |
      |                                                               libvlc_instance_t*
/usr/include/vlc/libvlc_media.h:287:67: note:   initializing argument 1 of 'libvlc_media_t* libvlc_media_new_location(const char*)'
  287 | LIBVLC_API libvlc_media_t *libvlc_media_new_location(const char * psz_mrl);
      |                                                      ~~~~~~~~~~~~~^~~~~~~

hipersayan_x commented on 2024-10-01 21:38 (UTC)

@papavlos, I need the full error message.

papavlos commented on 2024-10-01 21:12 (UTC) (edited on 2024-10-01 21:20 (UTC) by papavlos)

building package v9.2.0-1 fails as follows:

[ 37%] Built target VideoCapture_v4lutils 
[ 37%] Built target VideoCapture_v4l2sys
[ 37%] Built target VideoCapture_pipewire
make: *** [Makefile:136: all] Error 2
make: Leaving directory /home/pawel/webcamoid/src/webcamoid-9.2.0/build
==> ERROR: A failure occurred in build().
    Aborting...

callegar commented on 2024-05-08 14:37 (UTC)

I am getting a blank screen on one of the machines on which I am trying this package. However I have two more laptops on which the package is working as intended.

On the host where the package gives a blank screen, the flatpak (currently at version 9 of webcamoid and relying on deprecated flatpak frameworks) works fine.

Hence, I suspect this is no hardware issue, but a dependency problem: the packages on the machine where the package fails are probably not perfectly aligned with the packages on the other machines where it works. So there may be something that should be installed, that I do not have and that is not listed as a dependency.

Anyone else experiencing something similar? Any clue.

As an additional issue, on all the machines I have, selecting "screen" as the source causes the application to freeze (but this is probably an application bug).

HurricanePootis commented on 2022-08-26 02:40 (UTC)

This package fails to build without ffmpeg4.4.

Please change ffmpeg to ffmpeg4.4 and add export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig' before you call CMake.

It should look like this:

build() {
    cd "$srcdir/${pkgname}-${pkgver}"
    export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
    cmake \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        .
    make $MAKEFLAGS
}