GstInterpipe - Simple Examples: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 21: Line 21:


echo -e "\n ====> Create the scr_pipe_1 \n"
echo -e "\n ====> Create the scr_pipe_1 \n"
gstd-client pipeline_create pipe_1_src videotestsrc pattern=ball is-live=true ! "video/x-raw, framerate=15/1, width=640, height=480" ! queue ! interpipesink name=src_1 caps=video/x-raw,width=640,height=480,framerate=15/1 sync=false async=false
gstd-client pipeline_create pipe_1_src videotestsrc pattern=ball is-live=true \
! "video/x-raw, framerate=15/1,width=640, height=480" ! queue ! interpipesink name=src_1 \
caps=video/x-raw,width=640,height=480,framerate=15/1 sync=false async=false


echo -e "\n ====> Create the scr_pipe_2 \n"
echo -e "\n ====> Create the scr_pipe_2 \n"
gstd-client pipeline_create pipe_2_src videotestsrc pattern=snow is-live=true ! "video/x-raw, framerate=15/1, width=640, height=480" ! queue ! interpipesink name=src_2 caps=video/x-raw,width=640,height=480,framerate=15/1 sync=false async=false
gstd-client pipeline_create pipe_2_src videotestsrc pattern=snow is-live=true \
! "video/x-raw, framerate=15/1, width=640, height=480" ! queue ! interpipesink name=src_2 \
caps=video/x-raw,width=640,height=480,framerate=15/1 sync=false async=false


echo -e "\n ====> Create the scr_pipe_3 \n"
echo -e "\n ====> Create the scr_pipe_3 \n"
gstd-client pipeline_create pipe_3_src videotestsrc pattern=smpte is-live=true ! "video/x-raw, framerate=15/1, width=640, height=480" ! queue ! interpipesink name=src_3 caps=video/x-raw,width=640,height=480,framerate=15/1 sync=false async=false
gstd-client pipeline_create pipe_3_src videotestsrc pattern=smpte is-live=true \
! "video/x-raw, framerate=15/1, width=640, height=480" ! queue ! interpipesink name=src_3 \
caps=video/x-raw,width=640,height=480,framerate=15/1 sync=false async=false


echo -e "\n ====> Create the sink_pipe_4 (listener) \n"
echo -e "\n ====> Create the sink_pipe_4 (listener) \n"
gstd-client pipeline_create pipe_4_sink interpipesrc name=interpipesrc1 listen-to=src_1 is-live=true allow-renegotiation=true enable-sync=true ! queue ! fpsdisplaysink async=false sync=false
gstd-client pipeline_create pipe_4_sink interpipesrc name=interpipesrc1 listen-to=src_1 \
is-live=true allow-renegotiation=true enable-sync=true ! queue \
! fpsdisplaysink async=false sync=false


echo -e "\n ====> Change to PLAYING STATE \n"
echo -e "\n ====> Change to PLAYING STATE \n"
1,433

edits