# Video Encoding in A100 GPU

**URL:** <https://forums.developer.nvidia.com/t/video-encoding-in-a100-gpu/325753>\
**Category:** DeepStream SDK\
**Tags:** deepstream\
**Created:** [March 3, 2025, 1:12pm UTC](https://forums.developer.nvidia.com/t/video-encoding-in-a100-gpu/325753 "2025-03-03T13:12:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![t-ivrihikri](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@t-ivrihikri](https://forums.developer.nvidia.com/u/t-ivrihikri)\
**Post date:** [March 3, 2025, 1:12pm UTC](https://forums.developer.nvidia.com/t/video-encoding-in-a100-gpu/325753/1 "2025-03-03T13:12:18Z")

</div>

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)** GPU  
**• DeepStream Version** 7.1  
**• JetPack Version (valid for Jetson only)**  
**• TensorRT Version** 10.3.0.26  
**• NVIDIA GPU Driver Version (valid for GPU only)** A100  
**• Issue Type( questions, new requirements, bugs)** question  
**• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)**  
**• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)**

We are facing an issue when running our video pipeline on top of A100 GPU. We found out that we are using Deepstream’s nvv4l2h264enc encoder, but A100 GPU does not contain hardware encoder, per [Video Encode and Decode GPU Support Matrix | NVIDIA Developer](https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new)

When trying to find alternative solutions, we thought about using software encoder, particularly x264enc which is gstreamer’s encoder. We faced the same issues as mentioned here [X264enc plugin is not available from within my docker container - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums](https://forums.developer.nvidia.com/t/x264enc-plugin-is-not-available-from-within-my-docker-container/277919)

We have tried all steps mentioned by the Nvidia’s moderator throughout the thread, but still when running “gst-inspect-1.0 x264enc” we get the error “No such element or plugin ‘x264enc’”. We are unable to run ANY pipeline involving encoding of video under A100 GPU. Note that on other GPUs, the same code works as expected.

We have some questions regarding this issue:

1. What are we missing in adding the software encoder to deepstream 7.1 image?
2. What alternatives are there for processing videos in A100 GPU, which contains no hardware encoder? When searching on the web, using gstreamer ‘s x264enc is mentioned as the common solution for this scenario.

---

<div class="post-metadata">

**Author:** ![junshengy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/junshengy/32/251332_2.png) [@junshengy](https://forums.developer.nvidia.com/u/junshengy)\
**Post date:** [March 4, 2025, 2:11am UTC](https://forums.developer.nvidia.com/t/video-encoding-in-a100-gpu/325753/3 "2025-03-04T02:11:58Z")

</div>

> [@t-ivrihikri](#):
>
> What are we missing in adding the software encoder to deepstream 7.1 image?

Which docker image do you use? `x264enc` should be available if installed correctly

```bash
 docker run -it --rm --privileged --gpus all --network host nvcr.io/nvidia/deepstream:7.1-gc-triton-devel

/opt/nvidia/deepstream/deepstream/user_additional_install.sh

# This script will clear the gstreamer cache.  
# rm -rf ~/.cache/gstreamer-1.0/
/opt/nvidia/deepstream/deepstream/install.sh

```

 ![image](https://global.discourse-cdn.com/nvidia/original/4X/c/e/3/ce35e4e328855bb8b62a95db2a2cc09bdd6f1dd3.png)

> [@t-ivrihikri](#):
>
> What alternatives are there for processing videos in A100 GPU, which contains no hardware encoder? When searching on the web, using gstreamer ‘s x264enc is mentioned as the common solution for this scenario.

Due to copyright issues, x264 is not installed by default in the docker image, but it is the recommended software encoding plugin.

---

<div class="post-metadata">

**Author:** ![t-ivrihikri](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@t-ivrihikri](https://forums.developer.nvidia.com/u/t-ivrihikri)\
**Post date:** [March 5, 2025, 9:42am UTC](https://forums.developer.nvidia.com/t/video-encoding-in-a100-gpu/325753/4 "2025-03-05T09:42:44Z")

</div>

Thanks for the quick reply!

We are working with nvidia/deepstream:7.1-triton-multiarch and not with gc-triton-devel.

Is there a way to add the plugin to the multiarch image?

---

<div class="post-metadata">

**Author:** ![junshengy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/junshengy/32/251332_2.png) [@junshengy](https://forums.developer.nvidia.com/u/junshengy)\
**Post date:** [March 5, 2025, 9:44am UTC](https://forums.developer.nvidia.com/t/video-encoding-in-a100-gpu/325753/5 "2025-03-05T09:44:08Z")

</div>

For installing `x264enc`, they are the same, please use the script mentioned above to install

---

<div class="post-metadata">

**Author:** ![t-ivrihikri](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@t-ivrihikri](https://forums.developer.nvidia.com/u/t-ivrihikri)\
**Post date:** [March 5, 2025, 3:02pm UTC](https://forums.developer.nvidia.com/t/video-encoding-in-a100-gpu/325753/6 "2025-03-05T15:02:37Z")

</div>

> [@junshengy](#):
>
> `opt/nvidia/deepstream/deepstream/user_additional_install`

Thanks! The x264enc now works, but we now see that the uri\_decode\_bin automatically selects nvv412decoder and does not reproduce an error. When trying to find alternatives for software decoder, we see that avdec\_h264 is not installed in the image. Trying to download it to the image failed as well.

Is there a solution for this issue also?

---

<div class="post-metadata">

**Author:** ![junshengy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/junshengy/32/251332_2.png) [@junshengy](https://forums.developer.nvidia.com/u/junshengy)\
**Post date:** [March 6, 2025, 3:16am UTC](https://forums.developer.nvidia.com/t/video-encoding-in-a100-gpu/325753/7 "2025-03-06T03:16:37Z")

</div>

> [@t-ivrihikri](#):
>
> Thanks! The x264enc now works, but we now see that the uri\_decode\_bin automatically selects nvv412decoder and does not reproduce an error. When trying to find alternatives for software decoder, we see that avdec\_h264 is not installed in the image. Trying to download it to the image failed as well.
> 
> Is there a solution for this issue also?

A100 can use hardware decoding, but does not support hardware encoding.

> **[Video Encode and Decode Support Matrix](https://developer.nvidia.com/video-encode-decode-support-matrix)**
>
> Find the related video encoding and decoding support for all NVIDIA GPU products.

Some GPL libraries have been removed from the docker image and need to be reinstalled

```auto
ldd /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so

apt install --reinstall libmp3lame0 libxvidcore4

/opt/nvidia/deepstream/deepstream/user_additional_install.sh

```

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [February 2, 2026, 2:24am UTC](https://forums.developer.nvidia.com/t/video-encoding-in-a100-gpu/325753/9 "2026-02-02T02:24:44Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
