Commit Graph

225 Commits

Author SHA1 Message Date
Guido van Rossum c17c84fbe3 Disconnect from VCR when switching modes.
Wait for VCR ready and set VCR mode to DNR when initializing VCR.
Fix type error in getfloat().
1993-05-10 15:45:49 +00:00
Guido van Rossum 9f42f4fe43 Added single frame capturing.
Added VCR synchronized capturing.
Added audio capturing (for continuous mode only).
Lots of internal and external improvements.
1993-05-10 15:07:20 +00:00
Guido van Rossum 71ba5d96f9 Revived the old aplay tool which can play synchronous audio and video... 1993-05-10 14:56:32 +00:00
Guido van Rossum c5a14331a0 Moved stop button again; default form position next to video window. 1993-05-07 11:20:07 +00:00
Guido van Rossum bc6d3c37d1 All combinations of video format and capture mode (cont/burst) now
work.  Reorganized a lot of the code, still not satisfied...
1993-05-07 09:37:42 +00:00
Guido van Rossum e17c6c355a Use groups to show/hide "Stop capture" button.
Made mono capture work.
Don't support rgb24 capture (the code for this doesn't exist in Vrec either!).
1993-05-06 16:27:25 +00:00
Guido van Rossum b7e3cc12e1 New program: Video Bag Of Tricks. Will eventually replace Vrec and
Vrecb.  Has a user interface dialog to set options etc.
1993-05-06 16:06:44 +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 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 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 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