-
Notifications
You must be signed in to change notification settings - Fork 2
gstreamer send and receive h264 rtp stream
vraevsky edited this page Jun 19, 2019
·
2 revisions
https://gist.github.com/esrever10/7d39fe2d4163c5b2d7006495c3c911bb
gst-launch-1.0 -v videotestsrc ! video/x-raw,framerate=20/1 ! videoscale ! videoconvert ! vpuenc_h264 ! rtph264pay ! udpsink host=destination_host_ip
gst-launch-1.0 -v v4l2src ! vpuenc_h264 ! rtph264pay ! udpsink host=destination_host_ip
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