Announcement

Collapse
No announcement yet.

Webcam working, but not in Kopete

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Webcam working, but not in Kopete

    I made a nice discovery today.

    Kdenlive can capture video from 3 sources - firewire, vide4linux and screencapture.

    I just had to click around a little and to my surprise, when I clicked play with the video4linux choice, my webcam came on with a perfect picture. After a crash and a restart, though the picture was not as perfect, but still recognizeable. It now looks oversaturated and posterized.

    So far, in Kopete, all I get is green stripes and no way to choose anything like video4linux. Here are the settings in Kdenlive:

    Video device: /dev/video0
    Format: video4linux2
    Image size: 320x240
    Frame rate: 15
    Audio device: /dev/dsp
    Format: oss
    Capture params: -f oss -i /dev/dsp -f video4linux2 -s 320x240 -r 15 -i /dev/video0
    Encoding params: -qscale 1 -ab 224k

    Not sure if the sound will work as I did not test with a mic connected.

    BUT - I am trying to find a way to tell Kopete to use the same device and parameters as Kdenlive do. How do I do that?
    Regards,
    Oceanwatcher
    Blog: http://www.wisnaes.com/
    Pictures: http://www.oceanwatcher.com/
    Software tips (in Norwegian): http://www.datahverdag.com/

    #2
    Re: Webcam working, but not in Kopete

    I found that if I replaced "/dev/dsp" with "default" on video4linux I got my webcamera and sound during the record. But in the playback the sound was overmasked with a loud buzz modulated by a weak voice.

    EDIT: should have mentioned that I was testing Kdenlive and it gave me the above results.

    When I open Kopeta and go to the settings I have a video picture because my webcam is detected automatically and is the only option showing on the dropdown combo.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Re: Webcam working, but not in Kopete

      As it is now, my webcam is working absolutely perfect with the setting that is listed here. This is the setting in Kdenlive. So I do not need to replace anything there.

      BUT - in Kopete, I am not able to see a working webcam. And I can not change any of the settings there. So my question is how I can force Kopete to use the settings I listed in the OP.

      Sorry if I made you confused with my info.
      Regards,
      Oceanwatcher
      Blog: http://www.wisnaes.com/
      Pictures: http://www.oceanwatcher.com/
      Software tips (in Norwegian): http://www.datahverdag.com/

      Comment


        #4
        Re: Webcam working, but not in Kopete

        There may or may not be anything useful for your troubleshooting here:

        http://kubuntuforums.net/forums/inde...opic=3099982.0

        Comment


          #5
          Re: Webcam working, but not in Kopete

          Sorry - not a programmer :-) I leave anything that has to do with compiling etc. to programmers. Instead, I will find out where to file a bugreport :-) If it works in one program, but not in another, there is nothing wrong with the camera, nothing wrong with the driver for it, it has to be the application in question. So the only thing I am looking for is a way to tell the app to use the settings that I know works.

          I'll try to track down the Kopete devs.
          Regards,
          Oceanwatcher
          Blog: http://www.wisnaes.com/
          Pictures: http://www.oceanwatcher.com/
          Software tips (in Norwegian): http://www.datahverdag.com/

          Comment


            #6
            Re: Webcam working, but not in Kopete

            this might help some people to get the webcam working in kopete or skype.

            create the script
            #!/bin/bash

            LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so kopete
            -------------------------------------------------------------
            (you do not need the --!)
            save as kopete2
            run
            sudo chmod +x kopete2
            sudo cp kopete2 /usr/bin

            you can now point kopete in the k menu to the script.

            you can also use the same command for skype like so;

            LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype


            Yamaha

            Comment

            Working...
            X