rtpjpegpay2

Payload a JPEG video stream into RTP packets as per RFC 2435.

Example pipeline

 gst-launch-1.0 videotestsrc ! video/x-raw,width=1280,height=720,format=I420 ! timeoverlay font-desc=Sans,22 ! jpegenc ! jpegparse ! rtpjpegpay2 ! udpsink host=127.0.0.1 port=5004

This will create and payload a JPEG video stream with a test pattern and send it out via UDP to localhost port 5004.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstRtpBasePay2
                    ╰──rtpjpegpay2

Factory details

Authors: – Sebastian Dröge

Classification:Codec/Payloader/Network/RTP

Rank – marginal

Plugin – rsrtp

Package – gst-plugin-rtp

Pad Templates

sink

image/jpeg:
         parsed: true
          width: [ 1, 65535 ]
         height: [ 1, 65535 ]
     sof-marker: 0
     colorspace: sYUV
       sampling: { (string)YCbCr-4:2:0, (string)YCbCr-4:2:2 }

Presencealways

Directionsink

Object typeGstPad


src

application/x-rtp:
          media: video
        payload: 26
     clock-rate: 90000
application/x-rtp:
          media: video
  encoding-name: JPEG
     clock-rate: 90000

Presencealways

Directionsrc

Object typeGstPad


The results of the search are