Created
January 16, 2018 23:43
-
-
Save hackcasual/8b9039a6a82331beebeba46e98d46e57 to your computer and use it in GitHub Desktop.
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
v4l2-ctl -d /dev/video0 -c exposure_auto=1 -c exposure_absolute=300 | |
gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-raw,width=640,height=480,framerate=30/1" ! x264enc speed-preset=1 tune=zerolatency bitrate=2048 ! rtph264pay ! udpsink host=$1 port=5800 & | |
v4l2-ctl -d /dev/video1 -c exposure_auto=1 -c exposure_absolute=300 | |
gst-launch-1.0 -v v4l2src device=/dev/video1 ! "video/x-raw,width=320,height=240,framerate=30/1" ! x264enc speed-preset=1 tune=zerolatency bitrate=1024 ! rtph264pay ! udpsink host=$1 port=5801 & | |
v4l2-ctl -d /dev/video2 -c exposure_auto=1 -c exposure_absolute=300 | |
gst-launch-1.0 -v v4l2src device=/dev/video2 ! "video/x-raw,width=320,height=240,framerate=30/1" ! x264enc speed-preset=1 tune=zerolatency bitrate=1024 ! rtph264pay ! udpsink host=$1 port=5802 & | |
v4l2-ctl -d /dev/video3 -c exposure_auto=1 -c exposure_absolute=300 | |
gst-launch-1.0 -v v4l2src device=/dev/video3 ! "video/x-raw,width=320,height=240,framerate=30/1" ! x264enc speed-preset=1 tune=zerolatency bitrate=1024 ! rtph264pay ! udpsink host=$1 port=5803 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment