Difference between revisions of "RPi Projects/StreamingVideo"

From eLinux.org
Jump to: navigation, search
Line 18: Line 18:
 
The following can be saved as a file on the desktop, and then the file can be made executable. Once this is set, when you click to open the file, you will have the choice to execute the file:
 
The following can be saved as a file on the desktop, and then the file can be made executable. Once this is set, when you click to open the file, you will have the choice to execute the file:
  
# title
+
## title
  
# run-raspicam-stream
+
## run-raspicam-stream
  
 
cd /usr/local/src/mjpg-streamer-master/mjpg-streamer-experimental
 
cd /usr/local/src/mjpg-streamer-master/mjpg-streamer-experimental
Line 32: Line 32:
  
 
==mplayer and netcat==
 
==mplayer and netcat==
http://smokespark.blogspot.ca/2013/06/26-streaming-live-video-from-raspicam.html
+
* http://smokespark.blogspot.ca/2013/06/26-streaming-live-video-from-raspicam.html
 +
* http://www.youtube.com/watch?v=9vGi376X3PA  a video that includes streaming and other info
  
 
This solution ''pushes'' data to one specific computer.
 
This solution ''pushes'' data to one specific computer.

Revision as of 21:11, 9 October 2013

Provisional Information

This information is provided as-is. If you have access to edit, then please do. If you do not have access, email me with your current info and I will eventually update it, as my schedule allows. Ricgal (talk) 01:29, 8 October 2013 (UTC)

Methods of Video Streaming

  • MJPG Streamer
  • mplayer & netcat
  • vlc
  • motion

MJPG-Streamer

I pursued the mjpg-streamer approach, and wound up using mjpg-streamer-experimental from github user:jacksonliam Other downloads from subversion and other sources did not seem to make a certain file on my raspi. Note that this version includes raspicam input plugin (based on raspistill mmal source code). This is excellent if you are using the raspicam accesory.

The directions are in the README.md section of the webpage.

This software includes a minimal http server so the image can be viewed through a web browser, with

The following can be saved as a file on the desktop, and then the file can be made executable. Once this is set, when you click to open the file, you will have the choice to execute the file:

    1. title
    1. run-raspicam-stream

cd /usr/local/src/mjpg-streamer-master/mjpg-streamer-experimental

export LD_LIBRARY_PATH=.

./mjpg_streamer -i "input_raspicam.so" -o "output_http.so -w ./www/"

Other Websites with MJPG-streamer

http://www.linuxcircle.com/2013/02/06/faster-video-streaming-on-raspberry-media-server-with-mjpg-streamer/

mplayer and netcat

This solution pushes data to one specific computer.

VLC

How to stream video from your RasPiCam to your Nexus 7 tablet using VLC