cacasink

Displays video as color ascii art.

Example launch line

 CACA_GEOMETRY=160x60 CACA_FONT=5x7 gst-launch-1.0 filesrc location=test.avi ! decodebin ! videoconvert ! 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-1.0 filesrc location=test.avi ! decodebin ! videoconvert ! cacasink

This pipeline renders a video to ascii art into the current terminal.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSink
                    ╰──cacasink

Factory details

Authors: – Zeeshan Ali

Classification:Sink/Video

Rank – none

Plugin – cacasink

Package – GStreamer Good Plug-ins

Pad Templates

sink

video/x-raw:
         format: { RGB, BGR, RGBx, xRGB, BGRx, xBGR, RGB16, RGB15 }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsink

Object typeGstPad


Properties

anti-aliasing

“anti-aliasing” gboolean

Enables Anti-Aliasing

Flags : Read / Write

Default value : true


dither

“dither” Cacasink-dithering *

Set type of Dither

Flags : Read / Write

Default value : none (49)


driver

“driver” Cacasink-driver *

The libcaca output driver.

Flags : Read / Write

Default value : x11 (0)

Since : 1.24


screen-height

“screen-height” gint

The height of the screen

Flags : Read

Default value : 25


screen-width

“screen-width” gint

The width of the screen

Flags : Read

Default value : 80


Named constants

Cacasink-dithering

Members

none (49) – No dithering
2x2 (50) – Ordered 2x2 Bayer dithering
4x4 (51) – Ordered 4x4 Bayer dithering
8x8 (52) – Ordered 8x8 Bayer dithering
random (53) – Random dithering

Cacasink-driver

Libcaca output driver.

Since : 1.24


The results of the search are