Streaming a online video from a Raspberry Pi (RPi) over a cordless advertisement hoc network:.
The effectiveness of 3 methods.

Disclaimer: the to some degree unfastened analysis technique worked to obtain early & a sign advantages, nonetheless the efficiency and appropriate evaluation is deeply dependant of the computer system software application variations used, also and the testbed circumstances. This little film is because of that not expected to provide a conclusive contrast, however in its location some convenient insights about the compromise in between ease of usage and efficiency in regards to latency. This compromise might the natural method modification with upcoming variations of the examined program.

September2014

Parts utilized:.
Dell latitude D630 Core 2 Duo T7250 2 GB RAM.
Raspberry Pi item A.
D-Link 7-port USB 2. center.
Edimax 802.11 b/g/n nano USB adapter.
Raspberry Pi digicam board.

Software application utilized:.
Debian 7.6.
http://debian.org
GStreamer.10 and 1.
http://gstreamer.freedesktop.org
OpenCV 2.3.
http://opencv.org
Python 2.7.
http://python.org
Raspian Linux.
http://raspbian.org
Vlc.
http://videolan.org/vlc

Soundtrack:.
Plasma by Chill Provider.

source

31 thoughts on “Wirelessly streaming a video from a Raspberry to a remote notebook computer”

  1. This tutorial cant work, please follow my step and thank me later:

    Run this commands:
    1) sudo apt-get install vlc
    2) raspivid -o – -t 0 -hf -w 800 -h 400 -fps 24 |cvlc -vvv stream:///dev/stdin –sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264

    Noted*: your streaming address will be (http://(your pi address):8160)
    Stream your video using VLC player in Android or windows

    The android cant work , please fix it PLEASE !!!!!

  2. Could you please share the script to utilize the connection on the client side? I only need the basic code to generate picture/video from raw data and not the object detection algo. Thanks.

  3. I was having trouble with getting method 2 working as the author is using a combination of gstreamer 0.10 and 1.0
    My solution was using only gstreamer 1.0

    On the pi (Pi Model B+ V1.2):
    raspivid -fps 30 -w 480 -h 270 -n -t 0 -b 1280000 -o – | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=192.168.1.2 port=5000

    and on the client (desktop running arch linux):
    gst-launch-1.0 -v tcpclientsrc host=192.168.1.2 port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! autovideosink sync=false

    The pi's ip address is 192.168.1.2

    I noticed that reducing the bit-rate (-b) decreased the frame rate but had minimal effect on the image quality.
    at 1.28mbps the motion was smooth but at 128kbps the frame rate was about 5fps.

    the width and height are 1/4 of 1920 x 1080 but the resolution does not seem to effect the frame rate very much.

  4. J'si remarqué que vous êtes français et j'aurais des questions à propos du sujet que vous traitez dans vôtre vidéo vous serait-il possible de m'aider, si oui contacter moi sur mon adresse mail ([email protected]) (C'est parce que j'ai un projet que j'ai à faire au lycée)

  5. Hello!

    I have a strange task at hand, and I've tried everything. I was wondering if you could help.

    My task is to grab a stream put out by a RaspPi and save it to my PC. However, I need to view AND save it simultaneously.

    This works to view it (on PC):

    gst-launch-1.0 udpsrc port=5000 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! fpsdisplaysink sync=false text-overlay=false

    Okay, great. Now to save it to the PC simultaneously while viewing.

    I am just not experienced enough to figure this out. I know I have to use the "tee" command. But that's all I know…

    Could you help at all? You seem to know what you're doing.

  6. Dear, thank you for your remind!! I have already implemented raspivid and nc to send h264 stream, however,if you can opensource your "testMKFifo.py" python script , it will be a great behaviour!!!! Thank you for you intention it!

  7. Thanks so much for this. After wasting some hours googling latency with the pi cam I ended with the the exact three solutions you've demonstrated. I didn't test the last one and was about to give up but it looks great. I intend to use OpenCV as well so seeing that demo script running was particularly helpful.

Leave a Reply

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