Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 1 | This directory contains Python and C code we wrote while we had a |
| 2 | framegrabber board on loan from SGI. |
| 3 | |
| 4 | --Guido and Jack |
| 5 | |
Guido van Rossum | 96059b3 | 1991-11-04 14:31:31 +0000 | [diff] [blame] | 6 | |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 7 | cam.py network real-time tv broadcast; see tv.py |
| 8 | usage: cam [packfactor [host]] |
| 9 | specifying 'all' for host broadcasts |
| 10 | |
| 11 | camcorder.py record video movies or make snapshots (in movie format) |
Guido van Rossum | 96059b3 | 1991-11-04 14:31:31 +0000 | [diff] [blame] | 12 | usage: camcorder [-c] [-a audiohost [-s]] [-p pf] [moviefile] |
| 13 | -c color (equivalent to -p 0) |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 14 | -a audiohost syncaudio is running on audiohost |
| 15 | -s start syncaudio (on audiohost) |
Guido van Rossum | 96059b3 | 1991-11-04 14:31:31 +0000 | [diff] [blame] | 16 | -p packfactor packfactor (default 2; 0 records color) |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 17 | moviefile (default film.video) |
| 18 | keyboard commands: |
| 19 | s stop grabbing (single step if already stopped) |
| 20 | c continuous grabbing |
| 21 | r start recording |
| 22 | p pause recording (record single frame if paused) |
| 23 | ESC quit |
| 24 | |
Guido van Rossum | 7385d58 | 1991-11-22 14:03:57 +0000 | [diff] [blame^] | 25 | colorsys.py color conversions, used by video |
| 26 | |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 27 | statit.py various statistics operations on movie files |
| 28 | |
| 29 | syncaudio.py record audio synchronized with camcorder -a |
| 30 | usage: syncaudio videohost soundfile |
Guido van Rossum | 96059b3 | 1991-11-04 14:31:31 +0000 | [diff] [blame] | 31 | soundfile format: 16 bits/sample, 16000 samples/sec, 1 channel |
| 32 | (actually, you'd better set the sampling rate to 16000 |
| 33 | with the audio panel) |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 34 | |
| 35 | tv.py receiver for transmissions from cam.py |
| 36 | |
Guido van Rossum | 7caf611 | 1991-11-04 15:55:01 +0000 | [diff] [blame] | 37 | vcopy.py selectively write frames from one movie file to another |
| 38 | usage: vcopy infile outfile |
| 39 | commands: 'n' gets next frame; 'w' writes current frame |
| 40 | |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 41 | video.py player for movies recorded by camcorder.py |
Guido van Rossum | 7385d58 | 1991-11-22 14:03:57 +0000 | [diff] [blame^] | 42 | usage: video [-l] [-p pf] [-m mag] [-F] |
| 43 | [moviefile [soundfile [skipbytes]]] |
Guido van Rossum | 228381e | 1991-11-04 18:04:47 +0000 | [diff] [blame] | 44 | -p pf override packfactor (to zoom) |
| 45 | -l looping -- restart movie when done |
Guido van Rossum | 7385d58 | 1991-11-22 14:03:57 +0000 | [diff] [blame^] | 46 | -m mag magnification |
| 47 | -F run at max speed |
Guido van Rossum | 228381e | 1991-11-04 18:04:47 +0000 | [diff] [blame] | 48 | moviefile default is film.video |
| 49 | soundfile default is none (no sound) |
| 50 | skipbytes byte offset in soundfile where sound starts |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 51 | |
Guido van Rossum | eda5dfd | 1991-11-06 16:13:25 +0000 | [diff] [blame] | 52 | vinfo.py print summary of movie file(s) |
| 53 | usage: vinfo [-d] moviefile ... |
| 54 | -d print delta times (default: print abs times) |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 55 | |
Guido van Rossum | 96059b3 | 1991-11-04 14:31:31 +0000 | [diff] [blame] | 56 | vpregs.py definition of VP registers |
| 57 | |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 58 | vtime.py virtual time module imported by syncaudio.py and camcorder.py |
| 59 | |
| 60 | |
| 61 | These are C programs, either for efficiency or because they need to |
| 62 | link with a C library. |
| 63 | |
| 64 | squash.c make a movie smaller by averaging pixels |
| 65 | usage: squash factor [bits] <moviefile >newmoviefile |
| 66 | factor x and y compression factor |
| 67 | bits #bits left per sample in result (default 8) |
| 68 | |
| 69 | squash2.c make a movie smaller by dropping pixels |
| 70 | usage: squash2 factor <moviefile >newmoviefile |
| 71 | factor x and y compression factor |
| 72 | |
| 73 | tomono.c like squash2 but outputs a monochrome movie |
| 74 | |
Guido van Rossum | 7caf611 | 1991-11-04 15:55:01 +0000 | [diff] [blame] | 75 | v2i.c convert the first frame of a movie file to SGI .rgb format |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 76 | link with -limage |