diff options
Diffstat (limited to 'Demo/sgi/video')
-rw-r--r-- | Demo/sgi/video/README | 109 |
1 files changed, 20 insertions, 89 deletions
diff --git a/Demo/sgi/video/README b/Demo/sgi/video/README index 3f54cf5..9c4867e 100644 --- a/Demo/sgi/video/README +++ b/Demo/sgi/video/README @@ -30,7 +30,8 @@ record a movie using it. Vrec was soon followed by modernized versions of the other programs (Vinfo, Vplay, Vtime) and an interactive editor (Vedit). Finally, VFile was rewritten for more modularity, functionality and robustness, and various other tools were -added as needed. +added as needed. Also, new options were added to existing tools, and +several new video file formats were added. Guido van Rossum Jack Jansen @@ -40,8 +41,9 @@ added as needed. Overview of files ----------------- -cmif-film.ms description of the CMIF video file format (a little - out of date) +cmif-film.ms description of the CMIF video file format (more than a + little out of date -- read the source for VFile for + more info about new file formats) These are programs with a command line interface: @@ -53,9 +55,13 @@ Vplay.py play video movies Vinfo.py show statistics on movies -Vtime.py (unrelated to vtime!!!) Copy a video file, - manipulating the time codes (e.g. faster/slower, or - regenerate time codes, or drop frames too close apart) +Vtime.py Copy a video file, manipulating the time codes (e.g. + faster/slower, or regenerate time codes, or drop + frames too close apart) + +Vcopy.py selectively write frames from one movie file to another + usage: Vcopy [-t type] [-m treshold] [-a] infile outfile + commands: 'n' gets next frame; 'w' writes current frame Vmkjpeg.py compress an rgb or grey video file to jpeg[grey] format @@ -64,14 +70,18 @@ Vunjpeg.py expand a jpeg[grey] video file to rgb or grey format Vfix.py truncate the scan line width of a video file to a multiple of 4 ('grey' images only) -Vedit.py interactive video editing program +Vedit.py interactive video editing program (uses the FORMS library) Vsend.py unicast or multicast live video as UDP packets Vreceive.py receive transmissions from Vsend +Vaddcache.py add a "cached index" to a video file, for faster playing + +Vrecb.py like Vrec.py but uses "burst capture" -- somewhat specialized -These modules are used by the above programs: + +These modules and files are used by the above programs: VFile.py classes that read and write CMIF video files @@ -81,85 +91,6 @@ LiveVideoIn.py live video input class, used by Vsend LiveVideoOut.py live video output class, used by Vsend and Vreceive +senddefs.py Defaults shared by Vsend and Vreceice -The following are C programs, either for efficiency or because they -need to link with a C library. (These probably don't work any more -since the video file format has changed several times since they were -written. Also, they can now be recoded in Python using the 'imageop' -and 'imgfile' modules.) - -squash.c make a movie smaller by averaging pixels - usage: squash factor [bits] <moviefile >newmoviefile - factor x and y compression factor - bits #bits left per sample in result (default 8) - -squash2.c make a movie smaller by dropping pixels - usage: squash2 factor <moviefile >newmoviefile - factor x and y compression factor - -tomono.c like squash2 but outputs a monochrome movie - -v2i.c convert the first frame of a movie file to SGI .rgb format - link with -limage - -i2v.c convert an rgb file to "lrectwrite" format (this was - used one time by the CMIF editor) - - -These programs are obsolete, but kept around for sentimental reasons. -Most either don't work any more because they don't use VFile and hence -haven't followed the frequent changes in the CMIF video file format; -or they are dependent upon hardware we don't have (SGI's previous -generation framegrabber). Anyway, their functionality is present in -the suite of programs whose name begins with 'V' listed above. - -cam.py network real-time tv broadcast; see tv.py - usage: cam [packfactor [host]] - specifying 'all' for host broadcasts - -camcorder.py record video movies or make snapshots (in movie format) - usage: camcorder [-c] [-a audiohost [-s]] [-p pf] [moviefile] - -c color (equivalent to -p 0) - -a audiohost syncaudio is running on audiohost - -s start syncaudio (on audiohost) - -p packfactor packfactor (default 2; 0 records color) - moviefile (default film.video) - keyboard commands: - s stop grabbing (single step if already stopped) - c continuous grabbing - r start recording - p pause recording (record single frame if paused) - ESC quit - -statit.py various statistics operations on movie files - -syncaudio.py record audio synchronized with camcorder -a - usage: syncaudio videohost soundfile - soundfile format: 16 bits/sample, 16000 samples/sec, 1 channel - (actually, you'd better set the sampling rate to 16000 - with the audio panel) - -tv.py receiver for transmissions from cam.py - -vcopy.py selectively write frames from one movie file to another - usage: vcopy infile outfile - commands: 'n' gets next frame; 'w' writes current frame - -video.py player for movies recorded by camcorder.py - usage: video [-l] [-p pf] [-m mag] [-F] - [moviefile [soundfile [skipbytes]]] - -p pf override packfactor (to zoom) - -l looping -- restart movie when done - -m mag magnification - -F run at max speed - moviefile default is film.video - soundfile default is none (no sound) - skipbytes byte offset in soundfile where sound starts - -vinfo.py print summary of movie file(s) - usage: vinfo [-d] moviefile ... - -d print delta times (default: print abs times) - -vpregs.py definition of VP registers - -vtime.py virtual time module imported by syncaudio.py and camcorder.py +VeditForm.fd FORMS' fdesign definition for Vedit's form |