is there any way to shorten encoding latency

Hi,

I ran multimedia API samples/01_video_encode/video_encode to encode 4K H.265 stream, good news is encoding speed can reach 67fps, but i got high encode latency about 87ms, is there any way to shorten encoding latency? 1000/fps is better.

ubuntu@tegra-ubuntu:~/tegra_multimedia_api/samples/01_video_encode$ ./video_encode ReadySteadyGo_3840x2160_300.yuv 3840 2160 H265 ReadySteadyGo_3840x2160_8M.h265 --insert-spspps-idr -ifi 10000 -idri 10000 -fps 100 1 -br 8388608 -rc vbr -MinQpI 10 -MaxQpI 50 -MinQpP 10 -MaxQpP 50
Failed to query video capabilities: Inappropriate ioctl for device
NvMMLiteOpen : Block : BlockType = 8
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 8
892744264
842091865
===== NVENC blits (mode: 1) into block linear surfaces =====
Could not read complete frame from input file
File read complete.
----------- Element = enc0 -----------
Total Profiling time = 48.9342
Average FPS = 67.4375
Total units processed = 3301
Average latency(usec) = 87462
Minimum latency(usec) = 7814
Maximum latency(usec) = 99214

App run was successful

Thx.

Hi Yugui,
The result is acceptable and we currently have no plan on it.