Created
March 12, 2017 13:46
-
-
Save chebykin/93c571f3225892954250a3d2704b2ee1 to your computer and use it in GitHub Desktop.
Gstreamer stream h264 to UDP port
This file contains 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
# sudo apt-get install openh264-gst-plugins-bad-1.5 | |
gst-launch-1.0 videotestsrc ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=9754 | |
sdp <<< EOF | |
v=0 | |
m=video 5000 RTP/AVP 96 | |
c=IN IP4 127.0.0.1 | |
a=rtpmap:96 H264/90000 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment