mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
c09de963be
Stopping to do it at the bin description level but properly plugging them where they are needed and cleanly ghosting the pads where it makes most sense. This introduces support for GES to request pads on the most upstream element in case no static pad can be ghosted. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/187>
24 lines
No EOL
1.1 KiB
Text
24 lines
No EOL
1.1 KiB
Text
# Check that we can have effect with sources integrated where GES will request a pad on some elements
|
|
# In that example, we are blending a green rectangle on top of a blue GESVideoTestSource using an effect
|
|
meta,
|
|
tool = "ges-launch-$(gst_api_version)",
|
|
handles-states=true,
|
|
args = {
|
|
"--track-types", "video",
|
|
"--videosink", "$(videosink) name=videosink",
|
|
"--video-caps", "video/x-raw, format=I420, width=1280, height=720, framerate=30/1, chroma-site=jpeg, colorimetry=bt601",
|
|
},
|
|
configs = {
|
|
"$(validateflow), pad=videosink:sink, buffers-checksum=true, ignored-fields=\"stream-start={stream-id,group-id,stream}, segment={position,}\", ignored-event-types={gap}",
|
|
}
|
|
|
|
|
|
add-clip, name=c0, asset-id=GESTestClip, layer-priority=0, type=GESTestClip, start=0, duration=0.1
|
|
set-child-properties, element-name=c0, pattern=blue
|
|
|
|
container-add-child,
|
|
container-name=c0,
|
|
asset-id="videotestsrc pattern=green ! video/x-raw,width=640,height=360 ! compositor sink_0::xpos=320 sink_0::ypos=180 sink_0::zorder=500",
|
|
child-type=GESEffect,
|
|
child-name=effect
|
|
play |