cacasink

cacasink — A colored ASCII art videosink

Synopsis

                    GstCACASink;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSink
                     +----GstCACASink

Properties

  "anti-aliasing"            gboolean              : Read / Write
  "dither"                   GstCACASinkDithering  : Read / Write
  "screen-height"            gint                  : Read
  "screen-width"             gint                  : Read

Description

Displays video as color ascii art.

Example launch line

CACA_GEOMETRY=160x60 CACA_FONT=5x7 gst-launch filesrc location=test.avi ! decodebin ! ffmpegcolorspace ! cacasink
This pipeline renders a video to ascii art into a separate window using a small font and specifying the ascii resolution.
CACA_DRIVER=ncurses gst-launch filesrc location=test.avi ! decodebin ! ffmpegcolorspace ! cacasink
This pipeline renders a video to ascii art into the current terminal.

Details

GstCACASink

typedef struct _GstCACASink GstCACASink;

Property Details

The "anti-aliasing" property

  "anti-aliasing"            gboolean              : Read / Write

Enables Anti-Aliasing.

Default value: TRUE


The "dither" property

  "dither"                   GstCACASinkDithering  : Read / Write

Set type of Dither.

Default value: No dithering


The "screen-height" property

  "screen-height"            gint                  : Read

The height of the screen.

Allowed values: >= 0

Default value: 25


The "screen-width" property

  "screen-width"             gint                  : Read

The width of the screen.

Allowed values: >= 0

Default value: 80

See Also

GstAASink