Pi camera troubleshooting

Hi,

I want to stream in mission planner but it doesn’t work. ( I use Windows) I install gstreamer and open the mission planner and I don’t know where to activate it.

Can you help me as soon as possible, please?

Thanks.

Hi!

How exactly do you launch gstreamer on Raspberry Pi? As far as I remember, you should use 9000 port.

I install it like this: sudo apt-get install gstreamer1.0-tools gstreamer1.0-plugins-good gstreamer1.0-plugins-bad and after I download the gstream application from the link that it is in docs. And after I don’t know what to do

gstreamer is installed by default in our images, so I am not really sure, why you decided to install them once more.

Take a look at our docs, please. It has a dedicated entry on this issue.

So i will put “raspivid -n -w 1280 -h 720 -b 1000000 -fps 15 -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host=<remote_ip> port=9000” in raspberry via monitor and keyboard and the “gst-launch-1.0 -v udpsrc port=9000 caps=“application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264” ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=f” in the putty terminal or where?

  1. Enable camera in raspi-config
  2. Run “raspivid -n -w 1280 -h 720 -b 1000000 -fps 15 -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host= port=9000” on Rpi.
  3. Mission planner should pick it up if it has gstreamer support built-in.

I didn’t solved it. Look what it did. What I did wrong?

As far as I can put out on 0:47 gstreamer didn’t really get fed with video data and does clearly states so with “no data received from sensor”.

Before trying to integrate video stream in MP I reckon it might help getting video stream in a separate gstreamer instance as described in the docs.

I suggest running raspivid with sudo or double check if everything’s wired up alright if former doesn’t yield positive results right away.