Hello NXP!
I am using a custom board based on imx8 on Android 12.
I have 4 camera sensors ISX019 connected with serializer max96701 to deserializer max9286. All are probed correctly but I would like to capture the camera image from user space using gstreamer instead of using the evs_app app to make sure the camera driver is working properly
By default gstreamer is not installed on Android Automotive so I built it externally using cerebro. I added gst-launch-1.0 as a package to the android system but it seems that my installation is not complete at it does not find the plugin "v4l2src" when I run gst-launch-1.0 v4l2src ...
Here is what I have done so far:
- Created a Android.bp file providing the gstreamer prebuilt binaries and libraries built in cerebro
- Adding in my device configuration file "gst-launch-1.0" under PRODUCT_PACKAGES
PRODUCT_PACKAGES += \
gst-launch-1.0 \
gst-inspect-1.0 \
Also what I have noticed is when I run gst-inspect-1.0 it only counts 1 plugin and 2 features
Any suggestions are appreciated. If someone knows if there is a better way to debug the cameras on Android Automotive please let me know
Thanks
Thanks for responding. I am using the imx8qm. I checked the link you sent me I think it is the same problem as well.
But the reply does not solve the issue for me. I know that the imx8qm uses the plugin v4l2src as doing the following on Yocto works to capture the camera image
gst-launch-1.0 v4l2src device=/dev/video5 num-buffers=1 ! jpegenc ! filesink location=a.jpg
But this does not work on my Android Automotive yet as I can't find a way to install in the system the plugins needed by gstreamer.
BR