> For the complete documentation index, see [llms.txt](https://dev.solid-run.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.solid-run.com/renesas/rz-g2l-v2l/sbc-platform/rz-g2-other-articles/accelerated-video-encode-decode-on-rz-g2l-and-rz-v2l.md).

# Accelerated Video Encode & Decode on RZ/G2L and RZ/V2L

RZ/G2L and RZ/V2L SoCs include hardware h264 encoding and decoding hardware.\
This page gives example on usage.

### Requirements

This feature requires Renesas' proprietary “RZ MPU Video Codec Library for RZ/G2L & RZ/V2L” which is an optional feature of [SolidRun Yocto for RZ Family](https://github.com/SolidRun/meta-solidrun-arm-rzg2lc).

### Decode

```
# Get Demo File
wget https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_h264.mov

# This requires an active wayland compositor, e.g. weston
gst-launch-1.0 filesrc location=big_buck_bunny_720p_h264.mov \
  ! qtdemux ! h264parse ! omxh264dec ! vspmfilter outbuf-alloc=true ! waylandsink
```

### Encode

TBD.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.solid-run.com/renesas/rz-g2l-v2l/sbc-platform/rz-g2-other-articles/accelerated-video-encode-decode-on-rz-g2l-and-rz-v2l.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
