cudaipcsink

cudaipcsink exports CUDA memory for connected cudaipcsrc elements to be able to import it

Example launch line

gst-launch-1.0 videotestsrc ! cudaupload ! cudaipcsink

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSink
                    ╰──cudaipcsink

Factory details

Authors: – Seungha Yang

Classification:Sink/Video

Rank – none

Plugin – nvcodec

Package – GStreamer Bad Plug-ins

Pad Templates

sink

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 ]
video/x-raw:
         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 ]

Presencealways

Directionsink

Object typeGstPad


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


cuda-device-id

“cuda-device-id” gint

CUDA device id to use (-1 = auto)

Flags : Read / Write

Default value : -1


ipc-mode

“ipc-mode” Cuda-ipc-mode *

IPC mode to use

Flags : Read / Write

Default value : legacy (0)


Named constants

Cuda-ipc-mode

Members

legacy (0) – Legacy IPC mode
mmap (1) – Memory Map

Since : 1.24


The results of the search are