mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 07:22:32 +00:00
5e448921d8
This was complexifying the implementation for very little gain. Each source type should ideally have its own API. In that patch we make it so we do not have to subclass anything but instead use GESAsset to pass information about how the pipeline should look like. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/175>
201 lines
3.8 KiB
Markdown
201 lines
3.8 KiB
Markdown
#### `alpha`
|
||
|
||
alpha of the stream
|
||
|
||
Value type: #gdouble
|
||
|
||
#### `background-color`
|
||
|
||
Background color to use (big-endian ARGB)
|
||
|
||
Value type: #guint
|
||
|
||
See #videotestsrc:background-color
|
||
|
||
#### `font-desc`
|
||
|
||
Pango font description of font to be used for rendering. See documentation of
|
||
pango_font_description_from_string for syntax.
|
||
|
||
Value type: #gchararray
|
||
|
||
See #timeoverlay:font-desc
|
||
|
||
#### `foreground-color`
|
||
|
||
Foreground color to use (big-endian ARGB)
|
||
|
||
Value type: #guint
|
||
|
||
See #videotestsrc:foreground-color
|
||
|
||
#### `freq`
|
||
|
||
Frequency of test signal. The sample rate needs to be at least 2 times higher.
|
||
|
||
Value type: #gdouble
|
||
|
||
See #audiotestsrc:freq
|
||
|
||
#### `halignment`
|
||
|
||
Horizontal alignment of the text
|
||
|
||
Valid values:
|
||
- **left** (0) – left
|
||
- **center** (1) – center
|
||
- **right** (2) – right
|
||
- **position** (4) – Absolute position clamped to canvas
|
||
- **absolute** (5) – Absolute position
|
||
|
||
See #timeoverlay:halignment
|
||
|
||
#### `height`
|
||
|
||
height of the source
|
||
|
||
Value type: #gint
|
||
|
||
#### `mute`
|
||
|
||
mute channel
|
||
|
||
Value type: #gboolean
|
||
|
||
See #volume:mute
|
||
|
||
#### `pattern`
|
||
|
||
Type of test pattern to generate
|
||
|
||
Valid values:
|
||
- **SMPTE 100% color bars** (0) – smpte
|
||
- **Random (television snow)** (1) – snow
|
||
- **100% Black** (2) – black
|
||
- **100% White** (3) – white
|
||
- **Red** (4) – red
|
||
- **Green** (5) – green
|
||
- **Blue** (6) – blue
|
||
- **Checkers 1px** (7) – checkers-1
|
||
- **Checkers 2px** (8) – checkers-2
|
||
- **Checkers 4px** (9) – checkers-4
|
||
- **Checkers 8px** (10) – checkers-8
|
||
- **Circular** (11) – circular
|
||
- **Blink** (12) – blink
|
||
- **SMPTE 75% color bars** (13) – smpte75
|
||
- **Zone plate** (14) – zone-plate
|
||
- **Gamut checkers** (15) – gamut
|
||
- **Chroma zone plate** (16) – chroma-zone-plate
|
||
- **Solid color** (17) – solid-color
|
||
- **Moving ball** (18) – ball
|
||
- **SMPTE 100% color bars** (19) – smpte100
|
||
- **Bar** (20) – bar
|
||
- **Pinwheel** (21) – pinwheel
|
||
- **Spokes** (22) – spokes
|
||
- **Gradient** (23) – gradient
|
||
- **Colors** (24) – colors
|
||
|
||
See #videotestsrc:pattern
|
||
|
||
#### `posx`
|
||
|
||
x position of the stream
|
||
|
||
Value type: #gint
|
||
|
||
#### `posy`
|
||
|
||
y position of the stream
|
||
|
||
Value type: #gint
|
||
|
||
#### `text-width`
|
||
|
||
Resulting width of font rendering
|
||
|
||
Value type: #guint
|
||
|
||
See #timeoverlay:text-width
|
||
|
||
#### `text-x`
|
||
|
||
Resulting X position of font rendering.
|
||
|
||
Value type: #gint
|
||
|
||
See #timeoverlay:text-x
|
||
|
||
#### `text-y`
|
||
|
||
Resulting X position of font rendering.
|
||
|
||
Value type: #gint
|
||
|
||
See #timeoverlay:text-y
|
||
|
||
#### `time-mode`
|
||
|
||
What time to show
|
||
|
||
Valid values:
|
||
- **buffer-time** (0) – buffer-time
|
||
- **stream-time** (1) – stream-time
|
||
- **running-time** (2) – running-time
|
||
- **time-code** (3) – time-code
|
||
|
||
See #timeoverlay:time-mode
|
||
|
||
#### `valignment`
|
||
|
||
Vertical alignment of the text
|
||
|
||
Valid values:
|
||
- **baseline** (0) – baseline
|
||
- **bottom** (1) – bottom
|
||
- **top** (2) – top
|
||
- **position** (3) – Absolute position clamped to canvas
|
||
- **center** (4) – center
|
||
- **absolute** (5) – Absolute position
|
||
|
||
See #timeoverlay:valignment
|
||
|
||
#### `video-direction`
|
||
|
||
Video direction: rotation and flipping
|
||
|
||
Valid values:
|
||
- **GST_VIDEO_ORIENTATION_IDENTITY** (0) – identity
|
||
- **GST_VIDEO_ORIENTATION_90R** (1) – 90r
|
||
- **GST_VIDEO_ORIENTATION_180** (2) – 180
|
||
- **GST_VIDEO_ORIENTATION_90L** (3) – 90l
|
||
- **GST_VIDEO_ORIENTATION_HORIZ** (4) – horiz
|
||
- **GST_VIDEO_ORIENTATION_VERT** (5) – vert
|
||
- **GST_VIDEO_ORIENTATION_UL_LR** (6) – ul-lr
|
||
- **GST_VIDEO_ORIENTATION_UR_LL** (7) – ur-ll
|
||
- **GST_VIDEO_ORIENTATION_AUTO** (8) – auto
|
||
- **GST_VIDEO_ORIENTATION_CUSTOM** (9) – custom
|
||
|
||
See #videoflip:video-direction
|
||
|
||
#### `volume`
|
||
|
||
Volume of test signal
|
||
|
||
Value type: #gdouble
|
||
|
||
See #audiotestsrc:volume
|
||
|
||
#### `volume`
|
||
|
||
volume factor, 1.0=100%
|
||
|
||
Value type: #gdouble
|
||
|
||
See #volume:volume
|
||
|
||
#### `width`
|
||
|
||
width of the source
|
||
|
||
Value type: #gint
|
||
|