summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/README
blob: 01a01d21b5bb3ead0695b6a8783797bc49c7bc77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
CMIF video tools
================

This directory contains Python and C programs to manipulate files
containing digitized video in the "CMIF video format".


History
-------

We started this in October 1991, when we had a large framegrabber
board on loan from SGI for a few weeks: we developed a movie recording
program and added numerous features, including still frame capture and
synchronous sound recording using a second machine (the machine
holding the framegrabber board didn't have audio).

During the following months, when we started using and processing the
recorded film fragments, the "CMIF video format" was revised several
times, and we eventually created an object-oriented interface for
reading and writing various incarnations of these files, called VFile.
(This module is also used by our flagship application, the CMIF
editor, not in this directory but in /ufs/guido/mm/.)

When we got our own Indigo entry-level video board (in June 1992) and
a version of the Irix video library that supported capturing PAL
format (in August 1992), Sjoerd added an interface to the video
library to Python (sv) and Guido wrote Vrec.py (based upon a still
frame grabber by Sjoerd, in turn based upon SGI demo code in C) to
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.  Also, new options were added to existing tools, and
several new video file formats were added.

	Guido van Rossum
	Jack Jansen
	Sjoerd Mullender


Overview of files
-----------------

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:

Vrec.py		record video movies using the Indigo video library and
		board

Vplay.py	play video movies

Vinfo.py	show statistics on movies

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	Universal video file copying tool.  Can manipulate the
		time codes, change the type, size, and packfactor.
		Subsumes Vtime.py.

Vmkjpeg.py	compress an rgb or grey video file to jpeg[grey] format

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 (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

Dsend.py	like Vsend.py but sends screen snapshots (to Vreceive.py)

DisplayVideoIn.py	Like LiveVideoIn.py but reads screen snapshots

rgb2video.py	combine a sequence of rgb image files into a CMIF video file

video2rgb.py	split a CMIF video file into a sequence of rgb image files


These modules and files are used by the above programs:

VFile.py	classes that read and write CMIF video files

Viewer.py	two viewer classes used by Vedit

LiveVideoIn.py	live video input class, used by Vsend

LiveVideoOut.py	live video output class, used by Vsend and Vreceive

imgconv.py	Image conversion subroutines for rgb2video.py

senddefs.py	Defaults shared by Vsend and Vreceice

watchcursor.py	Generally useful module to define a watch cursor in GL

VeditForm.fd	FORMS' fdesign definition for Vedit's form