# v4l2h265dec Source: [https://docs.qualcomm.com/doc/80-70022-50/topic/v4l2h265dec.html](https://docs.qualcomm.com/doc/80-70022-50/topic/v4l2h265dec.html) The v4l2h265dec plugin uses the V4L2 APIs to decode the video stream. - The plugin uses the H.265 video decoder to provide hardware accelerated H.265 (MPEG-H Part 2) decoding on supported platforms. - The plugin is based on the [GstVideoDecoder](https://gstreamer.freedesktop.org/documentation/video/gstvideodecoder.html) base class. ## Inheritance chain [GObject](https://docs.gtk.org/gobject/) → [GstObject](https://gstreamer.freedesktop.org/documentation/gstreamer/gstobject.html?gi-language=c) → [GstElement](https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c) → [GstVideoDecoder](https://gstreamer.freedesktop.org/documentation/video/gstvideodecoder.html) → GstV4l2VideoDec → v4l2h265dec The following tables provide information on pad templates and element properties of v4l2h265dec. For use cases, see [Video playback use cases](https://docs.qualcomm.com/doc/80-70022-50/topic/video-playback-use-cases.html). ## Pad configuration | Pad Name | Capabilities | Capabilities | Capabilities | | --- | --- | --- | --- | | SINK template: 'sink'
| video/x-h265 | alignment: | au | | SINK template: 'sink'
| video/x-h265 | stream-format: | byte-stream | | SRC template: 'src'
| video/x-raw | format: | { (string)NV12, (string)NV21 } | | SRC template: 'src'
| video/x-raw | width: | [ 1, 32768 ] | | SRC template: 'src'
| video/x-raw | height: | [ 1, 32768 ] | | SRC template: 'src'
| video/x-raw | framerate: | [ 0/1, 2147483647/1 ] | | | | | | | | | | | | | | | | ## Element configuration Note: For the current release, in the read-write properties, only **capture-io-mode** and **output-io-mode** are supported, and they're supported only with **(5): dmabuf-import - GST\_V4L2\_IO\_DMABUF\_IMPORT** property. Table : Element properties of v4l2h265dec | Property | Description | | --- | --- | | automatic-request-sync-point-flags: | Flags to use when automatically requesting sync points.
| | automatic-request-sync-points | Automatically request sync points when required.
| | capture-io-mode | Capture I/O mode (matches src pad).
| | device | Device location.
| | device-fd | File descriptor of the device.
| | device-name | Name of the device.
| | discard-corrupted-frames | Discard frames marked as corrupted instead of processed them as
the output.
| | extra-controls | Extra v4l2 controls (CIDs) for the device.
| | max-errors | Maximum consecutive decoder errors before returning a flow
error.
| | min-force-key-unit-interval | Minimum interval between force-key-unit requests in
nanoseconds.
| | name | The name of the object.
| | output-io-mode | Output side I/O mode (matches sink pad).
| | parent | The parent of the object.
| | qos | Handle Quality-of-Service events from downstream.
| **Parent Topic:** [Configure display, camera, encode and decode plugins](https://docs.qualcomm.com/doc/80-70022-50/topic/display-plugins.html) Last Published: Feb 20, 2026 [Previous Topic v4l2h264dec](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/v4l2h264dec.md) [Next Topic v4l2h264enc](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/v4l2h264enc.md)