# cudaipcsrc

cudaipcsrc imports CUDA memory exported by peer cudaipcsrc element

## Example launch line

    gst-launch-1.0 cudaipcsrc ! queue ! cudadownload ! videoconvert ! queue ! autovideosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSrc
                        ╰──cudaipcsrc

## Factory details

Authors: – Seungha Yang <seungha></seungha>

Classification: – `Source/Video`

Rank – none

Plugin – nvcodec

Package – GStreamer Bad Plug-ins

## Pad Templates

### `src`

    video/x-raw(memory:CUDAMemory):
             format: { I420, YV12, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420_10LE, I420_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, BGRA, RGBA, RGBx, BGRx, ARGB, ABGR, RGB, BGR, BGR10A2_LE, RGB10A2_LE, Y42B, I422_10LE, I422_12LE, YUY2, UYVY, RGBP, BGRP, GBR, GBR_10LE, GBR_12LE, GBR_16LE, GBRA }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### address

    “address” gchararray

Server address. Specifies name of WIN32 named pipe or unix domain socket path on Linux

Flags : Read / Write

Default value : \\.\pipe\gst.cuda.ipc

### buffer-size

    “buffer-size” guint

Size of internal buffer

Flags : Read / Write

Default value : 3

### connection-timeout

    “connection-timeout” guint

Connection timeout in seconds (0 = never timeout)

Flags : Read / Write

Default value : 5

### cuda-device-id

    “cuda-device-id” gint

CUDA device id to use (-1 = auto)

Flags : Read / Write

Default value : -1

### io-mode

    “io-mode” Cuda-ipc-iomode *

Memory I/O mode to use. This option will be ignored if the selected IPC mode is mmap

Flags : Read / Write

Default value : copy (0)

### processing-deadline

    “processing-deadline” guint64

Maximum processing time for a buffer in nanoseconds

Flags : Read / Write

Default value : 20000000

## Named constants

### Cuda-ipc-iomode

#### Members

`copy` (0) – Copy remote memory
`import` (1) – Import remote memory

Since : 1.24

The results of the search are