Im streaming video in an unstable network with alot of packet loss. Trying to encode video using Jetson with slices, so if packet gets lost, only one slice of the image gets distorted instead of the whole image.
h265 sliced encoder works with this test pipeline
gst-launch-1.0 videotestsrc ! nvvidconv ! nvv4l2h265enc preset-level=UltraFastPreset maxperf-enable=true slice-header-spacing=200 SliceIntraRefreshInterval=20 iframeinterval=-1 idrinterval=-1 ! h265parse ! nvv4l2decoder ! nvvidconv ! glimagesink
but this makes the encoded stream bandwith ~5x larger, compared to non-sliced one, with same birtate settings, looks like slicing adds a cap on minimal bitrate
When I try the same stream with h264 encoder
gst-launch-1.0 videotestsrc ! nvvidconv ! nvv4l2h264enc preset-level=UltraFastPreset maxperf-enable=true slice-header-spacing=200 SliceIntraRefreshInterval=20 iframeinterval=-1 idrinterval=-1 ! h264parse ! nvv4l2decoder ! nvvidconv ! glimagesink
bandwidth is much better compared to h265, but I only see only top slice of the image decoded, the rest of the image is gray
Is there a way to get whole image displayed corrently, with sliced encoding, without sacrificing bandwith?
We are using Jetson Orin NX with Jetpack 6.2.2