Thanks for the explanation @DaneLLL. So I can’t do GDR and setSliceLevelEncode(true)
at the same time, understood.
What about using GDR with slices enabled? I mean when calling setSliceLength(V4L2_ENC_SLICE_LENGTH_TYPE_BITS, 1024)
or similar. I found out that works but only on non-GDR slices:
As you can see, very first frame (IDR frame), as well as any following non GDR frame is subdivided into 1k slices. But GDR frames are only divided into 2/3/2 (I/P, P/I/P, P/I) slices. Is this the only behaviour supported?
Can you please also take a quick look at my other thread “unreliable metadata output with Slice Level Encode”? Just as this one, it was posted to the wrong category, unfortunately I don’t know how to move it.
Thanks
Michal