avdec_h265: Total image distortion even on 1% packet loss
Hi, I use rtp as h265 transport and found that even with 1% of packets loss image became totally distorted (static background became gray and only moving parts are shown). It seems that avdec_h265 has a bug because if I use NVidia HW decoder nvh265dec it decode that same stream without any visible artifacts.
How to reproduce:
gst-launch-1.0 videotestsrc is-live=true do-timestamp=true ! 'video/x-raw,width=640,height=480,framerate=30/1,format=I420' ! x265enc tune=zerolatency bitrate=2000 ! rtph265pay mtu=1400 aggregate-mode=zero-latency ! identity drop-probability=0.01 ! queue ! rtph265depay ! h265parse ! avdec_h265 ! videoconvert ! xvimagesink sync=false
If I replace in gstreamer pipeline above avdec_h265 with nvh265dec all will work without problems.
10 years ago there were a similar issue for avdec_h264 (https://bugzilla.gnome.org/show_bug.cgi?id=697806) and now avdec_h264 works good even for 10% packet loss.
SW versions:
GStreamer: 1.22.0
OS: Debian 12, amd64