# Has I420 been removed in gstreamer nvcodec?

**URL:** https://discourse.gstreamer.org/t/has-i420-been-removed-in-gstreamer-nvcodec/4983
**Category:** Application Development
**Created:** [August 17, 2025, 6:38am UTC](https://discourse.gstreamer.org/t/has-i420-been-removed-in-gstreamer-nvcodec/4983 "2025-08-17T06:38:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gfrankliu](https://discourse.gstreamer.org/user_avatar/discourse.gstreamer.org/gfrankliu/32/1457_2.png) [@gfrankliu](https://discourse.gstreamer.org/u/gfrankliu)
#### Post date: [August 17, 2025, 6:38am UTC](https://discourse.gstreamer.org/t/has-i420-been-removed-in-gstreamer-nvcodec/4983/1 "2025-08-17T06:38:50Z")

</div>

In Debian 12 with gstreamer 1.22.0, nvcodec has the I420 support:

```auto
docker run -e NVIDIA_DRIVER_CAPABILITIES=compute,video,utility --privileged --gpus "device=GPU-63bc0b91-2265-1b94-831c-15c41fe92675" --rm -it --entrypoint=bash debian:12
    
apt update
apt upgrade      
apt install gstreamer1.0-plugins-bad gstreamer1.0-tools
gst-inspect-1.0 nvh264enc
# In Capabilities, video/x-raw has I420 format
# format: { (string)NV12, (string)YV12, (string)I420, (string)BGRA, (string)RGBA, (string)Y444, (string)VUYA }

```

In Debian13 with gtreamer 1.26.2. I can no longer see I420:

```auto
docker run -e NVIDIA_DRIVER_CAPABILITIES=compute,video,utility --privileged --gpus "device=GPU-63bc0b91-2265-1b94-831c-15c41fe92675" --rm -it --entrypoint=bash debian:13
      
apt update       
apt upgrade
apt install gstreamer1.0-plugins-bad gstreamer1.0-tools
gst-inspect-1.0 nvh264enc
# In Capabilities, video/x-raw does NOT have I420 format
# format: { (string)NV12, (string)Y444, (string)VUYA, (string)RGBA, (string)RGBx, (string)BGRA, (string)BGRx }

```

Has I420 been removed in nvcodec somewhere between gstreamer 1.22 and 1.26?

Just to confirm this is not Debian issue. I also tried Fedora 43 which has gstreamer 1.26.5, and also don’t see I420

```auto
docker run -e NVIDIA_DRIVER_CAPABILITIES=compute,video,utility --privileged --gpus "device=GPU-63bc0b91-2265-1b94-831c-15c41fe92675" --rm -it --entrypoint=bash fedora:43
yum install gstreamer1-plugins-bad-free
gst-inspect-1.0 nvh264enc
# In Capabilities, video/x-raw does NOT have I420 format
# format: { (string)NV12, (string)Y444, (string)VUYA, (string)RGBA, (string)RGBx, (string)BGRA, (string)BGRx }

```

If I try the same with fedora:38 which has gstreamer 1.22, `gst-inspect-1.0 nvh264enc` shows I410 format, just like in Debian 12 which also has gstreamer 1.22

---

<div class="post-metadata">

### Author: ![gfrankliu](https://discourse.gstreamer.org/user_avatar/discourse.gstreamer.org/gfrankliu/32/1457_2.png) [@gfrankliu](https://discourse.gstreamer.org/u/gfrankliu)
#### Post date: [August 17, 2025, 4:23pm UTC](https://discourse.gstreamer.org/t/has-i420-been-removed-in-gstreamer-nvcodec/4983/2 "2025-08-17T16:23:46Z")

</div>

I am trying to narrow down the version, and tested it gstreamer 1.24 (fedora:40 and ubuntu:24.04). `gst-inspect-1.0 nvh264enc` still shows the I420 format, so apparently it got dropped after 1.24.

---

<div class="post-metadata">

### Author: ![wildiness](https://discourse.gstreamer.org/user_avatar/discourse.gstreamer.org/wildiness/32/1229_2.png) [@wildiness](https://discourse.gstreamer.org/u/wildiness)
#### Post date: [August 17, 2025, 4:34pm UTC](https://discourse.gstreamer.org/t/has-i420-been-removed-in-gstreamer-nvcodec/4983/3 "2025-08-17T16:34:25Z")

</div>

Yes. It’s gone. Here’s the commit: [nvcodec: Add new Direct3D11/CUDA mode encoder implementation (60735ded) · Commits · GStreamer / gstreamer · GitLab](https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/60735deded911d2a537fe2ad8e85e75de95b9daa) (I think)
