Apex AD10 GMSL Camera On Trial#
Feature Description#
Currently, there are more than 3 million possible combinations of cameras to choose from. It is impossible to achieve 100% test coverage. Due to the complexity of the hardware, it cannot be guaranteed to work 100% normally. In order to facilitate user use, we have listed all of the available cameras for trial use, allowing for quick verification.
Select GMSL On Trial#
Use TRIAL to use Feature#
Video Output#
You can use the following command to quickly open the camera and verify the effect.
Display the camera with a single 720P resolution.#
gst-launch-1.0 -v v4l2src device="/dev/video1" ! video/x-raw,width=1280,height=720,format=UYVY ! xvimagesink
Display the camera with a single 1080P resolution.#
gst-launch-1.0 -v v4l2src device="/dev/video0" ! video/x-raw,width=1920,height=1080,format=UYVY ! xvimagesink
Display four 1080p cameras.#
#Here, taking the camera resolution of 1920x1080 as an example, execute the following commands in the terminal under the Ubuntu desktop in order.
#Set the width and height of the display, which can be customized.
MIIVII_WIDTH=960
MIIVII_HEIGHT=540
#Set the image format and actual image width and height for the four cameras.
MIIVII_CONFIG="video/x-raw(memory:NVMM),format=(string)UYVY, width=1920, height=1080"
gst-launch-1.0 nvcompositor name=comp \
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=$MIIVII_WIDTH sink_0::height=$MIIVII_HEIGHT \
sink_1::xpos=$MIIVII_WIDTH sink_1::ypos=0 sink_1::width=$MIIVII_WIDTH sink_1::height=$MIIVII_HEIGHT \
sink_2::xpos=0 sink_2::ypos=$MIIVII_HEIGHT sink_2::width=$MIIVII_WIDTH sink_2::height=$MIIVII_HEIGHT \
sink_3::xpos=$MIIVII_WIDTH sink_3::ypos=$MIIVII_HEIGHT sink_3::width=$MIIVII_WIDTH sink_3::height=$MIIVII_HEIGHT ! nv3dsink \
nvv4l2camerasrc device=/dev/video0 ! $MIIVII_CONFIG ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! comp. \
nvv4l2camerasrc device=/dev/video1 ! $MIIVII_CONFIG ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! comp. \
nvv4l2camerasrc device=/dev/video2 ! $MIIVII_CONFIG ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! comp. \
nvv4l2camerasrc device=/dev/video3 ! $MIIVII_CONFIG ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! comp.
Troubleshooting#
Camera displays no image.#
Check if the camera lens cap is removed.
Camera displays a green screen.#
Check if the camera only supports self-triggering mode. If it does, refer to the advanced section.
Camera displays incorrect colors.#
When the camera image format does not match, the following effects may occur.
In this case, it is necessary to check if the image format is set correctly.