Whats your fpv streamer?

I’ve tried using gstreamer with the pi camera(what I hope to use for fpv)… However I can’t view on a windows computer. I’m open to other programs if there are any, or any information on gstreamer.


I used hstreamer on windows 7 before.
I first installed the standard version without success.
Then I tried the developer version and it worked

Here is a video on setting up gstreamer:

I tried using that video before, thanks for the link though, I think my problem could be that I am running Windows. 8.1. So I’m going to have to open a win 7 VM and try it then.

For me it works perfectly in Windows 8.1

I made this batch file to help me launch GStreamer on Windows 8.1:

C:\GStreamer\1.0\x86_64\bin\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

Then on the Pi two scripts, one to GStream to a local address, then another to broadcast from that address via UDP:

Camera Stream.sh

printf "Starting GStreamer camera stream...\n"
killall raspivid
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 \
    > /home/pi/Camera\ Stream.log &


printf "Starting broadcast...\n"
sudo killall socat
sudo socat UDP4-LISTEN:14550,fork UDP4-DATAGRAM:,broadcast,range= &
sudo socat UDP4-LISTEN:9000,fork UDP4-DATAGRAM:,broadcast,range= &

You’ll notice I also redirect another port (14550), that’s for APM. My APM start script is:

APM Start.sh

printf "Starting APM for Navio+...\n"
sudo killall ArduCopter-quad
sudo ArduCopter-quad -A udp: > /home/pi/APM\ Start.log &

This way, everything is broadcast and point-to-point connections are avoided. People reported problems with point to point connections when going in/out of network range. I still have to do range testing, but this seems pretty logical to me.

Hope that helps!

p.s. credit for the redirect idea goes to somebody on this forum (sorry I forgot the username). If you search on “socat” in this forum you should find more background information on this solution.


Thanks a ton, after messing around for a little bit I was able to get it. You wouldn’t happen to know the command to flip the display 180 degree

If I remember correctly it is -vf for vertical flip and -hf for mirror/horizontal flip.

I am getting great performance with mjpg-streamer on a c525. Almost no lag via 2.4ghz, even recording the stream from vlc and viewing via http at the same time.

Instructions for getting mjpg-streamer to work on the the raspi2 w/ 3.18 kernel were none existent, but I was able to figure it out from some old posts and using the new experimental github version.

The best thing is the CPU usage, its 1%-3% max…