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
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.