aasink

aasink — An ASCII art videosink

Synopsis

                    GstAASink;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSink
                     +----GstAASink

Properties

  "brightness"               gint                  : Read / Write
  "contrast"                 gint                  : Read / Write
  "dither"                   GstAASinkDitherers    : Read / Write
  "driver"                   GstAASinkDrivers      : Read / Write
  "frame-time"               gint                  : Read
  "frames-displayed"         gint                  : Read
  "gamma"                    gfloat                : Read / Write
  "height"                   gint                  : Read / Write
  "inversion"                gboolean              : Read / Write
  "randomval"                gint                  : Read / Write
  "width"                    gint                  : Read / Write

Signals

  "frame-displayed"                                : Run Last
  "have-size"                                      : Run Last

Description

Displays video as b/w ascii art.

Example launch line

gst-launch filesrc location=test.avi ! decodebin ! ffmpegcolorspace ! aasink
This pipeline renders a video to ascii art into a separate window.
gst-launch filesrc location=test.avi ! decodebin ! ffmpegcolorspace ! aasink driver=curses
This pipeline renders a video to ascii art into the current terminal.

Details

GstAASink

typedef struct _GstAASink GstAASink;

Property Details

The "brightness" property

  "brightness"               gint                  : Read / Write

brightness.

Default value: 0


The "contrast" property

  "contrast"                 gint                  : Read / Write

contrast.

Default value: 0


The "dither" property

  "dither"                   GstAASinkDitherers    : Read / Write

dither.

Default value: no dithering


The "driver" property

  "driver"                   GstAASinkDrivers      : Read / Write

driver.

Default value: X11 driver 1.1


The "frame-time" property

  "frame-time"               gint                  : Read

frame_time.

Default value: 0


The "frames-displayed" property

  "frames-displayed"         gint                  : Read

frames_displayed.

Default value: 0


The "gamma" property

  "gamma"                    gfloat                : Read / Write

gamma.

Allowed values: [0,5]

Default value: 1


The "height" property

  "height"                   gint                  : Read / Write

height.

Default value: 0


The "inversion" property

  "inversion"                gboolean              : Read / Write

inversion.

Default value: TRUE


The "randomval" property

  "randomval"                gint                  : Read / Write

randomval.

Default value: 0


The "width" property

  "width"                    gint                  : Read / Write

width.

Default value: 0

Signal Details

The "frame-displayed" signal

void                user_function                      (GstAASink *gstaasink,
                                                        gpointer   user_data)      : Run Last

gstaasink :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "have-size" signal

void                user_function                      (GstAASink *gstaasink,
                                                        guint      arg1,
                                                        guint      arg2,
                                                        gpointer   user_data)      : Run Last

gstaasink :

the object which received the signal.

arg1 :

arg2 :

user_data :

user data set when the signal handler was connected.

See Also

GstCACASink