Live Video Streaming
If you already done the configuration for the builtin lvds camera. The LVDS camera streams on /dev/video0. For this MIPI configuration, it creates /dev/video1. Below configuration made as respect to two configurations which is builtin lvds-mipi and external mipi.
1. Verify Video Node
Step 1: Check the Video Device Node
ls /dev/video*The output should display /dev/video0 and /dev/video1. If the nodes are present, the driver has loaded successfully and the cameras are ready.
Note:
If the video node is not detected, refer to Troubleshooting
2. Boost Clocks & Enable Debug
Step 2: Open a Terminal and Run rc.local
- Press
Ctrl + Alt + Tand run:
cd ~/OPPILA_ORIN_L4T_36.5.0_ASTROPTIX_INTEGRATION/
sudo ./rc.local3. Start GStreamer Pipeline
Step 3: Run the GStreamer Command
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=UYVY ! videoconvert ! xvimagesinkIf the pipeline starts successfully, a video window will appear displaying the live camera feed of builtin LVDS. If you wanted to see the live camera feed of mipi J9, execute below command.
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,format=UYVY ! videoconvert ! xvimagesinkNote:
If you encounter a green screen, black screen, or no video output after launching the GStreamer pipeline, refer to Troubleshooting.
