Hi,
You are correct there are issues in slice level encoding. We see two issues:
- - -report-metadata does not report correct information in slice level encoding
- -slt 1 does not work properly
We will investigate further.
On 5.1.2 or 5.1.3, please run in Slice length type = Bytes:
$ ./video_encode a.yuv 640 480 H265 a.h265 -slt 2 -slen 10000 --sle
$ ./video_encode a.yuv 640 480 H264 a.h264 -slt 2 -slen 10000 --sle
And please manually add print of buffer size in encoder_capture_plane_dq_callback() to check.