Guido van Rossum | 7268c93 | 1992-08-18 21:11:18 +0000 | [diff] [blame] | 1 | CMIF video tools |
| 2 | ================ |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 3 | |
Guido van Rossum | 7268c93 | 1992-08-18 21:11:18 +0000 | [diff] [blame] | 4 | This directory contains Python and C programs to manipulate files |
| 5 | containing digitized video in the "CMIF video format". |
| 6 | |
| 7 | |
| 8 | History |
| 9 | ------- |
Guido van Rossum | b2e8228 | 1992-08-18 16:01:19 +0000 | [diff] [blame] | 10 | |
| 11 | We started this in October 1991, when we had a large framegrabber |
Guido van Rossum | 7268c93 | 1992-08-18 21:11:18 +0000 | [diff] [blame] | 12 | board on loan from SGI for a few weeks: we developed a movie recording |
Guido van Rossum | 3ea6161 | 1993-02-16 16:49:44 +0000 | [diff] [blame] | 13 | program and added numerous features, including still frame capture and |
| 14 | synchronous sound recording using a second machine (the machine |
| 15 | holding the framegrabber board didn't have audio). |
Guido van Rossum | b2e8228 | 1992-08-18 16:01:19 +0000 | [diff] [blame] | 16 | |
Guido van Rossum | 7268c93 | 1992-08-18 21:11:18 +0000 | [diff] [blame] | 17 | During the following months, when we started using and processing the |
| 18 | recorded film fragments, the "CMIF video format" was revised several |
| 19 | times, and we eventually created an object-oriented interface for |
| 20 | reading and writing various incarnations of these files, called VFile. |
| 21 | (This module is also used by our flagship application, the CMIF |
| 22 | editor, not in this directory but in /ufs/guido/mm/.) |
Guido van Rossum | b2e8228 | 1992-08-18 16:01:19 +0000 | [diff] [blame] | 23 | |
Guido van Rossum | 7268c93 | 1992-08-18 21:11:18 +0000 | [diff] [blame] | 24 | When we got our own Indigo entry-level video board (in June 1992) and |
| 25 | a version of the Irix video library that supported capturing PAL |
| 26 | format (in August 1992), Sjoerd added an interface to the video |
Guido van Rossum | 9e3f335 | 1992-09-29 13:40:47 +0000 | [diff] [blame] | 27 | library to Python (sv) and Guido wrote Vrec.py (based upon a still |
| 28 | frame grabber by Sjoerd, in turn based upon SGI demo code in C) to |
| 29 | record a movie using it. Vrec was soon followed by modernized |
Guido van Rossum | e178332 | 1992-09-07 09:35:23 +0000 | [diff] [blame] | 30 | versions of the other programs (Vinfo, Vplay, Vtime) and an |
| 31 | interactive editor (Vedit). Finally, VFile was rewritten for more |
Guido van Rossum | 9e3f335 | 1992-09-29 13:40:47 +0000 | [diff] [blame] | 32 | modularity, functionality and robustness, and various other tools were |
Guido van Rossum | 3f3c099 | 1992-12-24 11:39:36 +0000 | [diff] [blame] | 33 | added as needed. Also, new options were added to existing tools, and |
| 34 | several new video file formats were added. |
Guido van Rossum | b2e8228 | 1992-08-18 16:01:19 +0000 | [diff] [blame] | 35 | |
Guido van Rossum | 7268c93 | 1992-08-18 21:11:18 +0000 | [diff] [blame] | 36 | Guido van Rossum |
| 37 | Jack Jansen |
| 38 | Sjoerd Mullender |
Guido van Rossum | e4bddea | 1991-10-30 11:52:48 +0000 | [diff] [blame] | 39 | |
Guido van Rossum | 96059b3 | 1991-11-04 14:31:31 +0000 | [diff] [blame] | 40 | |
Guido van Rossum | 7268c93 | 1992-08-18 21:11:18 +0000 | [diff] [blame] | 41 | Overview of files |
| 42 | ----------------- |
| 43 | |
Guido van Rossum | 3f3c099 | 1992-12-24 11:39:36 +0000 | [diff] [blame] | 44 | cmif-film.ms description of the CMIF video file format (more than a |
| 45 | little out of date -- read the source for VFile for |
| 46 | more info about new file formats) |
Guido van Rossum | e178332 | 1992-09-07 09:35:23 +0000 | [diff] [blame] | 47 | |
| 48 | |
| 49 | These are programs with a command line interface: |
| 50 | |
| 51 | Vrec.py record video movies using the Indigo video library and |
| 52 | board |
| 53 | |
| 54 | Vplay.py play video movies |
| 55 | |
| 56 | Vinfo.py show statistics on movies |
| 57 | |
Guido van Rossum | 3f3c099 | 1992-12-24 11:39:36 +0000 | [diff] [blame] | 58 | Vtime.py Copy a video file, manipulating the time codes (e.g. |
| 59 | faster/slower, or regenerate time codes, or drop |
| 60 | frames too close apart) |
| 61 | |
Guido van Rossum | 5e044b7 | 1993-02-25 14:20:13 +0000 | [diff] [blame] | 62 | Vcopy.py Universal video file copying tool. Can manipulate the |
| 63 | time codes, change the type, size, and packfactor. |
| 64 | Subsumes Vtime.py. |
Guido van Rossum | e178332 | 1992-09-07 09:35:23 +0000 | [diff] [blame] | 65 | |
Guido van Rossum | 9e3f335 | 1992-09-29 13:40:47 +0000 | [diff] [blame] | 66 | Vmkjpeg.py compress an rgb or grey video file to jpeg[grey] format |
| 67 | |
| 68 | Vunjpeg.py expand a jpeg[grey] video file to rgb or grey format |
| 69 | |
Guido van Rossum | ff3da05 | 1992-12-09 22:16:35 +0000 | [diff] [blame] | 70 | Vfix.py truncate the scan line width of a video file to |
| 71 | a multiple of 4 ('grey' images only) |
| 72 | |
Guido van Rossum | 3f3c099 | 1992-12-24 11:39:36 +0000 | [diff] [blame] | 73 | Vedit.py interactive video editing program (uses the FORMS library) |
Guido van Rossum | e178332 | 1992-09-07 09:35:23 +0000 | [diff] [blame] | 74 | |
Guido van Rossum | 67b4895 | 1992-09-24 12:54:35 +0000 | [diff] [blame] | 75 | Vsend.py unicast or multicast live video as UDP packets |
| 76 | |
| 77 | Vreceive.py receive transmissions from Vsend |
| 78 | |
Guido van Rossum | 3f3c099 | 1992-12-24 11:39:36 +0000 | [diff] [blame] | 79 | Vaddcache.py add a "cached index" to a video file, for faster playing |
Guido van Rossum | e178332 | 1992-09-07 09:35:23 +0000 | [diff] [blame] | 80 | |
Guido van Rossum | 3f3c099 | 1992-12-24 11:39:36 +0000 | [diff] [blame] | 81 | Vrecb.py like Vrec.py but uses "burst capture" -- somewhat specialized |
| 82 | |
Guido van Rossum | 245be3a | 1993-02-18 18:09:18 +0000 | [diff] [blame] | 83 | Dsend.py like Vsend.py but sends screen snapshots (to Vreceive.py) |
| 84 | |
| 85 | DisplayVideoIn.py Like LiveVideoIn.py but reads screen snapshots |
| 86 | |
| 87 | rgb2video.py combine a sequence of rgb image files into a CMIF video file |
| 88 | |
| 89 | video2rgb.py split a CMIF video file into a sequence of rgb image files |
Guido van Rossum | 3ea6161 | 1993-02-16 16:49:44 +0000 | [diff] [blame] | 90 | |
Guido van Rossum | 3f3c099 | 1992-12-24 11:39:36 +0000 | [diff] [blame] | 91 | |
| 92 | These modules and files are used by the above programs: |
Guido van Rossum | e178332 | 1992-09-07 09:35:23 +0000 | [diff] [blame] | 93 | |
| 94 | VFile.py classes that read and write CMIF video files |
| 95 | |
| 96 | Viewer.py two viewer classes used by Vedit |
| 97 | |
Guido van Rossum | 67b4895 | 1992-09-24 12:54:35 +0000 | [diff] [blame] | 98 | LiveVideoIn.py live video input class, used by Vsend |
| 99 | |
| 100 | LiveVideoOut.py live video output class, used by Vsend and Vreceive |
| 101 | |
Guido van Rossum | 3ea6161 | 1993-02-16 16:49:44 +0000 | [diff] [blame] | 102 | imgconv.py Image conversion subroutines for rgb2video.py |
| 103 | |
Guido van Rossum | 3f3c099 | 1992-12-24 11:39:36 +0000 | [diff] [blame] | 104 | senddefs.py Defaults shared by Vsend and Vreceice |
Guido van Rossum | e178332 | 1992-09-07 09:35:23 +0000 | [diff] [blame] | 105 | |
Guido van Rossum | 3ea6161 | 1993-02-16 16:49:44 +0000 | [diff] [blame] | 106 | watchcursor.py Generally useful module to define a watch cursor in GL |
| 107 | |
Guido van Rossum | 3f3c099 | 1992-12-24 11:39:36 +0000 | [diff] [blame] | 108 | VeditForm.fd FORMS' fdesign definition for Vedit's form |