rtph261pay2
Payloads an H.261 video stream into RTP packets as per RFC 4587.
Each input buffer must contain exactly one complete picture. Packets start and end on macroblock boundaries; the macroblock layer is parsed to find those boundaries. The GOB number, macroblock address predictor, quantizer and reference motion vectors in effect at each packet start are carried in the payload header so that a receiver can decode the packet's macroblocks after a loss.
The I and V hint flags are constant for the session: V is always
1 and I is always 0, the combination RFC 4587 allows any conforming
implementation to send.
Example pipeline
gst-launch-1.0 videotestsrc ! video/x-raw,format=I420,width=176,height=144 ! avenc_h261 ! rtph261pay2 ! udpsink2 host=127.0.0.1 port=5004
This will encode a test pattern as H.261 and payload it as RTP to localhost port 5004.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstRtpBasePay2 ╰──rtph261pay2
Factory details
Authors: – Edward Hervey
Classification: – Codec/Payloader/Network/RTP
Rank – primary
Plugin – rsrtp
Package – gst-plugin-rtp
Pad Templates
src
application/x-rtp:
media: video
encoding-name: H261
clock-rate: 90000
The results of the search are