i.MX 8M Plus Video Capture with only 1GiB of RAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX 8M Plus Video Capture with only 1GiB of RAM

461件の閲覧回数
sachin_patel
Contributor III

Hi,

I am trying to capture a video stream on both the i.MX 8M Plus EVK board and our own Hardware using the i.MX 8M Plus SoC and a camera device connected to the MIPI CSI-2 bus, using the tool "imx-enc-example" provided in the imx-yocto BSP.

When the EVK has all 6GiB, I have no issues, but if I drop down to only 1 GiB of Memory by adding mem=1G in u-boot bootargs, the EVK fails to capture. I have been able to capture on our hardware with only 1 GiB of Memory after reducing our CMA pool from the default 960 MiB to 256 MiB, but it seems to lose data before the encoding stage after the first 60 frames have been encoded.

Is there a minimum memory requirement to use the video pipeline from capture to encode? If so, is it related to the Memory Zones allocated at boot?

Thanks,

Sachin Patel 

0 件の賞賛
返信
1 返信

440件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Is there a minimum memory requirement to use the video pipeline from capture to encode? If so, is it related to the Memory Zones allocated at boot?

Yes, when using VPU to encode frame,VPU need cma zone.

0 件の賞賛
返信