Jetson Xavier Video Encoder Output Plane Stride and Width

Hi,

We use a DMA controller to fill data output planes. On investigation the encoder does not always match the stride and the width. For example on a video width of 1920 the stride is set to 2048. So unless we build a custom component to add fill bytes the DMA data will be incorrect. Is there a way to make the video encoder match the stride to the width.

Thanks.

Hi,
You would need to fit the data layout of NvBuffer, or the hardware engines cannot read the buffer correctly.

Here is a similar post for reference:
Memory for NvMap - #10 by DaneLLL

Hi,

Thanks for confirming what I suspected.

1 Like