blob: e57753fd65ffdfe0a16a6bf65457cbb5112144fa [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
25statit.py various statistics operations on movie files
26
27syncaudio.py record audio synchronized with camcorder -a
28 usage: syncaudio videohost soundfile
Guido van Rossum96059b31991-11-04 14:31:31 +000029 soundfile format: 16 bits/sample, 16000 samples/sec, 1 channel
30 (actually, you'd better set the sampling rate to 16000
31 with the audio panel)
Guido van Rossume4bddea1991-10-30 11:52:48 +000032
33tv.py receiver for transmissions from cam.py
34
Guido van Rossum7caf6111991-11-04 15:55:01 +000035vcopy.py selectively write frames from one movie file to another
36 usage: vcopy infile outfile
37 commands: 'n' gets next frame; 'w' writes current frame
38
Guido van Rossume4bddea1991-10-30 11:52:48 +000039video.py player for movies recorded by camcorder.py
Guido van Rossum228381e1991-11-04 18:04:47 +000040 usage: video [-l] [-p pf] [moviefile [soundfile [skipbytes]]]
41 -p pf override packfactor (to zoom)
42 -l looping -- restart movie when done
43 moviefile default is film.video
44 soundfile default is none (no sound)
45 skipbytes byte offset in soundfile where sound starts
Guido van Rossume4bddea1991-10-30 11:52:48 +000046
47vinfo.py print a summary of a movie file
48
Guido van Rossum96059b31991-11-04 14:31:31 +000049vpregs.py definition of VP registers
50
Guido van Rossume4bddea1991-10-30 11:52:48 +000051vtime.py virtual time module imported by syncaudio.py and camcorder.py
52
53
54These are C programs, either for efficiency or because they need to
55link with a C library.
56
57squash.c make a movie smaller by averaging pixels
58 usage: squash factor [bits] <moviefile >newmoviefile
59 factor x and y compression factor
60 bits #bits left per sample in result (default 8)
61
62squash2.c make a movie smaller by dropping pixels
63 usage: squash2 factor <moviefile >newmoviefile
64 factor x and y compression factor
65
66tomono.c like squash2 but outputs a monochrome movie
67
Guido van Rossum7caf6111991-11-04 15:55:01 +000068v2i.c convert the first frame of a movie file to SGI .rgb format
Guido van Rossume4bddea1991-10-30 11:52:48 +000069 link with -limage