# uvcsink

uvcsink can be used to push frames to the Linux UVC Gadget driver.

## Example launch lines

     gst-launch videotestsrc ! uvcsink v4l2sink::device=/dev/video1

This pipeline streams a test pattern on UVC gadget /dev/video1.

Before starting the pipeline, the linux system needs an uvc gadget configured on the udc (usb device controller)

Either by using the legacy g_webcam gadget or by preconfiguring it with configfs. One way to configure is to use the example script from uvc-gadget:

https://git.ideasonboard.org/uvc-gadget.git/blob/HEAD:/scripts/uvc-gadget.sh

A modern way of configuring the gadget with an scheme file that gets loaded by gadget-tool (gt) using libusbgx.

https://github.com/linux-usb-gadgets/libusbgx https://github.com/linux-usb-gadgets/gt

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBin
                        ╰──uvcsink

## Implemented interfaces

    GstChildProxy

## Factory details

Authors: – Michael Grzeschik <mgr@pengutronix.de></mgr@pengutronix.de>

Classification: – `Sink/Video`

Rank – none

Plugin – uvcgadget

Package – GStreamer Bad Plug-ins

## Properties

### streaming

    “streaming” gboolean

The stream status of the host.

Flags : Read

Default value : false

Since : 1.24

The results of the search are