# nvh264sldec

GstCodecs based NVIDIA H.264 video decoder

## Example launch line

    gst-launch-1.0 filesrc location=/path/to/h264/file ! parsebin ! nvh264sldec ! videoconvert ! autovideosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoDecoder
                        ╰──GstH264Decoder
                            ╰──nvh264sldec

## Factory details

Authors: – Seungha Yang

Classification: – `Codec/Decoder/Video/Hardware`

Rank – secondary

Plugin – nvcodec

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-h264:
      stream-format: { (string)avc, (string)avc3, (string)byte-stream }
          alignment: au
            profile: { (string)high, (string)main, (string)constrained-high, (string)constrained-baseline, (string)baseline }
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 48, 4096 ]
             height: [ 16, 4096 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
              width: [ 48, 4096 ]
             height: [ 16, 4096 ]
          framerate: [ 0/1, 2147483647/1 ]
             format: { NV12 }

    video/x-raw(memory:GLMemory):
              width: [ 48, 4096 ]
             height: [ 16, 4096 ]
          framerate: [ 0/1, 2147483647/1 ]
             format: { NV12 }

    video/x-raw(memory:CUDAMemory):
              width: [ 48, 4096 ]
             height: [ 16, 4096 ]
          framerate: [ 0/1, 2147483647/1 ]
             format: { NV12 }

Presence – always

Direction – src

Object type – GstPad

## Properties

### cuda-device-id

    “cuda-device-id” guint

Assigned CUDA device id

Flags : Read

Default value : 0

Since : 1.22

The results of the search are