SYNOPSIS
ppm2webcam [ options ]DESCRIPTION
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.