# videodiff

The videodiff element highlights the difference between a frame and its previous on the luma plane.

## Example launch line

     gst-launch-1.0 -v videotestsrc pattern=ball ! videodiff ! videoconvert ! autovideosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstVideoFilter
                            ╰──videodiff

## Factory details

Authors: – David Schleef <ds@schleef.org></ds@schleef.org>

Classification: – `Video/Filter`

Rank – none

Plugin – videofiltersbad

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: { I420, Y444, Y42B, Y41B }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: { I420, Y444, Y42B, Y41B }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

The results of the search are