[Live-devel] Recording mjpeg on http

Eric Flickner eric.flickner at gmail.com
Thu Apr 3 01:08:39 PDT 2008


IP Cameras

Many network-enabled cameras provide M-JPEG streams that network clients can
connect to. Mozilla <http://en.wikipedia.org/wiki/Mozilla> -based browsers
have native support for viewing these M-JPEG streams.

Some network-enabled cameras provide their own M-JPEG interfaces as part of
the normal feature set. For cameras that don't provide this feature
natively, a server can be used to transcode the camera pictures into an
M-JPEG stream and then provide that stream to other network clients. Some
popular M-JPEG server software includes:

*  Motion  <http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome> [1] 

*  Zoneminder  <http://www.zoneminder.com/> [2] 

*  MJPG-streamer  <http://mjpg-streamer.sf.net> [3] 

*  Palantir  <http://www.fastpath.it/products/palantir/> [4] 

[edit
<http://en.wikipedia.org/w/index.php?title=Motion_JPEG&action=edit&section=5
> ] M-JPEG over HTTP

HTTP streaming separates each image into individual HTTP replies on a
specified marker. RTP streaming creates packets of a sequence of JPEG images
that can be received by clients such as Quicktime
<http://en.wikipedia.org/wiki/Quicktime>  or VLC
<http://en.wikipedia.org/wiki/VLC> .

The server software mentioned above stream the sequence of JPEGs over HTTP
<http://en.wikipedia.org/wiki/HTTP> . A special mime-type content
<http://en.wikipedia.org/wiki/MIME_type#Content-type>  type
multipart/x-mixed-replace;boundary= informs the browser to expect several
parts as answer separated by a special boundary. This boundary is defined
within the MIME-type. For M-JPEG streams the JPEG data is send to the client
with a correct HTTP-header. The TCP connection is not closed as long as the
client wants to receive new frames and the server wants to provide new
frames. Two basic implementations of such a server are the test-server of
<http://www.charliemouse.com/code/cambozola/> cambozola and the webcam
server  <http://mjpg-streamer.sf.net> MJPG-Streamer.

 

Source :  http://en.wikipedia.org/wiki/MJPEG#M-JPEG_over_HTTP

 

 

Thanks,

 

Eric

 

From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Cristaldi Ambra
Sent: Wednesday, April 02, 2008 9:34 AM
To: live-devel at ns.live555.com
Subject: [Live-devel] Recording mjpeg on http

 

Hi Ross,

I have an Axis camera that can send video frames in MJPEG format using an
HTTP url. 

My question is: can we record this kind of video stream with Live555
sources? 

There are classes or functions that support video streaming over http?

(I work on Windows platform).

Thanks in advance.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20080403/13229b8f/attachment-0001.html 


More information about the live-devel mailing list