rtpvp8pay2

Payload a VP8 video stream into RTP packets as per RFC 7741.

Example pipeline

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

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

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstRtpBasePay2
                    ╰──rtpvp8pay2

Factory details

Authors: – Sebastian Dröge

Classification:Codec/Payloader/Network/RTP

Rank – marginal

Plugin – rsrtp

Package – gst-plugin-rtp

Pad Templates

sink

video/x-vp8:

Presencealways

Directionsink

Object typeGstPad


src

application/x-rtp:
          media: video
        payload: [ 96, 127 ]
     clock-rate: 90000
  encoding-name: { (string)VP8, (string)VP8-DRAFT-IETF-01 }

Presencealways

Directionsrc

Object typeGstPad


Properties

fragmentation-mode

“fragmentation-mode” Rtp-vp8pay2fragmentation-mode *

Fragmentation Mode

Flags : Read / Write

Default value : none (0)


picture-id

“picture-id” gint

Current Picture ID

Flags : Read

Default value : -1


picture-id-mode

“picture-id-mode” Rtp-vp8pay2picture-id-mode *

The picture ID mode for payloading

Flags : Read / Write

Default value : none (0)


picture-id-offset

“picture-id-offset” gint

Offset to add to the initial picture-id (-1 = random)

Flags : Read / Write

Default value : -1


Named constants

Rtp-vp8pay2fragmentation-mode

Members

none (0) – Fit as much into each packet as possible
partition-start (1) – Make sure that every partition starts at the start of a packet
every-partition (2) – Create a new packet for every partition

Rtp-vp8pay2picture-id-mode

Members

none (0) – No Picture ID
7-bit (1) – 7-bit PictureID
15-bit (2) – 15-bit Picture ID

The results of the search are