rtpmpvpay2

Payload an MPEG-1 or MPEG-2 Video Elementary Stream into RTP packets as per RFC 2250.

Example pipeline

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

This will create and payload an MPEG-2 Video elementary stream with a test pattern and send it out via UDP to localhost port 5004.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstRtpBasePay2
                    ╰──rtpmpvpay2

Factory details

Authors: – Tim-Philipp Müller

Classification:Codec/Payloader/Network/RTP

Rank – primary

Plugin – rsrtp

Package – gst-plugin-rtp

Pad Templates

sink

video/mpeg:
   systemstream: false
    mpegversion: [ 1, 2 ]
         parsed: true

Presencealways

Directionsink

Object typeGstPad


src

application/x-rtp:
          media: video
  encoding-name: MPV
     clock-rate: 90000
application/x-rtp:
          media: video
        payload: 32
     clock-rate: 90000

Presencealways

Directionsrc

Object typeGstPad


The results of the search are