shmsrc

Receive data from the shared memory sink.

Example launch lines

 gst-launch-1.0 shmsrc socket-path=/tmp/blah ! \
 "video/x-raw, format=YUY2, color-matrix=sdtv, \
 chroma-site=mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1" \
 ! queue ! videoconvert ! autovideosink

Render video from shm buffers.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSrc
                    ╰──GstPushSrc
                        ╰──shmsrc

Factory details

Authors: – Olivier Crete

Classification:Source

Rank – none

Plugin – gstshm

Package – GStreamer Bad Plug-ins

Pad Templates

src

ANY

Presencealways

Directionsrc

Object typeGstPad


Properties

blocksize

“blocksize” guint

Size in bytes to read per buffer (-1 = default)

Flags : Read / Write

Default value : 4096


do-timestamp

“do-timestamp” gboolean

Apply current stream time to buffers

Flags : Read / Write

Default value : false


is-live

“is-live” gboolean

True if the element cannot produce data in PAUSED

Flags : Read / Write

Default value : false


num-buffers

“num-buffers” gint

Number of buffers to output before sending EOS (-1 = unlimited)

Flags : Read / Write

Default value : -1


shm-area-name

“shm-area-name” gchararray

The name of the shared memory area used to get buffers

Flags : Read

Default value : NULL


socket-path

“socket-path” gchararray

The path to the control socket used to control the shared memory

Flags : Read / Write

Default value : NULL


typefind

“typefind” gboolean

Run typefind before negotiating (deprecated, non-functional)

Flags : Read / Write

Default value : false


The results of the search are