ppm2webcam1
Supply an ftp/http based webcam with images from a ppm stream
Usage
ppm2webcam [options]
Overview
ppm2webcam connects a PPM stream to an FTP/HTTP based webcam.
Options
-
-s server -
FTP server to connect to.
-
-s user -
FTP user to connect to.
-
-s password -
Password for FTP user.
-
-r real-file -
Real filename used by the HTML user of the image (default: kino.jpeg).
-
-t temp-file -
Temp file to use on the server while deposting the image (default: kino.tmp).
-
-l local-temp-file -
Temp file to use on the local system (default: /tmp/kino.jpeg).
-
-f seconds-per-frame -
Floating point number indicates the seconds per frame to send (default: 1).
-
-q quality -
Quality of image sent - applies to jpeg and png (default: 80).
Help Options
-
--help -
Show help message.
Examples
Feed from your cam:
ffmpeg -vd /dev/video0 -f imagepipe -img ppm pipe: |
ppm2webcam -s ftp.server -u user -p password
Need some html to handle it? Javascript solution supplied.
Releases
Unchanged in 2 releases since Debian 5.0 (Lenny).