Commit Graph

226 Commits

Author SHA1 Message Date
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 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 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 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 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 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
Guido van Rossum 8b9c734e12 Add comments 1992-08-18 17:01:13 +00:00
Guido van Rossum 82534fd828 Add comments and options 1992-08-18 17:01:02 +00:00
Guido van Rossum bc0eb9967d Add close() method to VinFile 1992-08-18 17:00:51 +00:00
Guido van Rossum b2e822849b Added some new comments and files 1992-08-18 16:01:19 +00:00
Guido van Rossum 66beddb844 Hacked in audio support. 1992-08-18 16:01:07 +00:00
Guido van Rossum 74a3f8b6c0 Initial revision 1992-08-18 14:47:41 +00:00
Guido van Rossum 44b8e81c42 Change window title: prefix '* ' means playing. 1992-08-18 14:47:20 +00:00
Guido van Rossum 7ff90ef714 Adapt to new syntax and don't print garbage on self.close(). 1992-08-18 14:16:21 +00:00
Guido van Rossum 843d153f99 Initial revision 1992-08-18 14:16:12 +00:00
Guido van Rossum 73b715e259 Initial revision 1992-06-03 16:50:01 +00:00
Guido van Rossum b1ccc6afe0 Improvements by Sjoerd 1992-06-03 16:49:44 +00:00
Guido van Rossum 6c6b6094fc Improved functionality, by Sjoerd 1992-06-03 16:49:29 +00:00
Guido van Rossum 37fa454c11 Initial revision 1992-05-14 14:24:57 +00:00
Guido van Rossum 4476670761 Append /ufs/guido/src/video to sys.path. 1992-05-12 12:33:44 +00:00
Guido van Rossum fa3de516f5 Print real width and warn for stride not a multiple of 4 bytes 1992-05-07 15:21:52 +00:00
Guido van Rossum 864cde2831 Warn if stride not a multiple of 4 bytes; use PM_SIZE instead of 5. 1992-05-07 15:21:25 +00:00
Guido van Rossum edb3a5fcf2 Standardize indentation to 8 chars; remove redundant "saveframe";
add -s (short listing) option; don't print space after tab;
print data size in bytes and whether it
is a color image.
1992-05-06 17:58:34 +00:00
Guido van Rossum 2c8bf9d400 Define colorinfo even if no header line found 1992-05-06 17:58:18 +00:00
Guido van Rossum 9ac9063cef Added comment header; don't use undocumented internals. 1992-04-22 13:47:50 +00:00
Guido van Rossum 60c225c27c Rewritten (by Sjoerd again) to use module readcd 1992-04-22 13:39:48 +00:00
Guido van Rossum daea6c842e readcd is now part of the standard library (for SI) 1992-04-22 13:39:33 +00:00
Guido van Rossum d9feb59b32 Adopted new readcd interface; caught interrupts 1992-04-22 13:39:10 +00:00
Guido van Rossum 6f1f39188c Fix finally syntax 1992-04-17 16:32:53 +00:00
Guido van Rossum f8b7e926e0 Initial revision 1992-04-15 17:52:27 +00:00
Guido van Rossum 08d962260e Document cdaiff and readcd 1992-04-15 17:52:18 +00:00
Guido van Rossum 67aad284dd Fix use of exceptions; new getstatus(); command line argument for trackno. 1992-04-15 17:49:14 +00:00
Guido van Rossum 632d49274e renamed readcd to recvcd (to avoid conflict with Sjoerd's reacd class) 1992-04-15 16:40:12 +00:00
Guido van Rossum f4be726da2 Changed status format; added host argument; documented arguments;
fixed code for missing frame argument.
1992-04-15 16:38:38 +00:00
Guido van Rossum b108e976a4 Track info is now two triples instead of six number 1992-04-15 16:20:12 +00:00
Guido van Rossum d5d1912e28 New getstatus() return.
Use togglepause() only if playing or paused.
1992-04-15 16:19:23 +00:00
Guido van Rossum e55fef1799 Moved a few lines out of the try statement 1992-04-14 11:07:19 +00:00
Guido van Rossum e8b8207571 added main() call 1992-04-14 11:05:59 +00:00
Guido van Rossum b385328fbc added comment and main() call 1992-04-14 11:05:49 +00:00
Guido van Rossum 4bd4147569 cosmetics 1992-04-14 11:05:40 +00:00
Guido van Rossum dbdeebbbfa improved lay-out; added call to main() 1992-04-14 11:05:22 +00:00
Guido van Rossum f2759a5c2d made it a little nicer; use CDDA_DATASIZE; restore output sampling rate 1992-04-14 11:04:57 +00:00
Guido van Rossum b950629b90 Initial revision 1992-04-13 18:38:20 +00:00
Guido van Rossum 14f43cf5dc new '==' syntax 1992-03-30 13:30:03 +00:00
Guido van Rossum 453bd408bd Initial revision 1992-03-30 13:18:37 +00:00
Guido van Rossum 715a653152 Initial revision 1992-03-30 11:39:53 +00:00
Guido van Rossum cbc1d90cda More functionality by Jack (untested by me) 1992-03-18 13:04:25 +00:00
Guido van Rossum dbd83aa4df Initial revision 1992-02-28 16:19:15 +00:00
Guido van Rossum 2080b347f4 Added class VoutFile.
Added rgb8 support.
Added cache of frame offsets to VinFile.
Misc hacks to grab rgb8 data.
1992-02-28 15:59:23 +00:00
Guido van Rossum 19f2aec581 Initial revision 1992-02-11 14:50:54 +00:00
Guido van Rossum f47d0485a0 new syntax 1992-02-11 14:50:22 +00:00
Guido van Rossum d61bbb33f7 Better check of input data? 1992-02-11 14:47:11 +00:00
Guido van Rossum 58b38ccc9d standardized lay-out; new syntax. 1992-02-11 14:45:43 +00:00
Guido van Rossum 488b7d939d *** empty log message *** 1991-12-24 13:55:16 +00:00
Guido van Rossum 696f91151c Fix division by zero in some cases. 1991-12-03 17:25:52 +00:00
Guido van Rossum 444339d463 Support for CMIF video 3.0 files (more color systems). 1991-12-03 16:52:40 +00:00
Guido van Rossum 8f72bbb2c8 Jack added new color systems (unfortunately using old lay-out). 1991-12-03 16:52:21 +00:00
Guido van Rossum 3e0d556221 Improved lay-out. 1991-12-03 16:51:06 +00:00
Guido van Rossum 094a9deae6 Initial revision 1991-12-03 16:50:00 +00:00
Guido van Rossum 01ebbb80ab Initial revision 1991-11-22 14:06:10 +00:00
Guido van Rossum a63f19798d New options: -m mag, and -F.
Also support for 'CMIF version 2.0' movies, with compressed color.
1991-11-22 14:04:01 +00:00
Guido van Rossum 7385d583a5 New features 1991-11-22 14:03:57 +00:00
Guido van Rossum eda5dfd7c8 Update on vinfo 1991-11-06 16:13:25 +00:00
Guido van Rossum 6f00a317a1 Introduced getopt.
Added -d option: print deltas instead of absolute times.
1991-11-06 16:13:02 +00:00
Guido van Rossum b3c493cdd8 Fix third arg (audio skip). 1991-11-04 18:14:23 +00:00
Guido van Rossum 228381e0c2 Changed description of video.py. 1991-11-04 18:04:47 +00:00
Guido van Rossum 5dafd916f2 Added -p packfactor and -l (looping) options. 1991-11-04 18:04:21 +00:00
Guido van Rossum 7d435fee60 Cosmetics. 1991-11-04 18:04:14 +00:00
Guido van Rossum 7caf611a0f Added vcopy.py; and cosmetics. 1991-11-04 15:55:01 +00:00
Guido van Rossum bac4572300 Fixed to understand new file format; and cosmetics. 1991-11-04 15:54:36 +00:00
Guido van Rossum 5d731fc88c Initial revision 1991-11-04 15:54:22 +00:00
Guido van Rossum 5395c067de Made much faster, but for SHORT movies only, by saving lrectread
data unprocessed in memory.  As long as memory doesn't run out this
gets us 19 frames/sec!
Also many cosmetic changes.
1991-11-04 14:31:54 +00:00
Guido van Rossum 96059b318c Some new info. 1991-11-04 14:31:31 +00:00
Guido van Rossum afdcb54a82 Initial revision 1991-11-04 14:31:03 +00:00
Guido van Rossum 27cb9916db Made it work for more cases. 1991-11-04 14:30:51 +00:00
Guido van Rossum b51afcc5c4 Cosmetics, single buffering, block when not running, etc... 1991-11-04 14:29:27 +00:00
Guido van Rossum e4bddeae23 Initial revision 1991-10-30 11:52:48 +00:00
Guido van Rossum 944e76fb3c Fix typo. 1991-09-15 21:26:52 +00:00
Guido van Rossum 5b39796eca Fix names import. 1991-09-15 21:26:44 +00:00
Guido van Rossum c96f38eb1f Initial revision 1991-09-15 21:26:30 +00:00
Guido van Rossum 9978a16c7d Move parametrizations to "names.py" 1991-09-15 21:21:28 +00:00
Guido van Rossum 50692d62de Initial revision 1991-09-15 21:05:15 +00:00