gstd: add mixer output mirroring pipeline

gstd
informatic 2019-04-29 00:07:29 +02:00
parent 268f982384
commit 232caf6ba3
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,3 @@
pipeline_delete preview
pipeline_create preview interpipesrc listen-to=video_out is_live=true ! videoconvert ! timeoverlay ! queue ! autovideosink
pipeline_create preview interpipesrc listen-to=video_out is_live=true ! videoconvert ! timeoverlay ! queue ! taginject tags="title=screen:DisplayPort-1:snowmix" ! ximagesink
pipeline_play preview

View File

@ -5,3 +5,6 @@ pipeline_play video_out
pipeline_delete audio_out
pipeline_create audio_out snowmixaudiosrc ! queue ! interpipesink name=audio_out forward-events=true
pipeline_play audio_out
pipeline_delete video_mirror
pipeline_create video_mirror interpipesrc format=3 listen-to=video_out is-live=true enable-sync=true ! queue ! shmsink socket-path=/run/snowmix/mixer1-mirror wait-for-connection=false shm-size=165888000 sync=false async=false