Nvjpegenc not working on Orin L4T container

**• Hardware Platform is Jetson Orin Devkit
**• JetPack Version is 5.0.1 and 5.0.2
**• Issue is nvjpegenc doesn’t work.

Run the docker container for Jetpack 5.0.2:
sudo nvidia-docker run -it --rm nvcr.io/nvidia/l4t-base:r35.1.0

Run a pipeline with nvjpegenc
gst-launch-1.0 videotestsrc num-buffers=2 ! videoconvert ! nvjpegenc ! multifilesink location=here%d.jpg

It should produce here0.jpg and here1.jpg

Instead I get

Pipeline is PREROLLING ...
InitNVJPG_safe 451: Host1x channel open failed
free(): double free detected in tcache 2
Aborted (core dumped)

Note:
This works with the host installation on the Jetson Orin Jetpack 5.0.1 and 5.0.2.
This works with the same jetpacks and containers for the Xavier AGX.

The issue is it doesn’t work with the Jetson Orin inside the containers.

Could there be some volume or environment which needs to be ran with the container?

Hi,
This looks to be duplicate of
Nvjpegenc not working on Orin Deepstream container

We are checking it and will update when there is further progress.

@abdo.babukr1 The workaround is post in Nvjpegenc not working on Orin Deepstream container - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums

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