videocodectestsink

An element that computes the checksum of a video stream and/or writes back its raw I420 data ignoring the padding introduced by GStreamer. This element is meant to be used for CODEC conformance testing. It also supports producing an I420 checksum and and can write out a file in I420 layout directly from NV12 input data.

The checksum is communicated back to the application just before EOS message with an element message of type conformance/checksum with the following fields:

  • "checksum-type" G_TYPE_STRING The checksum type (only MD5 is supported)
  • "checksum" G_TYPE_STRING The checksum as a string

Example launch lines

 gst-launch-1.0 videotestsrc num-buffers=2 ! videocodectestsink location=true-raw.yuv -m

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSink
                    ╰──videocodectestsink

Factory details

Authors: – Nicolas Dufresne

Classification:Debug/video/Sink

Rank – none

Plugin – debugutilsbad

Package – GStreamer Bad Plug-ins

Pad Templates

sink

video/x-raw:
         format: { I420, I420_10LE, NV12 }

Presencealways

Directionsink

Object typeGstPad


Properties

location

“location” gchararray

File path to store non-padded I420 stream (optional).

Flags : Read / Write

Default value : NULL


The results of the search are