I have done config for airPi according to IP/USB manual.
In openhd-settings-1.txt file there is default settings for gst-launch … like this:
USBCamera="gst-launch-1.0 uvch264src device=/dev/video1 initial-bitrate=$1 average-bitrate=$1 iframe-period=1000 name=src auto-start=true src.vidsrc ! queue ! video/x-h264,width=1280,height=720,framerate=30/1 ! h264parse ! rtph264pay
Above settings doesn’t work for me.
ArduCam B0200 have two devices in /dev/. Video0 is for MJPEG, video1 is for H.264
My USBCamera string looks like this: USBCamera=“gst-launch-1.0 v4l2src device=/dev/video1 ! queue ! video/x-h264,width=1280,height=720 ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5600”
But still not work.
On airPi gst-launch process start propperly but on groundPi no video. Telemetry works fine.
I’m using a PI4 with the default image (buster) on the ground station, and a PI4 with buster on the Air unit. PI Cam works, but when I use a USB cam (Logitech C900), and create the file ‘Air.txt’ on the air station, the camera is streaming, but I get no image on the GS. I verified the gstreamer pipe is correct, and I can display the image on the air unit screen.
Is there a setting on the GS to enable the single USB camera?
Has anybody resolved this issue?
I have the same problem by using the gstreamer test source instead of usbcam
I use the v202 (Buster) prebuild image, startup everything works perfect with raspicam.
Now i followed the guide to use USB cam
create air.txt
SecondaryCamera=USB
IsCamera1Enabled=1
USBCamera=“gst-launch-1.0 videotestsrc ! video/x-raw,width=160,height=120,framerate=30/1 ! videoconvert ! v4l2h264enc ! h264parse config-interval=3 ! rtph264pay ! udpsink host=127.0.0.1 port=5600”
startup again, now video at all
what could be the reason for that?
use qopenhd on ground pi and on android phone also nothing on
EXPERIMENTAL Secondary IP/USB Camera UDP Port (DON’T CHANGE)
VIDEO_UDP_PORT2=5601
my setup:
Ground:
Raspi3+
2WN722N
Air:
Raspi4
1 AWUS036NHA
Is there a sample configuration file that works with the test video? Never got it to work by following the instructions. I’m using 2.01. No video ever appears on the GS, no matter what settings I change.