videoanalyse

videoanalyse — Analyse video signal

Synopsis

struct              GstVideoAnalyse;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstVideoFilter
                           +----GstVideoAnalyse

Properties

  "message"                  gboolean              : Read / Write / Construct

Description

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 "brightness": the average brightness of the frame.

  • gdouble "brightness-variance": the brightness variance of the frame.

Example launch line

1
2
3
4