VideoEncoder::encodeFromFd(example frontend) is very slow, If there are many thread use it.


I have 5 cameras \ 220 fps 2048*2448 frames \ 5 threads. I found the function encodeFromFd very slow sometimes.

about 20ms. Why it is not return immediately?

By default max performance is not enabled in frontend sample. Please apply ‘–max-perf’ from 01_video_encode to frontend and try again.