mimenc

mimenc — Mimic encoder

Synopsis

struct              GstMimEnc;

Properties

  "paused-mode"              gboolean              : Read / Write

Description

The MIMIC codec is used by MSN Messenger's webcam support. It creates the TCP header for the MIMIC codec.

Its fourcc is ML20.

Synopsis

Element Information

plugin

mimic

author

Andre Moreira Magalhaes <andre.magalhaes@indt.org.br>

class

Codec/Encoder/Video

Element Pads

name

sink

direction

sink

presence

always

details

video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, framerate=(fraction)[ 1/1, 30/1 ], red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)320, height=(int)240

video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, framerate=(fraction)[ 1/1, 30/1 ], red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)160, height=(int)120

name

src

direction

source

presence

always

details

video/x-mimic

Details

struct GstMimEnc

struct GstMimEnc {
  GstElement element;

  GstPad *sinkpad, *srcpad;

  /* Protected by the object lock */
  MimCtx *enc;

  MimicResEnum res;
  gint buffer_size;
  guint32 frames;
  guint16 height, width;

  gboolean paused_mode;
  GstSegment segment;
  gboolean need_newsegment;
  GstClockTime last_buffer;
  GstClockID clock_id;
  gboolean stop_paused_mode;
};

Property Details

The "paused-mode" property

  "paused-mode"              gboolean              : Read / Write

If enabled, empty frames will be generated every 4 seconds when no data is received.

Default value: FALSE

See Also

mimdec