vampeg2dec

vampeg2dec decodes Mpeg2 bitstreams to VA surfaces using the installed and chosen VA-API driver.

The decoding surfaces can be mapped onto main memory as video frames.

Example launch line

gst-launch-1.0 filesrc location=sample.mpg ! parsebin ! vampeg2dec ! autovideosink

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstVideoDecoder
                    ╰──GstMpeg2Decoder
                        ╰──vampeg2dec

Factory details

Authors: – He Junyan

Classification:Codec/Decoder/Video/Hardware

Rank – none

Plugin – va

Package – GStreamer Bad Plug-ins

Pad Templates

sink

video/x-mpeg2:

Presencealways

Directionsink

Object typeGstPad


src

video/x-raw(memory:VAMemory):
         format: { NV12 }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]
video/x-raw:
         format: { NV12 }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsrc

Object typeGstPad


Properties

device-path

“device-path” gchararray

It shows the DRM device path used for the VA operation, if any.

Flags : Read

Default value : NULL

Since : 1.22


The results of the search are