J4125(Gen9) has low performance for sample_decode:
sample_decode h264 -i 1080p.264 -o /dev/null -rgb4
On the Windows side, with 2021R1, it is 30fps
On the Linux side, only 15fps, any ideas to improve the performance?
We tried reproducing your issue on a Coffee Lake machine but couldn't reproduce your issue. IoT processors, e.g., Gemini Lake Processor, have relatively simple/slow CPU cache hierarchies, so I/O will be slow. That's why the problem isn’t apparent on Coffee Lake Processor.
To see the true performance of the HW, please use the following command line:
sample_decode h264 -i 1080p.264
(Remove the pixel format conversion options and output options)
You may need to add flags to keep the frames in video memory like '-vaapi' for Linux.
Performance should increase with multiple simultaneous decodes.
If this resolves your issue, please accept this as a solution. This might help others with similar issue. Thanks.
We assume that your issue is resolved. If you need any further assistance, please post a new question as this query will no longer be monitored by Intel.