gstreamer send and receive h264 rtp stream - compulab-yokneam/Documentation GitHub Wiki
gstreamer send and receive h264 rtp stream
Source
https://gist.github.com/esrever10/7d39fe2d4163c5b2d7006495c3c911bb
Send h264 rtp stream
videotestsrc
gst-launch-1.0 -v videotestsrc ! video/x-raw,framerate=20/1 ! videoscale ! videoconvert ! vpuenc_h264 ! rtph264pay ! udpsink host=destination_host_ip
Camera
gst-launch-1.0 -v v4l2src ! vpuenc_h264 ! rtph264pay ! udpsink host=destination_host_ip
Receive h264 rtp stream
gst-launch-1.0 -v udpsrc caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! autovideosink