# testsrcbin

This is a simple GstBin source that wraps audiotestsrc/videotestsrc following specification passed in the URI (it implements the GstURIHandler interface) in the form of `testbin://audio+video` or setting the "stream-types" property with the same format.

This element also provides GstStream and GstStreamCollection and thus the element is useful for testing the new playbin3 infrastructure.

Example pipeline:

    gst-launch-1.0 playbin uri=testbin://audio,volume=0.5+video,pattern=white

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBin
                        ╰──testsrcbin

## Implemented interfaces

    GstChildProxy
    GstURIHandler

## Factory details

Authors: – Erik Walthinsen ,Wim Taymans

Classification: – `Generic/Bin`

Rank – none

Plugin – debugutilsbad

Package – GStreamer Bad Plug-ins

## Pad Templates

### `audio_src_%u`

    audio/x-raw(ANY):

Presence – sometimes

Direction – src

Object type – GstPad

### `video_src_%u`

    video/x-raw(ANY):

Presence – sometimes

Direction – src

Object type – GstPad

## Properties

### stream-types

    “stream-types” gchararray

String describing the stream types to expose, eg. "video+audio".

Flags : Read / Write

Default value : NULL

The results of the search are