Difference between revisions of "RPi Projects/StreamingVideo"

From eLinux.org
Jump to: navigation, search
(Add a link and edit for proper formatting)
Line 16: Line 16:
 
This software includes a minimal http server so the image can be viewed through a web browser, with  
 
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:
+
The following can be saved as a file on the desktop, and then the file can be made executable:
 
+
#
## title
+
# title
 
+
# run-raspicam-stream  
## run-raspicam-stream
+
cd /usr/local/src/mjpg-streamer-master/mjpg-streamer-experimental
 
+
export LD_LIBRARY_PATH=.
cd /usr/local/src/mjpg-streamer-master/mjpg-streamer-experimental
+
./mjpg_streamer -i "input_raspicam.so" -o "output_http.so -w ./www/"
 
+
Once this is set, when you click to open the file, you will have the choice to execute the file.
export LD_LIBRARY_PATH=.
 
 
 
./mjpg_streamer -i "input_raspicam.so" -o "output_http.so -w ./www/"
 
  
 
===Other Websites with MJPG-streamer===
 
===Other Websites with MJPG-streamer===

Revision as of 21:36, 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:

#
# title
# 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/"

Once this is set, when you click to open the file, you will have the choice to execute the file.

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