Raspberry Pi command: raspivid -t 999999– hflip -o – -w 512 -h 512 -fps 15|nc [IP address of your computer here][port number of your computer here]

For your computer system, if you may be on windows you wish to get netcat. You likewise require MPlayer which you can acquire someplace as effectively. Then, run:.

[netcat executable file path] -L -p [port number to communicate on]|[mplayer executable path] -vo direct3d -fps 24 -cache 512 -.

nc for house windows (variation 1.12):.
https://eternallybored.org/misc/netcat/

mplayer:.
http://mplayerwin.sourceforge.internet/downloads.html

source

19 thoughts on “Extremely very little latency Raspberry Pi streaming evaluation.”

  1. Absolutelly brillant !!!! I useit with a rasperry pi, sending streaming throw SIM card 4g, and I receive it throw openVPN, on my Windows machine with a very low latency. Amazing. thanks a lot

  2. But where should Raspberry Pi command written ? python or terminal ?
    and i know that you need to install openCV to could make live streaming video !! do you do this step ?
    plz tell me i need this information in my graduation project 🙂

  3. This has not been working for me. Do you NEED the rasp pi camera module or do USB webcams work with this approach?
    I think it doesn't work for me because my USB webcam does not support MJPEG compression.
    Anybody have any ideas?

  4. This is how I do it and I also get very very low latency:

    on the RPi

    raspivid -w 720 -h 540 -t 0 -fps 20 -b 1000000 -o – | nc -l -p 12345 -m 4 -k

    on the pc

    nc 192.168.1.101 | mplayer -fps 60 -demuxer h264es –

    To measure the latency just have a digital clock run on the pc and point the camera at it. Then compare the clock in mplayer with the pc clock. Of course, this is only for estimation purposes, it's probably accurate only to 1 sec.

  5. AMAZING! THANKS A LOT! The latency is barely noticeable. Wishing someone who would come with OSD as an addition to the stream using MAVlink data. FPV would be absolutely fantastic then.

    RasPi:
    raspivid -t 999999 -vf -o – -w 720 -h 480 -fps 15 | nc 192.168.2.13 5001
    where 192.168.2.13 is an IP address of my laptop and 5001 was unused port (you may check it by a command "netstat -ano")

    Laptop:
    nc64 -L -p 5001 | mplayer -vo direct3d -fps 24 -cache 512 –

    nc for windows (version 1.12):
    https://eternallybored.org/misc/netcat/

    mplayer:
    http://mplayerwin.sourceforge.net/downloads.html

    All unzipped files from netcat and mplayer were extracted to the same folder.

    For anyone who would be interested in my setup, which work well indeed, although my hardware is pretty old – proof of robustness of configuration found by Mr. Oberhauser:
    Raspberry Pi 2 Model B (connected to router using WiFi)
    Crappy WiFi dongle Ralink 5370
    Standard Pi Camera (of course)
    7 year old Fujitsu Xi3650 on Win 7 Pro x64 (wired connection to router)
    10 year old Belkin 54g router

  6. wow!! I've just tried it and it really WORKS!   u're my hero now! LOL.  I couldn't get mplayer working on my mac but it did on a virtual machine with Win7.  Clean workaround that worked like a charm !

Leave a Reply

Your email address will not be published. Required fields are marked *