# Video
Source: [https://docs.qualcomm.com/doc/80-70014-50/topic/video.html](https://docs.qualcomm.com/doc/80-70014-50/topic/video.html)
The [v4l2h264enc](https://docs.qualcomm.com/doc/80-70014-50/topic/v4l2h264enc.html) and [v4l2h265enc](https://docs.qualcomm.com/doc/80-70014-50/topic/v4l2h265enc.html) video encode
plugins connect with the camera plugin to implement advance video encode (H.264 or H.265)
use cases. The [v4l2h264dec](https://docs.qualcomm.com/doc/80-70014-50/topic/v4l2h264dec.html) and [v4l2h265dec](https://docs.qualcomm.com/doc/80-70014-50/topic/v4l2h265dec.html) video
decode plugins connect with Waylandsink to implement the video playback use
cases.
## Encode
The figure shows the architecture for video encoding. The v4l2h264enc and v4l2h265enc
plugins can be connected to a file multiplexer (MP4 or MPEGTS) to save the encode
bitstream to the file system.
For video encode use cases, see [Camera and video encode](https://docs.qualcomm.com/doc/80-70014-50/topic/camera-and-video-encode.html).
Figure : Video encode pipeline

Table : Video encode components
| Components | Description |
| --- | --- |
| qtiqmmfsrc | Captures and provides multiple video streams in parallel. For
more information on the camera service, see [Camera](https://docs.qualcomm.com/doc/80-70014-50/topic/camera-arch.html). |
| Video encode plugins | Uses the V4L2 driver and APIs to encode the video stream.