Gstreamer: Cannot send raw video via rtp 1 line per udp packet -
by using following gstreamer pipeline, trying send raw video via rtp
gst-launch-1.0 filesrc location="myvideo.raw" ! videoparse width=640 height=512 framerate=1/1 ! videoconvert ! rtpvrawpay pt=100 ! udpsink host=169.254.188.4 port=5000
payload type needs 100 , monitor udp packets wireshark. packet lengths variable. when use mtu property of rtpvrawpay element, (let set 9000), udp packet lengths directly affected parameter (packets 9000 bytes long). but, want length of packets equal length of 1 line in image (one line 640 pixels, each pixel 2 bytes...). isn't rtp format send 1 line per packet? (there line number field).
Comments
Post a Comment