# 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 <nicolas.dufresne>

Classification: – `Debug/video/Sink`

Rank – none

Plugin – debugutilsbad

Package – GStreamer Bad Plug-ins

</nicolas.dufresne>

## Pad Templates

### `sink`

    video/x-raw:
             format: { Y444_12LE, I422_12LE, I420_12LE, Y444_10LE, I422_10LE, I420_10LE, Y444, Y42B, I420, NV12, GRAY8, GRAY10_LE16, GRAY10_LE32, GBR_10LE }

Presence – always

Direction – sink

Object type – GstPad

## 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