Created
June 2, 2016 17:14
-
-
Save kashimAstro/42a62708707eb4bcdc0bd22f698a2717 to your computer and use it in GitHub Desktop.
Raspberry server and client RTP with gstreamer
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
#server | |
raspivid -t 999999 -w 800 -h 600 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=192.168.0.100 port=5000 | |
#client | |
gst-launch-1.0 -v tcpclientsrc host=192.168.0.100 port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment