Created
March 7, 2018 21:31
-
-
Save MaZderMind/dee2e9bc61ddb9372064bf0348c23b18 to your computer and use it in GitHub Desktop.
18-videos-hd.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
gst-launch-1.0 \ | |
videotestsrc pattern=ball foreground-color=0x00ff0000 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp1. \ | |
videotestsrc pattern=ball foreground-color=0x00ffff00 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp1. \ | |
videotestsrc pattern=ball foreground-color=0x0000ff00 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp1. \ | |
\ | |
videotestsrc pattern=ball foreground-color=0x0000ffff ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp1. \ | |
videotestsrc pattern=ball foreground-color=0x000000ff ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp1. \ | |
videotestsrc pattern=ball foreground-color=0x00ff00ff ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp1. \ | |
\ | |
videotestsrc pattern=ball foreground-color=0x00ff8000 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp1. \ | |
videotestsrc pattern=ball foreground-color=0x0000ff80 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp1. \ | |
videotestsrc pattern=ball foreground-color=0x008000ff ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp1. \ | |
\ | |
\ | |
\ | |
videotestsrc pattern=ball foreground-color=0x0080ff00 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp2. \ | |
videotestsrc pattern=ball foreground-color=0x000080ff ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp2. \ | |
videotestsrc pattern=ball foreground-color=0x00ff0080 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp2. \ | |
\ | |
videotestsrc pattern=ball foreground-color=0x008080ff ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp2. \ | |
videotestsrc pattern=ball foreground-color=0x00ff8080 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp2. \ | |
videotestsrc pattern=ball foreground-color=0x0080ff80 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp2. \ | |
\ | |
videotestsrc pattern=ball foreground-color=0x0080ffff ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp2. \ | |
videotestsrc pattern=ball foreground-color=0x00ff80ff ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp2. \ | |
videotestsrc pattern=ball foreground-color=0x00ffff80 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! queue ! comp2. \ | |
\ | |
\ | |
\ | |
compositor name=comp1 \ | |
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=640 sink_0::height=360 \ | |
sink_1::xpos=640 sink_1::ypos=0 sink_1::width=640 sink_1::height=360 \ | |
sink_2::xpos=1280 sink_2::ypos=0 sink_2::width=640 sink_2::height=360 \ | |
\ | |
sink_3::xpos=0 sink_3::ypos=360 sink_3::width=640 sink_3::height=360 \ | |
sink_4::xpos=640 sink_4::ypos=360 sink_4::width=640 sink_4::height=360 \ | |
sink_5::xpos=1280 sink_5::ypos=360 sink_5::width=640 sink_5::height=360 \ | |
\ | |
sink_6::xpos=0 sink_6::ypos=720 sink_6::width=640 sink_6::height=360 \ | |
sink_7::xpos=640 sink_7::ypos=720 sink_7::width=640 sink_7::height=360 \ | |
sink_8::xpos=1280 sink_8::ypos=720 sink_8::width=640 sink_8::height=360 \ | |
! ximagesink sync=false \ | |
\ | |
compositor name=comp2 \ | |
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=640 sink_0::height=360 \ | |
sink_1::xpos=640 sink_1::ypos=0 sink_1::width=640 sink_1::height=360 \ | |
sink_2::xpos=1280 sink_2::ypos=0 sink_2::width=640 sink_2::height=360 \ | |
\ | |
sink_3::xpos=0 sink_3::ypos=360 sink_3::width=640 sink_3::height=360 \ | |
sink_4::xpos=640 sink_4::ypos=360 sink_4::width=640 sink_4::height=360 \ | |
sink_5::xpos=1280 sink_5::ypos=360 sink_5::width=640 sink_5::height=360 \ | |
\ | |
sink_6::xpos=0 sink_6::ypos=720 sink_6::width=640 sink_6::height=360 \ | |
sink_7::xpos=640 sink_7::ypos=720 sink_7::width=640 sink_7::height=360 \ | |
sink_8::xpos=1280 sink_8::ypos=720 sink_8::width=640 sink_8::height=360 \ | |
! ximagesink sync=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment