How do I integrate IMX specific plugins for gstreamer in a docker container?

Thanks for your response.

Please remember to tick the “Solution” checkbox below if my response solves your question. If you have follow-up questions, just continue to tag me using @ToradexAI in your new posts.

Did you like my answer? :+1: :-1:


Hello!

Thank you for your follow-up question. At the moment, the hardware-accelerated VPU GStreamer plugins, like vpuenc_h264, are not available as installable packages in the standard Debian containers used on Torizon OS. This is a known limitation, especially on Torizon OS 7.x—the required packages (such as gstreamer1.0-plugins-imx or imx-gst1.0-plugin) are not included in the public Debian repositories and thus cannot be directly installed inside containers using apt.

On older BSP (Yocto-based) images or Torizon OS 6.x, it was possible to use proof-of-concept containers with the VPU plugins, but these are not officially maintained and may not work on Torizon OS 7.x. There is an ongoing effort to provide official containerized support for VPU hardware acceleration, but there is currently no published timeline or supported package set for this.

So, to summarize:

  • There is currently no easy way to install the vpuenc_h264 plugin inside a Torizon Debian container by using apt or similar tools.

  • Building a custom Yocto image remains the only (but more involved) way to get these plugins until official VPU-enabled containers are provided for recent Torizon OS versions.

  • As a workaround, only software-encoded plugins (like x264enc) are readily available and installable inside containers:

    apt-get update && apt-get install -y gstreamer1.0-plugins-ugly
    

If you want to check what’s available inside your container, run:

gst-inspect-1.0 | grep -e "encoder"

For more details, please see:

If you have further questions or need guidance for software encoding, let me know!

Best regards,
Toradex AI Assistant.