Re: Video Source Question



Jaap A. Haitsma wrote:
On Nov 12, 2007 1:50 AM,  <patrys pld-linux org> wrote:
It probes various sources until it finds one suitable for use. If
there is a problem with your webcam (cheese not detecting it
properly), please submit a bug and proide us with details of the
device (especially HAL information for camera in question).

2007/11/10, David Greengas <dave greengas gmail com>:

In order to use my webcam with gstreamer, I needed to enter a custom
source for video input, v4l2src ! jpegdec. After doing this, I can use
gst-launch gconfvideosrc ! gconfvideosink to properly show video.
However, in Cheese, I did not notice any reference to gconfvideosrc. How
does Cheese determine the correct video source if it does not use
gconfvideosrc?

I am very eager to try out Cheese with my webcam.


I've just added HAL webcam detection to cheese on the
cheese_0_2_4_refactor branch
You can try that out if you like.
You'll need gstreamer compiled from CVS though.

Jaap
I am attaching the hal output for my webcam from your script. I am working on getting gstreamer cvs running. I will update when I am ready to test.

Thanks for the quick response and offer to help.

David Greengas
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->

<deviceinfo version="0.2">
  <device>
    <match key="@info.parent:usb_device.vendor_id" int="0x45ed">
      <match key="@info.parent:usb_device.product_id" int="0xf8d">
        <merge key="gstreamer.source" type="string">v4l2src</merge>
        <merge key="info.product" type="string">Microsoft® LifeCam NX-6000</merge>
        <append key="gstreamer.capabilities" type="strlist">image/jpeg, width=(int)160, height=(int)120, framerate=(fraction)30/1</append>
        <append key="gstreamer.capabilities" type="strlist">image/jpeg, width=(int)1024, height=(int)768, framerate=(fraction)15/2</append>
        <append key="gstreamer.capabilities" type="strlist">image/jpeg, width=(int)1280, height=(int)1024, framerate=(fraction)15/2</append>
        <append key="gstreamer.capabilities" type="strlist">image/jpeg, width=(int)800, height=(int)600, framerate=(fraction)30/1</append>
        <append key="gstreamer.capabilities" type="strlist">image/jpeg, width=(int)176, height=(int)144, framerate=(fraction)30/1</append>
        <append key="gstreamer.capabilities" type="strlist">image/jpeg, width=(int)1600, height=(int)1200, framerate=(fraction)15/2</append>
        <append key="gstreamer.capabilities" type="strlist">image/jpeg, width=(int)320, height=(int)240, framerate=(fraction)30/1</append>
        <append key="gstreamer.capabilities" type="strlist">image/jpeg, width=(int)352, height=(int)288, framerate=(fraction)30/1</append>
        <append key="gstreamer.capabilities" type="strlist">image/jpeg, width=(int)640, height=(int)480, framerate=(fraction)30/1</append>
      </match>
    </match>
  </device>
</deviceinfo>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]