Last active
August 27, 2025 16:26
-
-
Save adeguet1/71dad86b05be3c2cde3ad7a4fa57ae83 to your computer and use it in GitHub Desktop.
GStreamer rtsp working example
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
# Start gstreamer on host with frame grabber: | |
gst-launch-1.0 -v decklinkvideosrc device-number=0 ! deinterlace fields=top ! videoconvert ! x264enc tune=zerolatency bitrate=10000 speed-preset=superfast ! rtph264pay ! udpsink port=50000 host=10.162.34.96 | |
# IP address is for the receiving host. On receiving host: | |
gst-launch-1.0 -v udpsrc port=50000 ! "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! h264parse ! decodebin ! videoconvert ! autovideosink sync=false | |
# Install | |
sudo apt install gstreamer1.0-rtsp gstreamer1.0-libav gstreamer1.0-plugins-ugly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment