---
name: "ppm2webcam"
section: "1"
platform: "linux"
package: "smilutils"
version: "0.3.2+cvs20070731-4.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/ppm2webcam"
---

# ppm2webcam(1)

Supply an FTP/HTTP based webcam with images from a PPM stream

## NAME

ppm2webcam - Supply an FTP/HTTP based webcam with images from a PPM stream

## 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.

## SEE ALSO

[**smilutils**(1)](/smilutils/1.md)

## AVAILABILITY

See http://kino.schirmacher.de/ for the latest version.

## AUTHORS

**ppm2webcam** was written by Dan Dennedy \<dan@dennedy.org\>.
