rtpjpegpay
Payload encode JPEG pictures into RTP packets according to RFC 2435. For detailed information see: http://www.rfc-editor.org/rfc/rfc2435.txt
The payloader takes a JPEG picture, scans the header for quantization tables (if needed) and constructs the RTP packet header followed by the actual JPEG entropy scan.
The payloader assumes that correct width and height is found in the caps.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstRTPBasePayload ╰──rtpjpegpay
Factory details
Authors: – Axis Communications
Classification: – Codec/Payloader/Network/RTP
Rank – secondary
Plugin – gstrtp
Package – GStreamer Good Plug-ins
Pad Templates
src
application/x-rtp:
media: video
payload: 26
clock-rate: 90000
encoding-name: JPEG
width: [ 1, 65536 ]
height: [ 1, 65536 ]
application/x-rtp:
media: video
payload: [ 96, 127 ]
clock-rate: 90000
encoding-name: JPEG
width: [ 1, 65536 ]
height: [ 1, 65536 ]
Properties
max-ptime
“max-ptime” gint64
Maximum duration of the packet data in ns (-1 = unlimited up to MTU)
Flags : Read / Write
Default value : 18446744073709551615
min-ptime
“min-ptime” gint64
Minimum duration of the packet data in ns (can't go above MTU)
Flags : Read / Write
Default value : 0
onvif-no-rate-control
“onvif-no-rate-control” gboolean
Enable ONVIF Rate-Control=no timestamping mode
Flags : Read / Write
Default value : false
perfect-rtptime
“perfect-rtptime” gboolean
Generate perfect RTP timestamps when possible
Flags : Read / Write
Default value : true
ptime-multiple
“ptime-multiple” gint64
Force buffers to be multiples of this duration in ns (0 disables)
Flags : Read / Write
Default value : 0
quality
“quality” gint
Quality factor on JPEG data (unused)
Flags : Read / Write
Default value : 255
scale-rtptime
“scale-rtptime” gboolean
Whether the RTP timestamp should be scaled with the rate (speed)
Flags : Read / Write
Default value : true
seqnum
“seqnum” guint
The RTP sequence number of the last processed packet
Flags : Read
Default value : 0
seqnum-offset
“seqnum-offset” gint
Offset to add to all outgoing seqnum (-1 = random)
Flags : Read / Write
Default value : -1
source-info
“source-info” gboolean
Write CSRC based on buffer meta RTP source information
Flags : Read / Write
Default value : false
ssrc
“ssrc” guint
The SSRC of the packets (default == random)
Flags : Read / Write
Default value : -1
stats
“stats” GstStructure *
Various statistics
Flags : Read
Default value :
application/x-rtp-payload-stats, clock-rate=(uint)0, running-time=(guint64)18446744073709551615, seqnum=(uint)0, timestamp=(uint)0, ssrc=(uint)0, pt=(uint)26, seqnum-offset=(uint)0, timestamp-offset=(uint)0;
timestamp
“timestamp” guint
The RTP timestamp of the last processed packet
Flags : Read
Default value : 0
timestamp-offset
“timestamp-offset” guint
Offset to add to all outgoing timestamps (default = random)
Flags : Read / Write
Default value : -1
twcc-ext-id
“twcc-ext-id” guint
The RTP header-extension ID to use for tagging buffers with Transport-wide Congestion Control sequencenumbers (0 = disable)
Flags : Read / Write
Default value : 0
type
“type” gint
Default JPEG Type, overwritten by SOF when present
Flags : Read / Write
Default value : 1
The results of the search are