Commit Graph

362 Commits

Author SHA1 Message Date
Guido van Rossum d5c57e1624 Microfixes 1993-04-01 20:46:40 +00:00
Guido van Rossum 5146ea3a0a Initial revision 1993-04-01 20:45:45 +00:00
Guido van Rossum aff9470d23 Fixed watch cursor origin 1993-03-17 12:11:47 +00:00
Sjoerd Mullender 7bbceea6a9 Added support for "compress" type video files. This uses the
Compression Library to decompress the images.
1993-03-17 12:09:29 +00:00
Guido van Rossum f48b419a07 Fix syntax error (sorry!) 1993-03-02 12:16:56 +00:00
Guido van Rossum 2d413788ca Remove debug print statement 1993-03-02 12:09:18 +00:00
Guido van Rossum 0caf46b6cc VFile: fix c0bits etc. after setformat; Vrec.py: use setformat; rm Makefile. 1993-03-02 12:07:34 +00:00
Guido van Rossum 85f7bd5251 Vrec.py, Vrecb.py:
- call v.SetParam() after v.BindGLWindow()
	 - turn of dithering in mono/grey mode
	 - use prefposition to place the top left corner at (150, 150)
	   (so that the video remains visible during recording)
	 - default width is 256
Vcopy.py: correct typos; more verbose output.
OldVcopy.py: new name for Jack's old grabbing Vcopy.py.
Vstat.py: print values of all video parameters.
1993-02-25 16:10:16 +00:00
Guido van Rossum c97d2eddee Change Vinfo and Vaddcache to usr /ufs/guido/bin/sgi/python.
Don't force packfactor to 1 in header when writing rgb data.
Small bugfixes in Vcopy.
1993-02-25 14:50:27 +00:00
Guido van Rossum 5e044b7009 - Separated grabbing (which isn't used much!) from VFile.
- Renamed old Vcopy.py to OldVcopy.py, some cosmetic changes to it (is
  it still needed?)
- Added new Vcopy.py which does everything that Vtime.py does but also
  format conversions, image scaling, and packfactors.
- VFile: make packfactor always a tuple; introduce set and get methods
  for pf, format, and calculate some derived values.
- Added new module GET.py to std library, use it instead of defining
  DM* in VFile.
- Get rid of C programs (new Python programs can do all that they do
  and they probably don't understand the current file format anyway).
1993-02-25 14:20:13 +00:00
Guido van Rossum b616ebe4e4 Rewrite applypackfactor() using imageop: faster and more general;
get rid of testpackfactor(): not longer necessary
1993-02-25 00:19:14 +00:00
Guido van Rossum be6d77a9b8 Fix typos in jpeg code 1993-02-25 00:17:22 +00:00
Guido van Rossum 83c81448b1 Fix terse mode for printing tuple packfactor and to avoid zero division 1993-02-25 00:16:27 +00:00
Jack Jansen 09bf3e310b Added audio recording to Vrecb 1993-02-24 16:08:21 +00:00
Guido van Rossum a557b0f34e Added jpeg conversions 1993-02-23 17:08:53 +00:00
Jack Jansen 171a55bf56 Will now generate converters that go thru intermedeate formats 1993-02-19 15:52:30 +00:00
Jack Jansen 1e0fdd8a6b Bug fixed wrt greyscale conversion 1993-02-19 10:06:52 +00:00
Jack Jansen c82cfc86df Fix to allow tightly packed films to be converted 1993-02-19 10:06:28 +00:00
Guido van Rossum 245be3a3c5 The usual cosmetic changes after Jack is done... 1993-02-18 18:09:18 +00:00
Jack Jansen b05eaf1909 DisplayVideoIn - Class similar to LiveVideoIn but sends data from
screen
Dsend - Main program analogous to Vsend to send data from display
1993-02-17 15:58:49 +00:00
Jack Jansen 1d6821f58f Added support for 24-bit rgb movies 1993-02-17 15:54:32 +00:00
Jack Jansen 7961ea7868 Moved line-size stuff to single routine 1993-02-17 15:54:06 +00:00
Jack Jansen eeec33f820 Companion to rgb2video: convert cmif film file to rgb files 1993-02-17 15:52:56 +00:00
Guido van Rossum 3ea6161bb5 Cleanup of old files, added watchcursor.py (for Vedit.py), updated README. 1993-02-16 16:49:44 +00:00
Guido van Rossum 9b86e1f5f0 VFile.py: fix bogus getrandomframe().
Vedit.py, VeditForm.fd: added scroll bar, Trunc, layout rearrangement.
Viewer.py: added random access, qinfo() function.
1993-02-16 16:10:02 +00:00
Guido van Rossum 852cc22bd3 Vrec.py: don't print Ids if no frames are captured.
Vrecb.py: use the new interfaces to imageop (fix -M, -m, -g options).
1993-02-15 17:33:36 +00:00
Guido van Rossum 3f2ef09f40 Added usage() and help() to Vrecb, and turn on -f by default.
Removed duplicate description of -r option from documentation file.
1993-02-05 15:34:22 +00:00
Jack Jansen f0384fdb97 Introductory video documentation 1993-02-05 14:56:55 +00:00
Jack Jansen 772eca639c Added options to make window bigger than video (for recording to tape) 1993-01-27 11:42:21 +00:00
Jack Jansen 41292a81a8 Added a comment about XS 4bit pixel support 1993-01-27 11:41:37 +00:00
Jack Jansen 62fda0acbd Use imgconv to try to do image type conversion 1993-01-27 11:40:16 +00:00
Jack Jansen e6f49ecfa9 Initial (skeleton) version of universal image format converter 1993-01-27 11:39:37 +00:00
Jack Jansen 2c49017279 - Added LiveVideoOutSlow class (which only updates after full pkt)
- fixed bug in setmirror
- cleaned up some common code
1993-01-27 11:38:03 +00:00
Jack Jansen 9672e44842 Create CMIF-video file from SGI rgb images 1993-01-20 15:10:05 +00:00
Guido van Rossum 7b74176762 Close the window when receiving a close request; turn time into int. 1993-01-13 12:45:41 +00:00
Guido van Rossum 349f2b516b Renamed vcopy to Vcopy (it is the only old tool that's still in use) 1992-12-24 11:41:14 +00:00
Guido van Rossum 3f3c099e9f Get rid of C and out-of-date files 1992-12-24 11:39:36 +00:00
Guido van Rossum ec706ada62 Added usage message, minor cosmetic changes 1992-12-24 11:39:00 +00:00
Guido van Rossum 42e9be4559 Fix typo in print message 1992-12-24 11:38:29 +00:00
Guido van Rossum 5b40761856 Use plain python. 1992-12-24 11:37:53 +00:00
Guido van Rossum f1ceba61a4 setsize has two arguments: width, height. 1992-12-24 11:37:21 +00:00
Guido van Rossum 6e0e668d1c Renamed Vrecc to Vrecb (*b*urst mode capture). 1992-12-23 15:41:38 +00:00
Jack Jansen 6bc8c7f3e2 Added mono, grey2 and grey4 formats 1992-12-23 15:37:20 +00:00
Guido van Rossum d7b67f261e *** empty log message *** 1992-12-22 14:35:05 +00:00
Guido van Rossum 5dd997c59d Changed indentation to 8, use a better technique to handle window I/O. 1992-12-22 14:34:43 +00:00
Guido van Rossum a3b986ed4c Added generic array handlers 1992-12-21 14:33:18 +00:00
Guido van Rossum 9ef9c07ed9 Changed to use make_call 1992-12-21 14:33:05 +00:00
Guido van Rossum b637221d93 Full broadcast support 1992-12-21 14:32:55 +00:00
Guido van Rossum da164d2bff Clarified some parts 1992-12-21 14:32:38 +00:00
Guido van Rossum 73065385e8 Changed to use new make_call method 1992-12-21 14:32:28 +00:00
Guido van Rossum 8f1506b126 Complete broadcast support (both raw and via port mapper CALLIT) 1992-12-21 14:32:06 +00:00
Guido van Rossum fdcbbcb196 Initial revision 1992-12-21 14:31:41 +00:00
Guido van Rossum cdd04cad5c Initial revision 1992-12-20 18:14:23 +00:00
Guido van Rossum 6252229170 Added remark about servers 1992-12-20 14:58:09 +00:00
Guido van Rossum b99457c35c Changed mkcred interface 1992-12-20 14:57:51 +00:00
Guido van Rossum fd92ac89cc Bind to reserved port if root; changed mkcred interface; added -t/-u option 1992-12-20 14:57:17 +00:00
Guido van Rossum 79f85eedfd Changed mkcred/mkverf interface; added makesocket hook and changed init
interfaces; added bindresvport call.
1992-12-20 14:56:32 +00:00
Guido van Rossum c91d60a640 Changes to protect servers against broken clients 1992-12-19 00:06:17 +00:00
Guido van Rossum 424c673d2f Added server classes, and various robustness hacks 1992-12-19 00:05:55 +00:00
Guido van Rossum 2eed1e796e Don't call test() 1992-12-17 17:32:59 +00:00
Guido van Rossum 0270032423 Don't even show #test() 1992-12-17 17:32:44 +00:00
Guido van Rossum 58dd035f3c Added comments. 1992-12-17 17:32:35 +00:00
Guido van Rossum 7271babcef Compatibility hack with Python 0.9.6. 1992-12-17 17:32:24 +00:00
Guido van Rossum 2f5dd888d1 Initial revision 1992-12-17 17:32:10 +00:00
Guido van Rossum a585444f7b Added compatibility hacks for Python 0.9.6. 1992-12-17 17:31:58 +00:00
Guido van Rossum 3346b6ad49 Use 'l' as format, not 'i'. 1992-12-17 17:12:48 +00:00
Guido van Rossum fa83c7b31b Added some XXX comment. 1992-12-17 17:12:38 +00:00
Guido van Rossum c4698fbfbe Improved exception handing. Added some XXX comments. 1992-12-17 17:12:17 +00:00
Guido van Rossum 16b22193e6 Add timeout and retry to UDP version of protocol 1992-12-15 21:44:31 +00:00
Guido van Rossum 63ae96e3d7 Fix spelling of Umnt. 1992-12-15 21:44:13 +00:00
Guido van Rossum 38625352bb Support packing longs. 1992-12-15 21:43:59 +00:00
Guido van Rossum ad5f862125 Fix misunderstood readdir count (bytes, not dir entries)
and minor other changes.
1992-12-15 21:43:04 +00:00
Guido van Rossum 20f9960427 Add explicit auth call 1992-12-15 20:53:17 +00:00
Guido van Rossum 749d0bbe6b Make auth handling different 1992-12-15 20:52:53 +00:00
Guido van Rossum 195a4f70a3 Add explicit auth object 1992-12-15 20:52:31 +00:00
Guido van Rossum e3cafbe7b8 Initial revision 1992-12-14 23:25:04 +00:00
Guido van Rossum 8de83e041c Actualized 1992-12-14 16:40:24 +00:00
Guido van Rossum ffd7fa3634 Actualized.
Do import stdwingl
1992-12-14 16:38:06 +00:00
Guido van Rossum 2219afcdfa bit vector is now implemented 1992-12-14 15:52:05 +00:00
Guido van Rossum 411588c888 sv now raises sv.error, not RuntimeError 1992-12-14 15:51:53 +00:00
Guido van Rossum 8307443175 Initial revision 1992-12-14 15:06:32 +00:00
Guido van Rossum 2739c9cce8 Added cmpaf.py 1992-12-14 15:06:22 +00:00
Guido van Rossum 57fc52578f Get official parameter names 1992-12-14 15:06:05 +00:00
Guido van Rossum a8413b2ef0 Choose a port that doesn't conmflict with real radio 1992-12-14 15:05:53 +00:00
Guido van Rossum e266344faf New 'finally' syntax 1992-12-14 15:05:16 +00:00
Guido van Rossum 4128dedb8b Actualize 1992-12-14 14:53:08 +00:00
Guido van Rossum 6c5c52583a Explicitly close menus. Make '0' mean the last menu item. 1992-12-14 14:52:49 +00:00
Guido van Rossum 93a35f40a9 Actualized 1992-12-14 14:12:10 +00:00
Guido van Rossum 5ba6142723 Adapted to modern times 1992-12-14 14:11:15 +00:00
Guido van Rossum 63f4cdcdb8 Adapted to modern times. Cosmetic and comment changes. 1992-12-14 14:10:53 +00:00
Guido van Rossum 0e71dc1106 Adapted to modern times and fixed a bug (id --> my_id) 1992-12-14 14:10:36 +00:00
Guido van Rossum 23bafde01d /usr/local/bin/python 1992-12-14 13:03:10 +00:00
Guido van Rossum ee2ba6c2b4 Add description of kunst.py 1992-12-14 13:01:30 +00:00
Guido van Rossum 2426331433 Unknown changes by Jack. 1992-12-14 13:01:06 +00:00
Guido van Rossum 05e46ddec4 Use tzparse to avoid embarrasment in other timezones or when DST changes.
Adapt to new, stricter, rules for argument passing.
1992-12-14 13:00:14 +00:00
Guido van Rossum a8993cfe16 Fix for new argument passing rules. 1992-12-14 12:43:19 +00:00
Guido van Rossum 9533ebe857 Band-aid to fix it for new argument passing rules. 1992-12-14 12:29:43 +00:00
Jack Jansen 3b25371ef1 Changes for supporting monochrome and greyscale video (not yet fully
functional)
1992-12-14 12:25:21 +00:00
Guido van Rossum ff3da0502f Microscopic changes, comments/messages changed.
Real important: turn off FIELDDROP in Vrec.
1992-12-09 22:16:35 +00:00
Guido van Rossum df9320f8bc *** empty log message *** 1992-11-16 16:56:04 +00:00
Guido van Rossum d3b0f38db5 Support default port. 1992-11-16 16:55:48 +00:00
Guido van Rossum bfef4a0873 Added comments, use 'global' and change prompt to "ftp.py> " 1992-11-16 16:55:11 +00:00
Guido van Rossum bd07b31d82 Restructured into several subroutines. 1992-11-16 16:54:45 +00:00
Guido van Rossum a1b51f374f Fixed comments 1992-10-25 19:20:47 +00:00
Guido van Rossum f3994ff9e7 Use /usr/local/bin/python 1992-10-25 19:20:23 +00:00
Guido van Rossum 8208702f19 Added gopher.py; removed IN.py 1992-10-25 19:18:23 +00:00
Guido van Rossum 6b8d699ea3 Initial revision 1992-10-25 19:18:11 +00:00
Guido van Rossum 4df20fa80f New tool Vfix: truncate the right edge of 'grey' type images to make
the scanline width a multiple of 4.

VFile: use gl.gversion() to distinguish 4.0.1 and 4.0.5 Indigos;
truncate width and height to multiples of packfactor.

Vinfo: add -t to descriptive comment; print '!' after packfactor for
files that should be fixed with Vfix.
1992-09-29 17:07:10 +00:00
Guido van Rossum 9e3f335bea VFile: added new formats 'jpeg' and 'jpeggrey'. Decompression is done
using module 'jpeg' by the Displayer class.  (Unfortunately it's too
slow for real time.)  Print file size in printinfo() method.

Vinfo: added -t option (terse -- one line per file) and usage message.

Vtime: use BasicV{in,out}File classes -- the minimum needed.

Vmkjpeg, Vunjpeg: new utilities for jpeg (de)compression.
1992-09-29 13:40:47 +00:00
Guido van Rossum f8848acca3 Added resizevideo() interface to LiveVideoIn and rationalized size
adjustments (somewhat).  Adapted Vsend to use it.
1992-09-24 16:55:31 +00:00
Guido van Rossum d65f45da26 Added resizevideo() interface to LiveVideoIn and rationalized size
adjustments (somewhat).  Adapted Vsend to use it.
1992-09-24 16:53:51 +00:00
Guido van Rossum cfb6bb2a30 Changed the init() interface of LiveVideoOut to read out the window
size automatically -- the video is always centered.  Added
resizevideo() and reshapewindow() interfaces.  Documented all methods.
Changed Vsend/Vreceive to use the new interface.  Allow window
resizing by the user in Vreceive.
1992-09-24 16:03:56 +00:00
Guido van Rossum 691e59bcb7 Python equivalent of <netinet/in.h> (SGI specific, hence not in python/lib). 1992-09-24 15:02:46 +00:00
Guido van Rossum 7b47c79a4c Added options to Vsend and Vreceive; moved common defaults to senddefs.
Optimized LiveVideoIn quite a bit; removed print stmt from LiveVideoOut.
1992-09-24 15:01:37 +00:00
Guido van Rossum 67b4895291 Added multicast to Vsend and Vreceive. Updated README. Rediced queue
size to 1 in LiveVideoIn.
1992-09-24 12:54:35 +00:00
Guido van Rossum 2b65c03603 *** empty log message *** 1992-09-24 10:34:25 +00:00
Guido van Rossum 7814c10233 Better way of deducing mcast group bytes. 1992-09-24 10:33:40 +00:00
Guido van Rossum c8833d4ad3 Add -b option and sleep shorter. 1992-09-24 10:33:16 +00:00
Guido van Rossum 590177bc88 open() now raises IOError, not RuntimeError! 1992-09-24 09:14:44 +00:00
Guido van Rossum ba06615c9f New modules LiveVideo{In,Out} (interfaces will change!).
New programs V{send,receive} to send/receive video over UDP.
Comment typo changed in Vaddcache.
1992-09-22 17:23:17 +00:00
Guido van Rossum 42e07afe3d Vrec.py: sv now raises sv.error instead of RuntimeError.
VFile.py: support for showing partial frames.
1992-09-22 15:01:43 +00:00
Guido van Rossum 0aead9f1ba Allow broadcast using setsockopt() 1992-09-08 21:20:12 +00:00
Guido van Rossum 4fab6a5b0b Initial revision 1992-09-08 21:19:55 +00:00
Guido van Rossum 00c5ad6eeb Added mcast demo
.,
1992-09-08 21:19:46 +00:00
Guido van Rossum 5c1797ac23 Utility to add a cached index to an existing movie file. 1992-09-08 15:17:02 +00:00
Guido van Rossum 269b2a2eb7 VFile: The Entry-Indigo trick doesn't work on 4.0.1 hosts.
VFile: RandomVinFile can now write the cache to the file.
Vinfo: use the cached index if present and print a message whether it's there.
1992-09-08 15:04:01 +00:00
Guido van Rossum 4526f379bc Fixed "clear()" and added "clearto(r, g, b)".
Added class RandomVinFile which supports random access and warming the cache.
Added eofseen and errorseen methods to BasicVinFile.
Use RGB mode for rgb8 data on entry level Indigo.
Minor cosmetic changes.
1992-09-07 15:28:57 +00:00
Guido van Rossum 2de9b68fea Clear the window when receiving a REDRAW event and not playing 1992-09-07 15:11:30 +00:00
Guido van Rossum 00ffea3615 Use vin/vout.clear() instead of gl.clear() 1992-09-07 15:09:31 +00:00
Guido van Rossum e1783324ab Adapted the world to the new VFile.py. Fixed bugs in Vplay.py:
missing -n in help(), bogus frame skipping; and added patch for
weird time jumps.  Removed colorsys.py (now in std library).
Fixed "sys.write" error in vcopy.py.  Restructured README.
1992-09-07 09:35:23 +00:00
Guido van Rossum 4045c2fa5b Almost completely rewritten for cleaner code. 1992-09-07 09:24:17 +00:00
Guido van Rossum 32517f9427 Remove PAL dependencies; add -w option (initial window width);
add stepunit(8, 6) call.
1992-09-04 13:26:59 +00:00
Guido van Rossum be0cba4d5b Made it work with the sub-spec burst capture interface
(no bit vector)
1992-09-03 17:29:03 +00:00
Guido van Rossum 44c1f698a5 Added more info 1992-09-03 17:28:48 +00:00
Guido van Rossum db96c5a7d9 Initial revision 1992-09-03 17:01:36 +00:00
Guido van Rossum 62f6bc8e55 Adapted to new video library -- different capture interface, no bugs.
Also use locks and Queues for communication with other threads.
1992-09-03 16:56:04 +00:00
Guido van Rossum e0be2b36b6 Added a clear() method to VFile class, to be called when the window
receives a REDRAW event
1992-09-01 14:45:57 +00:00
Guido van Rossum 0b2b440a13 all Long constants have an L suffix, not l;
added an output() function to move the I/O out of the algorithm
1992-08-31 10:54:17 +00:00
Guido van Rossum a43111118f Cosmetic changes to Vedit and -Form. 1992-08-25 13:53:10 +00:00
Guido van Rossum 9ee7e15966 Created Vedit.py, the video editor. This uses the classes in Viewer.py.
Viewer.py in turn requires changes to VFile.py (unfortunately that file
is now a complete mess...).
1992-08-25 12:29:30 +00:00
Guido van Rossum 33a8d428db Clear the window to rather light grey when switching to RGB mode. 1992-08-21 12:41:23 +00:00
Guido van Rossum e755aa50e2 Redesigned option processing and added several new options.
Added optional read-ahead thread.
Changed mouse interface.
1992-08-21 12:34:55 +00:00
Guido van Rossum 8a861be7f3 Add audio recording 1992-08-20 14:46:46 +00:00
Guido van Rossum 815adc9870 New files. 1992-08-20 11:54:00 +00:00
Guido van Rossum 99e237f809 new Vtime.py: manipulate time codes. 1992-08-20 11:53:14 +00:00
Guido van Rossum 78aab86201 Lots of changes, options (from Vtime.py) etc.
Cleverer skipping of frames.
1992-08-20 11:52:42 +00:00
Guido van Rossum 9a35d57ab2 Added reopen() to VinFile with semantics of old rewind(); rewind() now
saves the cache.
Added getinfo() to VoutFile.
Fixed writing of 'grey' file header.
Added quiet parameter.
Adapted to new syntax.
1992-08-20 11:51:47 +00:00
Guido van Rossum dfb61fa2cb Minor improvements: exit status, data size stats. 1992-08-20 11:49:58 +00:00
Guido van Rossum 180924d575 Initial revision 1992-08-20 11:46:28 +00:00
Guido van Rossum 7268c93c55 Minor improvements, comments; fix Vinfo -d. 1992-08-18 21:11:18 +00:00