Created
September 8, 2019 13:30
-
-
Save anselmobattisti/ed5a57332731843ad35a53bd75570a11 to your computer and use it in GitHub Desktop.
Send video from webcam to two destinations via UDP using gstreamer
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
gst-launch-1.0 v4l2src device=/dev/video0 \ | |
! tee name=t \ | |
! queue \ | |
! decodebin \ | |
! x264enc \ | |
! rtph264pay \ | |
! udpsink host=localhost port=5000 \ | |
t. \ | |
! queue \ | |
! decodebin \ | |
! x264enc \ | |
! rtph264pay \ | |
! udpsink host=localhost port=5001 \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment