blob: 628ccbfc892c8b29b8b06778a4f3616cb3c460af [file] [log] [blame]
Guido van Rossume4bddea1991-10-30 11:52:48 +00001This directory contains Python and C code we wrote while we had a
2framegrabber board on loan from SGI.
3
4 --Guido and Jack
5
Guido van Rossum96059b31991-11-04 14:31:31 +00006
Guido van Rossume4bddea1991-10-30 11:52:48 +00007cam.py network real-time tv broadcast; see tv.py
8 usage: cam [packfactor [host]]
9 specifying 'all' for host broadcasts
10
11camcorder.py record video movies or make snapshots (in movie format)
Guido van Rossum96059b31991-11-04 14:31:31 +000012 usage: camcorder [-c] [-a audiohost [-s]] [-p pf] [moviefile]
13 -c color (equivalent to -p 0)
Guido van Rossume4bddea1991-10-30 11:52:48 +000014 -a audiohost syncaudio is running on audiohost
15 -s start syncaudio (on audiohost)
Guido van Rossum96059b31991-11-04 14:31:31 +000016 -p packfactor packfactor (default 2; 0 records color)
Guido van Rossume4bddea1991-10-30 11:52:48 +000017 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 Rossum7385d581991-11-22 14:03:57 +000025colorsys.py color conversions, used by video
26
Guido van Rossume4bddea1991-10-30 11:52:48 +000027statit.py various statistics operations on movie files
28
29syncaudio.py record audio synchronized with camcorder -a
30 usage: syncaudio videohost soundfile
Guido van Rossum96059b31991-11-04 14:31:31 +000031 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 Rossume4bddea1991-10-30 11:52:48 +000034
35tv.py receiver for transmissions from cam.py
36
Guido van Rossum7caf6111991-11-04 15:55:01 +000037vcopy.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 Rossume4bddea1991-10-30 11:52:48 +000041video.py player for movies recorded by camcorder.py
Guido van Rossum7385d581991-11-22 14:03:57 +000042 usage: video [-l] [-p pf] [-m mag] [-F]
43 [moviefile [soundfile [skipbytes]]]
Guido van Rossum228381e1991-11-04 18:04:47 +000044 -p pf override packfactor (to zoom)
45 -l looping -- restart movie when done
Guido van Rossum7385d581991-11-22 14:03:57 +000046 -m mag magnification
47 -F run at max speed
Guido van Rossum228381e1991-11-04 18:04:47 +000048 moviefile default is film.video
49 soundfile default is none (no sound)
50 skipbytes byte offset in soundfile where sound starts
Guido van Rossume4bddea1991-10-30 11:52:48 +000051
Guido van Rossumeda5dfd1991-11-06 16:13:25 +000052vinfo.py print summary of movie file(s)
53 usage: vinfo [-d] moviefile ...
54 -d print delta times (default: print abs times)
Guido van Rossume4bddea1991-10-30 11:52:48 +000055
Guido van Rossum96059b31991-11-04 14:31:31 +000056vpregs.py definition of VP registers
57
Guido van Rossume4bddea1991-10-30 11:52:48 +000058vtime.py virtual time module imported by syncaudio.py and camcorder.py
59
60
61These are C programs, either for efficiency or because they need to
62link with a C library.
63
64squash.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
69squash2.c make a movie smaller by dropping pixels
70 usage: squash2 factor <moviefile >newmoviefile
71 factor x and y compression factor
72
73tomono.c like squash2 but outputs a monochrome movie
74
Guido van Rossum7caf6111991-11-04 15:55:01 +000075v2i.c convert the first frame of a movie file to SGI .rgb format
Guido van Rossume4bddea1991-10-30 11:52:48 +000076 link with -limage