Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

jacksonliam/mjpg-streamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

This is a fork ofhttp://sourceforge.net/projects/mjpg-streamer/ with added support for the Raspberry Pi camera via the input_raspicam plugin.

mjpg-streamer is a command line application that copies JPEG frames from oneor more input plugins to multiple output plugins. It can be used to streamJPEG files over an IP-based network from a webcam to various types of viewerssuch as Chrome, Firefox, Cambozola, VLC, mplayer, and other software capableof receiving MJPG streams.

It was originally written for embedded devices with very limited resources interms of RAM and CPU. Its predecessor "uvc_streamer" was created becauseLinux-UVC compatible cameras directly produce JPEG-data, allowing fast andperfomant M-JPEG streams even from an embedded device running OpenWRT. Theinput module "input_uvc.so" captures such JPG frames from a connected webcam.mjpg-streamer now supports a variety of different input devices.

Security warning

WARNING: mjpg-streamer should not be used on untrusted networks!By default, anyone with access to the network that mjpg-streamer is runningon will be able to access it.

Plugins

Input plugins:

Output plugins:

Building & Installation

You must have cmake installed. You will also probably want to have a developmentversion of libjpeg installed. I used libjpeg8-dev. e.g.

sudo apt-get install cmake libjpeg8-dev

If you do not have gcc (and g++ for the opencv plugin) you may need to install those.

sudo apt-get install gcc g++

Simple compilation

This will build and install all plugins that can be compiled.

cd mjpg-streamer-experimentalmakesudo make install

By default, everything will be compiled in "release" mode. If you wish to compilewith debugging symbols enabled, you can do this:

cd mjpg-streamer-experimentalmake distcleanmake CMAKE_BUILD_TYPE=Debugsudo make install

Advanced compilation (via CMake)

There are options available to enable/disable plugins, setup options, etc. Thisshows the basic steps to enable the experimental HTTP management feature:

cd mjpg-streamer-experimentalmkdir _buildcd _buildcmake -DENABLE_HTTP_MANAGEMENT=ON ..makesudo make install

Usage

From the mjpeg streamer experimentalfolder:

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

SeeREADME.md or the individual plugin's documentation for more details.

Discussion / Questions / Help

Probably best in this threadhttp://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&t=45178

Authors

mjpg-streamer was originally created by Tom Stöveken, and has receivedimprovements from many collaborators since then.

License

mjpg-streamer is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.


[8]ページ先頭

©2009-2025 Movatter.jp