A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://gstreamer.freedesktop.org/documentation/debugutilsbad/testsrcbin.html below:

testsrcbin

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.

The uri format

testbin://<stream1 definition>[+<stream2 definition>]

With :

<media-type>,<element-properties>,[caps=<media caps>]

where:

Note that stream definitions are interpreted as serialized GstStructure.

Examples pipeline: One audio stream with volume=0.5 and a white video stream in full HD at 30fps
gst-launch-1.0 playbin3 uri="testbin://audio,volume=0.5+video,pattern=white,caps=[video/x-raw,width=1920,height=1080,framerate=30/1]"
Single full HD stream
gst-launch-1.0 playbin3 uri="testbin://video,pattern=green,caps=[video/x-raw,width=1920,height=1080,framerate=30/1]"
Two audio streams
gst-launch-1.0 playbin3 uri="testbin://audio+audio"
Hierarchy Implemented interfaces 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 expose-sources-async
“expose-sources-async” gboolean

Whether to expose sources at random time to simulate a source that is reading a file and exposing the srcpads later.

Flags : Read / Write

Default value : false

Since : 1.20

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4