ppm2webcam − Supply an FTP/HTTP based webcam with images from a PPM stream
ppm2webcam [ options ]
ppm2webcam connects a PPM stream to an FTP/HTTP based webcam.
−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. |
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.
See http://kino.schirmacher.de/ for the latest version.
ppm2webcam was written by Dan Dennedy <dan AT dennedy DOT org>.