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

hi!

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?

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