Dear NVIDIA Developer Forum,
we are testing a Jetson Nano board with jetpack 4.3, and we are experiencing some issues when using “nvv4l2decoder”.
We are comparing two simple GStreamer pipelines, both use videotestsrc as video input for Nvidia HW Encoder, after using the corresponding parser, we use two different decoders, “avdec_h264” and “nvv4l2decoder” to get the decoded output (yuv file).
When using NVIDIA HW decoder we are detecting some issues in the decoded picture, the problems seems to be in chroma transitions (mainly horizontal transitions, but slightly also in vertical transitions).
The pipelines we are using are:
For SW decoder “avdec_h264”:
gst-launch-1.0 videotestsrc num-buffers=10 ! ‘video/x-raw, width=(int)1280, height=(int)720, format=(string)I420, framerate=(fraction)50/1’ ! nvvidconv ! nvv4l2h264enc bitrate=8000000 vbv-size=8000000 iframeinterval=50 preset-level=3 maxperf-enable=0 profile=4 insert-vui=1 insert-sps-pps=1 num-B-Frames=0 cabac-entropy-coding=1 ! h264parse ! video/x-h264,stream-format=byte-stream,alignment=au ! avdec_h264 ! nvvidconv ! ‘video/x-raw, width=(int)1280, height=(int)720, format=(string)I420, framerate=(fraction)50/1’ ! filesink location=SWDec_H264720p50IP.yuv
For HW decoder “nvv4l2decoder”:
gst-launch-1.0 videotestsrc num-buffers=10 ! ‘video/x-raw, width=(int)1280, height=(int)720, format=(string)I420, framerate=(fraction)50/1’ ! nvvidconv ! nvv4l2h264enc bitrate=8000000 vbv-size=8000000 iframeinterval=50 preset-level=3 maxperf-enable=0 profile=4 insert-vui=1 insert-sps-pps=1 num-B-Frames=0 cabac-entropy-coding=1 ! h264parse ! video/x-h264,stream-format=byte-stream,alignment=au ! nvv4l2decoder ! nvvidconv ! ‘video/x-raw, width=(int)1280, height=(int)720, format=(string)I420, framerate=(fraction)50/1’ ! filesink location=HWDec_H264720p50IP.yuv
If you compare side-to-side both decoded sequences (please see attached file), you can see some chroma errors in some horizontal bar transitions. For example compare the Violet-to-Cyan transition or compare the Violet-to-White transition.
Sorry if this topic has been already open, but I didn’t find something similar. We would appreciate your help in this issue. Thanks in advance.
Best Regards,
Gaspar.