blob: 2cdc8549f73bb2b13a2659a731fa741b979e120d [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 Rossum96059b31991-11-04 14:31:31 +000040 usage: video [moviefile [soundfile [skipbytes]]]
41 - default moviefile is film.video
42 - default soundfile is none (no sound)
43 - if skipbytes is given, that many bytes are skipped from
44 soundfile before playing
Guido van Rossume4bddea1991-10-30 11:52:48 +000045
46vinfo.py print a summary of a movie file
47
Guido van Rossum96059b31991-11-04 14:31:31 +000048vpregs.py definition of VP registers
49
Guido van Rossume4bddea1991-10-30 11:52:48 +000050vtime.py virtual time module imported by syncaudio.py and camcorder.py
51
52
53These are C programs, either for efficiency or because they need to
54link with a C library.
55
56squash.c make a movie smaller by averaging pixels
57 usage: squash factor [bits] <moviefile >newmoviefile
58 factor x and y compression factor
59 bits #bits left per sample in result (default 8)
60
61squash2.c make a movie smaller by dropping pixels
62 usage: squash2 factor <moviefile >newmoviefile
63 factor x and y compression factor
64
65tomono.c like squash2 but outputs a monochrome movie
66
Guido van Rossum7caf6111991-11-04 15:55:01 +000067v2i.c convert the first frame of a movie file to SGI .rgb format
Guido van Rossume4bddea1991-10-30 11:52:48 +000068 link with -limage