# videoanalyse

This plugin analyses every video frame and if the message property is TRUE, posts an element message with video statistics called `GstVideoAnalyse`.

The message's structure contains these fields:

- GstClockTime `timestamp`: the timestamp of the buffer that triggered the message.

- GstClockTime `stream-time`: the stream time of the buffer.

- GstClockTime `running-time`: the running_time of the buffer.

- GstClockTime `duration`:the duration of the buffer.

- gdouble `luma-average`: the average brightness of the frame. Range: 0.0-1.0

- gdouble `luma-variance`: the brightness variance of the frame.

## Example launch line

     gst-launch-1.0 -m videotestsrc ! videoanalyse ! videoconvert ! ximagesink

This pipeline emits messages to the console for each frame that has been analysed.

## Hierarchy

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

## Factory details

Authors: – Wim Taymans <wim@fluendo.com></wim@fluendo.com>

Classification: – `Filter/Analyzer/Video`

Rank – none

Plugin – videosignal

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: { I420, YV12, 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, YV12, Y444, Y42B, Y41B }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### message

    “message” gboolean

Post statics messages

Flags : Read / Write / Construct

Default value : true

The results of the search are