2020-04-21 20:22:31 +00:00
|
|
|
meta,
|
|
|
|
tool = "ges-launch-$(gst_api_version)",
|
|
|
|
args = {
|
2020-05-15 16:19:16 +00:00
|
|
|
--videosink, "$(videosink) sync=false name=videosink",
|
|
|
|
--audiosink, "$(audiosink) sync=false name=audiosink",
|
2020-04-21 20:22:31 +00:00
|
|
|
},
|
|
|
|
handles-states=true,
|
|
|
|
ignore-eos=true,
|
|
|
|
configs = {
|
2020-05-15 16:19:16 +00:00
|
|
|
"$(validateflow), pad=videosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}, segment={position,}\", ignored-event-types={gap}",
|
|
|
|
"$(validateflow), pad=audiosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}, segment={position,}\", ignored-event-types={gap}",
|
2020-04-21 20:22:31 +00:00
|
|
|
}
|
|
|
|
|
2020-04-22 17:39:21 +00:00
|
|
|
add-clip, name=c0, asset-id=time-overlay, layer-priority=0, type=GESSourceClip, start=0, duration=1.0
|
|
|
|
set-child-properties, element-name=c0, pattern=blue, valignment=center, halignment=center, time-mode=time-code
|
2020-04-21 20:22:31 +00:00
|
|
|
|
2020-04-22 17:39:21 +00:00
|
|
|
add-clip, name=c1, asset-id=time-overlay, layer-priority=0, type=GESSourceClip, start=1.0, duration=1.0
|
|
|
|
set-child-properties, element-name=c1, pattern=red, valignment=center, halignment=center, time-mode=time-code
|
2020-04-21 20:22:31 +00:00
|
|
|
pause
|
|
|
|
|
|
|
|
seek, start=0.0, stop=0.5, flags=accurate+flush
|
|
|
|
play
|
|
|
|
|
|
|
|
seek, on-message=eos, start=0.0, stop=0.5, flags=accurate+flush
|
|
|
|
seek, on-message=eos, start=0.0, stop=1.0, flags=accurate+flush
|
|
|
|
seek, on-message=eos, start=1.0, stop=1.5, flags=accurate+flush
|
|
|
|
stop, on-message=eos
|