The capture frame rate has been reduced after the nvarguscamerasrc’s layout was change form "NvBufferLayout_BlockLinear" to "NvBufferLayout_Pitch"

I can get 25 fps by using two imx586/477(4000*3000mode) sensors when work in NvBufferLayout_BlockLinear.
Since my application needs to convert NVMM-memory to cpu-memory in order to obtain correct NV12 yuv data,I changed the layout form “NvBufferLayout_BlockLinear” to “NvBufferLayout_Pitch” in gstnvarguscamerasrc.cpp,
and capture frame rate has been reduced to 23.3fps after the nvarguscamerasrc’s layout was change.
Does using “NvBufferLayout_Pitch-layout” cost more system performance? How can I solve this problem?

Hi,
Please share the print before and after the customization for reference:

$ gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),format=NV12,width=4000,height=3000,framerate=25/1' ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v

And make sure you run VIC engine at max frequency(disable DFS).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.