videoanalyse

videoanalyse — Analyse and report about the video frame

Synopsis




                    GstVideoAnalyse;

Properties


  "message"                  gboolean              : Read / Write / Construct

Description

Example launch line

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.

gst-launch -m videotestsrc ! videoanalyse ! ffmpegcolorspace ! ximagesink

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

Last reviewed on 2007-05-30 (0.10.5)

Element Information

plugin

videosignal

author

Wim Taymans <wim@fluendo.com>

class

Filter/Effect/Video

Details

GstVideoAnalyse

typedef struct {
  GstVideoFilter videofilter;
  
  gint width, height;

  gboolean message;

  gdouble brightness;
  gdouble brightness_var;

  guint64 interval;
} GstVideoAnalyse;

Opaque datastructure.

Property Details

The "message" property

  "message"                  gboolean              : Read / Write / Construct

Post statics messages.

Default value: TRUE