Results 1 to 7 of 7

Thread: webkam

  1. #1
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default webkam

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi, I installed webkam and get this error

    [vampird@Sharwyn]:~$ webkam
    ../webkam_app.rb:2:in `require': no such file to load -- gst (LoadError)
    from ./webkam_app.rb:2
    from main.rb:1:in `require'
    from main.rb:1
    [vampird@Sharwyn]:~$

    so I have to install ruby-gstreamer-0.19.3-3.18.x86_64.rpm, webkam ask
    for ruby-glib2-0.19.3-3.18.x86_64.rpm, so I installed it too, but now I
    get this error on my laptop

    [vampird@Sharwyn]:~$ webkam
    ../webcam_video_stream.rb:127:in `add': Gst::Element expected (TypeError)
    from ./webcam_video_stream.rb:127:in `create_bin'
    from ./webcam_video_stream.rb:32:in `create_webcam_bin'
    from ./webcam_video_stream.rb:87:in `create_pipeline'
    from ./webcam_video_stream.rb:17:in `initialize'
    from ./webcam_video_stream.rb:216:in `new'
    from ./webcam_video_stream.rb:216:in `instance'
    from ./settings.rb:70:in `webcam'
    from ./webcam_video_stream.rb:211:in `instance'
    from ./main_window.rb:32:in `showEvent'
    from ./webkam_app.rb:43:in `method_missing'
    from ./webkam_app.rb:43:in `run'
    from main.rb:3
    [vampird@Sharwyn]:~$

    the curious thing, if I do the same on a PC without webcam, webkam start
    normally and say I have no webcam. Any suggestion???? Please, I don't
    want to use any gnome apps

    - --
    VampirD

    Microsoft Windows is like air conditioning
    Stops working when you open a window.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.12 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAkvXM8YACgkQJQ+0ABWtaVkAJQCdFai1jkS7Mcp0TS9M1orG+QGQ
    RbMAn0r0TdNtbBCoVGpTDp27ULOEYvSJ
    =Vcs8
    -----END PGP SIGNATURE-----

  2. #2

    Default Re: webkam

    Hello VampirD,

    Could you tell us a bit more.
    Which version of openSUSE you have?
    If you use KDE or GNOME?

    Quote Originally Posted by VampirD
    Hi, I installed webkam and get this error

    [vampird@Sharwyn]:~$ webkam
    ../webkam_app.rb:2:in `require': no such file to load -- gst (LoadError)
    from ./webkam_app.rb:2
    from main.rb:1:in `require'
    from main.rb:1
    [vampird@Sharwyn]:~$

    so I have to install ruby-gstreamer-0.19.3-3.18.x86_64.rpm, webkam ask
    for ruby-glib2-0.19.3-3.18.x86_64.rpm, so I installed it too, but now I
    get this error on my laptop
    How did you installed webkam?
    If you install a rpm all the dependencies will be installed automatically.

    Quote Originally Posted by VampirD
    the curious thing, if I do the same on a PC without webcam, webkam start
    normally and say I have no webcam. Any suggestion???? Please, I don't
    want to use any gnome apps
    Is your user added to the video group?
    If not try adding your user to the video group.

    Good luck!
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  3. #3

    Default Re: webkam

    I have the same problem. The package from the openSUSE repository has the following dependencies:
    licenses
    /bin/sh
    ruby-kde4
    /sbin/ldconfig

    I think this should be changed to require also the above libraries and the corresponding ruby packages should be included in the openSUSE repository, too.

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,654
    Blog Entries
    14

    Default Re: webkam

    I never got webkam to work. Used cheese, camorama. Never dove into it really, since I don't use the cam.
    Installing the ruby packages mentioned makes webkam do this:
    Code:
    glosscomputer@Knurpht:~> webkam 
    (13621) KSharedDataCache::Private::mapSharedMemory: Opening cache "/var/tmp/kdecache-glosscomputer/icon-cache.kcache" page size is 4096
    (13621) KSharedDataCache::Private::mapSharedMemory: Attached to cache, determining if it must be initialized
    (13621) KSharedDataCache::Private::mapSharedMemory: Cache fully initialized -- attached to memory mapping
    (13621) KSharedDataCache::Private::mapSharedMemory: 2998272 bytes available out of 10485760
    ./webcam_video_stream.rb:127:in `add': Gst::Element expected (TypeError)
            from ./webcam_video_stream.rb:127:in `create_bin'
            from ./webcam_video_stream.rb:32:in `create_webcam_bin'
            from ./webcam_video_stream.rb:87:in `create_pipeline'
            from ./webcam_video_stream.rb:17:in `initialize'
            from ./webcam_video_stream.rb:216:in `new'
            from ./webcam_video_stream.rb:216:in `instance'
            from ./settings.rb:70:in `webcam'
            from ./webcam_video_stream.rb:211:in `instance'
            from ./main_window.rb:32:in `showEvent'
            from ./webkam_app.rb:43:in `method_missing'
            from ./webkam_app.rb:43:in `run'
            from main.rb:3
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default Re: webkam

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I make it work, debugging de ruby code and installing rpm that provide
    the required files I made it work, but I think webkam works when it want

    - --
    VampirD

    Microsoft Windows is like air conditioning
    Stops working when you open a window.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.12 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAkw8Yu8ACgkQJQ+0ABWtaVkM7QCgvo5nuDSp4e13SawTDkCDCjLP
    FfUAn2ibocybepGHTvpFgTVPZA/CFCjk
    =VhFS
    -----END PGP SIGNATURE-----

  6. #6

    Default Re: webkam

    Sorry to revive this thread, but how exactly did you get webKam working in the end? I'm using OpenSuse 11.3 and get the following error when trying to run the app:

    Code:
    peter@linux-a1xh:~> webkam
    ./webcam_video_stream.rb:127:in `add': Gst::Element expected (TypeError)
            from ./webcam_video_stream.rb:127:in `create_bin'
            from ./webcam_video_stream.rb:32:in `create_webcam_bin'
            from ./webcam_video_stream.rb:87:in `create_pipeline'
            from ./webcam_video_stream.rb:17:in `initialize'
            from ./webcam_video_stream.rb:216:in `new'
            from ./webcam_video_stream.rb:216:in `instance'
            from ./settings.rb:70:in `webcam'
            from ./webcam_video_stream.rb:211:in `instance'
            from ./main_window.rb:32:in `showEvent'
            from ./webkam_app.rb:43:in `method_missing'
            from ./webkam_app.rb:43:in `run'
            from main.rb:3
    Has anyone got any hints as to how to get it to work? I've checked and I'm definitely add to the 'video' group.

    Thanks in advance.

  7. #7

    Default Re: webkam

    Same here! Used the Yast2 install program, and used the Opensuse repositories. Installed via yast, and it installed 2 dependencies. I get exactly the same error. This is a fresh install, so suspect the package is bad, and missing files/libraries, etc.

    Using Opensuse 11.3, on a Dell XPS M1530. Using KDE, and I AM a member of the video group.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •