README -- PC Lab Information

Some step-through instructions for Premiere


Motion JPEG software codec
--------------------------

Q: I have captured some AVI files using the Miro-DC20 M-JPEG compression
   method, is there a way to view these files at home?  I am getting the
   message: "Codec not found.  A driver (.drv or .dll) required to open this
   movie is not installed in your system."

A: A software M-JPEG video codec is available from Paradigm Matrix at

	http://www.pmatrix.com/goodies.htm


   After installation, under the Windows 95/98 Control Panel -> Multimedia ->
   Advanced -> Video Compression Codecs, it should say:

   "Paradigm Matrix M-JPEG Codec 1.02N".  Your PC will then be able to make
   and play M-JPEG videos.



MiroDC20 -- the video capture card that supports Motion JPEG (M-JPEG)
====================================================================

Q: How can I record Motion JPEG (M-JPEG) compressed AVI on tape?

A: Run DC20.EXE, check the box "Print to Video" in DC20 control panel.
   Close DC20 control panel, not minimize, close it.  Start your AVI player
   (e.g. Premiere, Media Player).  You won't see the video on the computer
   screen, you have to connect the video out to the VCR's video in and use
   the TV to monitor the video.  When you play the AVI, the video signal is
   send to the VCR.  Only M-JPEG compressed AVIs can be exported, if your AVI
   file is not M-JPEG compressed, please recompress it with M-JPEG.


Q: How come there is no video on the computer screen while playing M-JPEG AVI's?

A: miroDC20 must be set output to Video.  Run DC20.EXE, uncheck the box
   'Print to Video'.  Close DC20 control panel, (not minimize, close it).
   Restart the AVI player/recorder.


Q: How to avoid system freeze while playing/recording M-JPEG AVI's?

A: If you have DC20 control panel (DC20.EXE) running, close it (not minimize)
   and restart your AVI player.


Q: How to get better quality video if I have an S-video source?

A: Some sources, e.g., the Hi-8 camcorder, provides S-video output.
   After making the S-video cable connection, go to
   
	Movie Capture -> Video sources -> Quality

   and choose "S-VHS VCR".


-----------------------------------------------------------------------
Note: Always leave the settings of DC20 control panel to use NTSC and
      "Loop through video".  Always close the control panel after setting.
      


Some C++ Questions
------------------

Q: Where do I find information about MCI, MFC functions?

A: The Visual C++ on-line help is perhaps the most useful resource.
   To start with (esp. for Assignment 2), check the MCI Command String
   information out in \\larch\notes\cmpt365\MciCmdSt.hlp.


Q: Does Visual C++ take Photoshop .psd files as input, or does it only like
   bitmap files?  If I have a .psd file, how do I import/use it in Visual C++?

A: .psd is Photoshop's own format, so no other software will be able to open
   it.  BMP is the standard windows format and the Visual C++ MFC does have a
   bitmap class called CBitmap.  What you have to do is to export your psd
   file to bmp under photoshop so you can use it in Visual C++.


Q: How do I put bitmaps on the buttons?

A: There is a good on-line reference under infoview/samples/MFC 
   samples/General MFC samples/CTRLTEST.




Q: How do I add support for various image formats to my media player.

A: Here are some pointers to possibly useful libraries/packages on the WWW.
   JAVA:

   http://www.oasis.leo.org/java/classes/graphics/00-index.html

	The fileio package contains an image loader
	with support for TGA, BMP, GIF and JPG.


   C++:

   http://user.cs.tu-berlin.de/~uzadow/paintlib/

	Paintlib is a C++ library (compatible with Visual C++)
	for manipulating (displaying) images in any of the following
	formats: TGA, TIFF, JPEG/JFIF, Windows BMP, and Mac PICT.




Q: What needs to be done to use the JAVA Media Framework in Visual Cafe?

A: To use the Java Media Framework from Visual Cafe Pro, please make sure
   to add "w:\jmedia\Classes\media.zip" to the class path in
   Project - Options - Directories for every project that uses that media
   package.

   Note: Visual Cafe is case-sensitive in this regard and does not seem
	 to accept just the diretory path alone.



Q: Is there a document scanner that we can use for our projects?

A: The Lab has a color flat-bed HP scanner.  Ask the receptionist in
   CMPT office to borrow the key (your student ID is required) to open the
   wooden box.


Q: How to get Premiere to play a MIDI file?

A: Premiere does not take either .MIDI or .WRK.  Use MIDI2WAV to
   convert your .MIDI file into .WAV
      

   A .midi to .wav conversion program is installed on the Multimedia PCs.
  
   MIDI to WAVE converter
   ======================
  
       Usage: MIDI2WAV {.mid file} {.wav file} {sampling rate}
  
       e.g.   MIDI2WAV canyon.mid canyon.wav 22050
  
              where common sampling rates are
                  8000 : Telephone quality
                 11025 : Low quality
                 22050 : Radio quality
                 44100 : CD quality
  
  
   All .wav files are generated in 16-bit Stereo PCM format.  A typical midi file 
   will generate a 10M .wav file using sampling rate 22050.
    
   MIDI2WAV is a batch file created to simplify .mid to .wav conversion.
   You can also use \\cypress\win32app\MIDI\TIMIDITY.EXE instead, please read
   \\cypress\win32app\MIDI\TIMIDITY.TXT for instruction.
  

  
Q; What is Sound Forge?  How do I find it?

A: "Sound Forge XP" is a wave editor for simple audio signal processing.
   It may be found at
  
         Start Menu - Programs - cmpt365 - Audio Tools - Sound Forge XP



Q: Is JAVA available in the PC Lab?

A: The JAVA compiler and interpreter are installed on the server in
   \\cypress\win32app\jdk.  Many good/small JAVA applet examples in there too!

   Always use Java Prompt in the Program menu for using Java.
   It can only run under DOS.

   1. For Java applet:
   -------------------

   To write a Java applet, you have to prepare a Java source file *.java 
   and a HTML file which calls your java program. You can use any editor 
   to do this.

      To compile:
      javac file-name.java

      To view:
      appletviewer file-name.html
      OR
      Use the "Open file" menu selection from your browser


   2. For Java application:
   ------------------------

      To compile:
      javac file-name.java
   
      To run:
      java file-name

   P.S. Java is case-sensitive.  File names have to be exactly the same as the
   main class name.


Instructions for running Visual Cafe Pro in the PC lab.
-------------------------------------------------------

To prepare Visual Cafe Pro:

- Run '\\cypress\win32app\vcafe.setup\SetupVCafe'
- Click the "Unzip" button
- Wait until it finish unzipping (5 - 15 minutes)
- Click "Close" button

To start Visual Cafe Pro:

- Click Start - Programs - cmpt365 - Visual Cafe Pro - Symantec Visual
Cafe Pro