# v4l2h264dec Source: [https://docs.qualcomm.com/doc/80-70022-50/topic/v4l2h264dec.html](https://docs.qualcomm.com/doc/80-70022-50/topic/v4l2h264dec.html) The v4l2h264dec plugin uses the V4L2 APIs to decode the video stream. - The plugin uses the H264 video decoder to provide hardware accelerated H.264 (MPEG-4 Part 10) 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 → v4l2h264dec The following tables provide information on pad templates and element properties of v4l2h264dec. 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-h264 | alignment: | au | | SINK template: 'sink'
| video/x-h264 | stream-format: | byte-stream | | SINK template: 'sink'
| video/x-h264 | level: | { (string)1, (string)1b, (string)1.1, (string)1.2, (string)1.3,
(string)2, (string)2.1, (string)2.2, (string)3, (string)3.1,
(string)3.2, (string)4, (string)4.1, (string)4.2, (string)5,
(string)5.1 } | | SINK template: 'sink'
| video/x-h264 | profile: | { (string)baseline, (string)constrained-baseline, (string)main,
(string)high, (string)constrained-high } | | 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 v4l2h264dec | 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 processing 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 qtisocketsrc](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/qtisocketsrc.md) [Next Topic v4l2h265dec](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/v4l2h265dec.md)