Hardware platform: imx8qm
software platform: imx-p9.0.0_2.1.1-auto-ga-android
I wrote an application for recording 4-way videos, the application using Camera 1.0 Api. When the recording application is started, It using software coding rather then vpu enc,The cpu is high occupancy as shown in the figure. and adb logcat in the appendix.
Has anyone had this problem? please give me a solution, Thanks!
how many camera do you use? I haven't tested mediarecorder, but for gstreamer, which can support multi-channel encoding
any progress ,pls notify me. thanks.
i.MX ProcessorsProcessor Expert Software@joanxie
about android record multiple videos, any plans to solve skip frame?
can you try to use android-10 GA version? In pi version, we may limited the vpu instance to be used as 1
chenguoyin i.MX ProcessorsProcessor Expert Software
when recording four videos, I found four vpu_instance on top command result. so in android p version, the number of vpu instance is four.
when record four videos , I find four vpu_instance on top command result.
Any progress ?
The board has 4 cameras on imx8 about android OS. Recording one camera video is normal when use mediarecorder. but recording multiple (>2) channel camera video has skip frame. when mediarecorder is working ,the vpu_instance process will be found on top command. The number of vpu_instance is the same as the mediarecorder channel video number.
And how to use gstreamer on Android OS ?
maybe you can refer to the surroundview solution from official website, you can find application note and source code there:
https://www.nxp.com/design/designs/i-mx-surround-view-system:SURROUND-VIEW-APPLICATION
@Joan Xie
Are there other test cases for recording multiple videos on android ?
I want to record four channels of video with android api (mediarecorder), but the recorded video has skip frame, please help to analysis.