When processing png images, nvvideoconvert crashes with the error “buffer transform failed”. If you set compute-hw=1 as recommended in this topic, we get images with artifacts.
**• Hardware Platform: ** Jetson
• DeepStream Version: 6.2
**• JetPack Version: **R35 REVISION: 1.0
**• TensorRT Version: ** 8.4.1.5-1+cuda11.4
**• Issue Type: ** bugs
• 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)
Download images
png_images.zip (1.9 MB)
Run docker
docker run -it --rm -v
pwd:/data nvcr.io/nvidia/deepstream-l4t:6.2-triton
In docker
gst-launch-1.0 filesrc location=/data/foto.png ! pngparse ! pngdec ! queue ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA" ! nvvideoconvert ! pngenc ! filesink location=/data/foto_res.png
After this command nvvideoconvert crashes with the error:
0:00:00.174602041 92 0xaaaae17e3aa0 ERROR nvvideoconvert gstnvvideoconvert.c:3768:gst_nvvideoconvert_transform: buffer transform failed
ERROR: from element /GstPipeline:pipeline0/GstQueue:queue0: Internal data stream error.
If we add compute-hw=1
gst-launch-1.0 filesrc location=/data/foto.png ! pngparse ! pngdec ! queue ! nvvideoconvert compute-hw=1 ! "video/x-raw(memory:NVMM), format=RGBA" ! nvvideoconvert ! pngenc ! filesink location=/data/foto_res.png
After this command there is no error after this command, but images with artifacts