The Debian Package webcam-emu
----------------------------

webcam-emu is a network mjpeg (mjpg or motion jpeg) cameras' emulator,
i.e Axis network video cameras, http://axis.com 

Examples.

Run webcam-emu as non-root users:
$ webcam-emu
[2009-05-15 16:49:42] INFO  WEBrick 1.3.1
[2009-05-15 16:49:42] INFO  ruby 1.8.5 (2006-08-25) [i486-linux]
[2009-05-15 16:49:42] INFO  WEBrick::HTTPServer#start: pid=13089 port=60001
localhost - - [19/May/2009:16:04:57 MSD] "GET /mjpg/video.mjpg?fps=7&mode=2 HTTP/1.1" 200 0
- -> /mjpg/video.mjpg?fps=7&mode=2
...

or as daemon:
   $ webcam-emu --daemon
or as daemon on debian/ubuntu:
   # invoke-rc.d webcam-emu start
or
   # /etc/init.d/webcam-emu start

URL's examples:
  - http://localhost:{Port}/axis-cgi/mjpg/video.cgi
or
  - http://localhost:{Port}/mjpg/video.mjpg?resolution=640x480&color=1&fps=3
or
  - http://localhost:{Port}/mjpg/video.mjpg?fps=7&mode=2

Application's tests:
   - Mozilla Filerox: 
     - method 1, simple but unstable: firefox '{URL}'
     - method 2, more stable, create simple html page
                 <html>
                    <body>
                      <img src="http://localhost:{Port}/mjpg/video.mjpg">
                    </body>
                  </html>

  - FFMPEG/VLC (*): ffplay 'http://localhost:{Port}/mjpg/video.mjpg'
                    vlc    'http://localhost:{Port}/mjpg/video.mjpg'

    (*) if your URL contains CGI query param(s), you should append just one more
        fake param "format=file.mjpg" only for codec resolve,
        i.e: vlc 'http://localhost:{Port}/mjpg/video.mjpg?fps=25&format=file.mjpg'

Bugs reports/suggestions are welcomed and may be sent
to author Andrey-Nikitin <avreg-support@mail.ru>.

 -- Andrey Nikitin <avreg-support@mail.ru>  Mon, 18 May 2009 13:20:11 +0400
