# ksvideosrc

Provides low-latency video capture from WDM cameras on Windows.

## Example pipelines

     gst-launch-1.0 -v ksvideosrc do-stats=TRUE ! videoconvert ! dshowvideosink

Capture from a camera and render using dshowvideosink.

     gst-launch-1.0 -v ksvideosrc do-stats=TRUE ! image/jpeg, width=640, height=480
     ! jpegdec ! videoconvert ! dshowvideosink

Capture from an MJPEG camera and render using dshowvideosink.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSrc
                        ╰──GstPushSrc
                            ╰──ksvideosrc

## Factory details

Authors: – Ole André Vadla Ravnås Haakon Sporsheim Andres Colubri

Classification: – `Source/Video/Hardware`

Rank – primary

Plugin – winks

Package – GStreamer Bad Plug-ins

## Pad Templates

### `src`

    video/x-raw:
             format: RGB15
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-raw:
             format: RGB16
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-raw:
             format: BGR
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-raw:
             format: BGRx
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-raw:
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    image/jpeg:
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-raw:
             format: dvsd
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-raw:
             format: dvsd

Presence – always

Direction – src

Object type – GstPad

## Properties

### device-index

    “device-index” gint

The zero-based device index

Flags : Read / Write

Default value : -1

### device-name

    “device-name” gchararray

The human-readable device name

Flags : Read / Write

Default value : NULL

### device-path

    “device-path” gchararray

The device path

Flags : Read / Write

Default value : NULL

### do-stats

    “do-stats” gboolean

Enable logging of statistics

Flags : Read / Write

Default value : false

### enable-quirks

    “enable-quirks” gboolean

Enable driver-specific quirks

Flags : Read / Write

Default value : true

### fps

    “fps” gint

Last measured framerate, if statistics are enabled

Flags : Read

Default value : -1

The results of the search are