# v4l2h264dec Source: [https://docs.qualcomm.com/doc/80-70014-50/topic/v4l2h264dec.html](https://docs.qualcomm.com/doc/80-70014-50/topic/v4l2h264dec.html) The v4l2h264dec plugin uses the V4L2 APIs for decoding the video stream. This plugin utilizes H264 video decoder to provide hardware accelerated H.264 (MPEG-4 Part 10) decoding on platforms that support it and is based on [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-70014-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 are 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 it would be useful


| | 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 outputting them


| | extra-controls | Extra v4l2 controls (CIDs) for the device


| | max-errors | Max consecutive decoder errors before returning flow error


| | min-force-key-unit-interval | Minimum interval between force-keyunit 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:** [Qualcomm GST plugins](https://docs.qualcomm.com/doc/80-70014-50/topic/qim-sdk-plugins.html) Last Published: Oct 27, 2025 [Previous Topic qtiqmmfsrc](https://docs.qualcomm.com/bundle/publicresource/80-70014-50/topics/qtiqmmfsrc.md) [Next Topic v4l2h265dec](https://docs.qualcomm.com/bundle/publicresource/80-70014-50/topics/v4l2h265dec.md)