summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/README
blob: 8b8758276d89b7f2159bd0465460f72bef3d2751 (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
This directory contains Python and C code we wrote while we had a
framegrabber board on loan from SGI.

	--Guido and Jack

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]] [moviefile]
		-c		color (default b/w, packfactor = 2)
		-a audiohost	syncaudio is running on audiohost
		-s		start syncaudio (on audiohost)
		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, 16khz, mono

tv.py		receiver for transmissions from cam.py

video.py	player for movies recorded by camcorder.py
		usage: video [moviefile [soundfile]]
		default moviefile is film.video
		default sound is no sound

vinfo.py	print a summary of a movie file

vtime.py	virtual time module imported by syncaudio.py and camcorder.py


These are C programs, either for efficiency or because they need to
link with a C library.

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 image of a movie file to SGI .rgb format
		link with -limage