VOXL UVC Server not connecting
-
voxl:~$ voxl-uvc-server -d -m Enabling debug messages Enabling MPA debug messages voxl-uvc-server starting Image resolution 640x480, 30 fps chosen UVC initialized Device found Device opened uvc_get_stream_ctrl_format_size succeeded for format 0 Streaming starting Got frame callback! frame_format = 3, width = 640, height = 480, length = 614400, ptr = (nil) * got image 30 * got image 60 * got image 90 * got image 120 * got image 150 * got image 180 * got image 210 * got image 240 * got image 270 * got image 300 * got image 330 * got image 360 * got image 390 * got image 420 * got image 450 * got image 480 * got image 510 * got image 540 * got image 570 * got image 600 * got image 630 * got image 660 * got image 690 * got image 720 * got image 750 * got image 780 * got image 810 * got image 840 * got image 870 * got image 900 * got image 930 * got image 960 * got image 990 ^CGot SIGINT, exiting helper thread received sigusr 10 channel 0 request thread closing Done streaming UVC exited voxl-uvc-server ending voxl:~$
-
@Kris Okay, so that shows that voxl-uvc-server is running.
-
@Eric-Katzfey
What do I need to do to view the images/video from my UVC camera?voxl:~$ show-video-device-info.sh /dev/video2: USB Camera 0bda:3035
-
@Kris You run
voxl-uvc-server
to get the frames from the camera. See docs.modalai.com/voxl-uvc-server for more information. Then you runvoxl-streamer -c uvc-generic
to create an RTSP stream that can be viewed remotely using VLC or QGC. Se docs.modalai.com/voxl-streamer for more information. -
@Eric-Katzfey
This is where I am a little confused. Do I need to SSH into VOXL and run thevoxl:~$ voxl-uvc-server
in one terminal. Then open a new terminal, SSH into VOXL again and run
voxl:~$ voxl-streamer -c uvc-generic
-
@Eric-Katzfey Ok, Thank you!!! I finally got it working
-
@Kris I usually use
adb shell
to setup two separate sessions. I run voxl-uvc-server in one and voxl-streamer in the other. -
@Eric-Katzfey How can I change the frame rates, etc.
Or edit the config files? -
@Eric-Katzfey I am trying to get better quality because I need to record via some type of Screen Recorder. I would prefer to save the recorded videos to an SD card, but I don't think that is possible.
-
@Kris Yes, you can edit the config files to change resolution, frame rate, etc.
-
@Kris We don't currently have a way to save to SD card from the UVC camera. However, you can create your own code to do this. This is a feature that we will be adding in the future.
-
@Eric-Katzfey Would I edit the config files from the "uvc-geneirc" at the top or the "uvc-video" at the bottom of the config files?
-
@Kris If you are using the uvc-generic configuration then that is the one that you would edit.
-
@Eric-Katzfey Got it
Thank you for your help and quick responses -
WOW what a great thread, so on time for me Thanks Kris