|
previous tutorial |
ACG home |
Instructor home |
Class home |
List of tutorials |
next tutorial |
Before beginning the project
- If you are working in the ACG Lab
click to read these important notes before you start the tutorial.
This section of the directions contains information that pertains specifically to the way the ACG Lab operates. It may not apply if you work on the project elsewhere.
- If you need to get for yourself the programs mentioned in this tutorial:
- In our previous session, we used Premiere to create the elements for our video. We will now use Premiere's editing features to assemble a finished piece from those same elements. First we
verify the program settings, then we proceed to:
- The final step is to
edit the HTML file for your web page, adding a link to the completed video file.
return to top
- Unlike video recording, which requires special hardware (video digitizer), video editing can be accomplished (for small files) on any reasonably fast computer. To set up the computer's configuration:
- Use Apple-->Control Panels-->Memory
- If you find that Virtual Memory is on, turn it off. After you close the Memory control panel, use the Special-->Restart command in the Finder to reboot the computer.
- If Virtual Memory is already off, simply close the Memory control panel. There is no need to reboot the computer.
- Make a folder on the hard drive, then copy into it the title file and the video recording created in the previous session.
- This is important because Premiere needs plenty of space for temporary files, and plenty of speed--both unavailable on a removable disk.
- Switch to Premiere. If you are starting up the Premiere application for the first time this session, the 'Load Project Settings' dialog will appear--click 'Cancel' to dismiss it.
- Bring up the New Project Settings dialog (using File-->New-->Project). This dialog has several parts, each one selected from a pop-up menu menu in its upper-left corner. The relevant settings are:
- Video Settings section:
- Compressor--choose 'Cinepak'.
- This is the codec--the technique used to make the video file size smaller.
- Depth--choose 'Millions'.
- Different codecs offer different bit-depth choices--yielding different color ranges.
- Frame Size--uncheck '4:3 Aspect', then enter 176 h and 120 v.
- To avoid distortion and changes in resolution, we match the aspect ratio and pixel size of the original recording.
- Frame Rate--choose 15 frames per second.
- The frame rate of the output file can differ from the frame rate of the recording. Just as we saw for animations, higher frame rate settings yield larger files.
- Quality slider--adjust to middle position.
- This slider is only available for the codecs which allow variable compression ratios. Just as we saw for JPEG compression of still pictures, higher image quality settings yield larger files.
- Data Rate--leave unchecked.
The data rate is a measurement of how fast the file must be loaded on the viewer's computer for smooth playback. Unchecking this option lets the codec set compression as needed.
- Audio Settings section:
- In this section, we basically match the audio settings of the recording. In the interest of smaller file sizes, however, we lower the sampling rate below the level allowed by the recording hardware, to 11 kHz.
- Keyframe and Rendering Settings section:
- For our simple project, we can leave the 'Rendering' options unchecked.
- The 'Keyframes' section controls the operation of the codecs which use 'inter-frame compression' (i.e., they exploit redundancies among contiguous frames to avoid storing repeatedly parts of the image which do not move). Leaving these options unchecked lets the default settings take effect.
- General Settings section:
- Editing Mode--choose 'QuickTime' to indicate that we will not be operating with a DV tape recorder.
- Timebase--choose '30'. This is the nominal frame rate used for the project--it may be different from the frame rate of the final video file.
- Time Display--choose '30 fps Non Drop-Frame Timecode'. Time measurements will not take into account the fact that the NTSC broadcast frame rate is actually a bit less (29.97) than 30 frames per second.
- The 'Current Settings' list recaps the choices you made in the various sections of this dialog.
- When done establishing the various settings, close the New Project Settings dialog by clicking 'OK'. A new empty Project window will appear.
- Click on the Project window to make it active, then use File-->Save to store your editing project in the same folder with your title and recording files (you can choose any filename you like for the project file).
- The Project file contains information on the whereabouts of all elements, and their placement on the timeline.
return to top
- Use File-->Import-->File.
- Use the Import dialog to locate your title file, then click 'Import'.
- Repeat the Import procedure for your video recording file.
- Both will appear as clips in the Project window.
- Premiere needs to know when, and for how long, each element will appear in the final video. This is indicated by dragging each clip to an appropriate location in the Timeline window.
- If you have trouble determining time locations on the ruler, you can change its scale using the pop-up menu at the bottom-left of the Timeline window.
- In our setup, we asked Premiere to indicate times and durations using the format hours:minutes:seconds:frames. This is called SMPTE Timecode.
- Drag the title from the project window to the Video 1A channel (called A Roll), and position it so that its thumbnail is flush with the left edge of the window.
- Because of the delays in web playback, there is no need for a long 'hold' on the title card. The default duration for a still image (1 second) is enough.
- Before adding the video recording to the timeline, you may want to trim it (i.e., eliminate parts you don't need at the beginning and end):
- To trim a clip, start by double-clicking its entry in the Project window.
- The Monitor window appears. Drag the slider on the left of the window to advance the recording to where you want to start its playback.
- Click the Mark In button to indicate the in point (start of playback).
- Scroll again to find the time when the playback should stop. Click the Mark Out button to indicate the out point (end of playback).
- Drag the trimmed clip from the Monitor window to the Video 1B channel (the B Roll), and position it so that it starts a short time before the title ends. This overlap between the two clips is meant to accommodate a transition.
- You have now assembled a simple video. You can see what your work looks like so far by previewing it:
- Extend the light blue band at the top of the window (the Work Area) to encompass all your elements. Do this by dragging the white triangle at the right end of the light blue band.
- Use Project-->Preview to start playback.
return to top
- Transitions let you replace the abrupt change from title to video (a jump cut) with a visual effect (such as a wipe).
- If necessary, display the Transitions palette by using Window-->Show Transitions.
- The thumbnails for each effect can animate, previewing the result of using that transition to go from image A to image B. To turn on this feature, make sure the Animate command is checked in the Transitions palette menu.
- Scroll to find the transition you prefer. Drag the transition thumbnail to the Transition channel (the one between the A and B rolls) in the Timeline window, positioning it right where title and video recording overlap.
- Premiere will automatically size the duration of the transition to match the amount of overlap.
- Use Project-->Preview again (or press the Enter key on the numeric keypad) to see the revised version of your video.
return to top
- Save your edited project (you will need it again for any modifications): File-->Save.
- Click on the title bar of the Timeline to make sure it is the active window.
- Use File-->Export-->Movie to generate the final version of your edited video.
- In the dialog box that appears, enter the filename in the format:
sample_s.mov
using your last name and first name initial.
- The output settings we chose at the beginning of the project are recapped at the bottom of the dialog. If incorrect, you can click the 'Settings' button to fix them.
- Click 'OK' in the Export Movie dialog to start outputting the file that you will use in your web page.
return to top
- In the .html file for your homepage, add the following
link so viewers can call up your video:
<A HREF="sample_s.mov">Click here to see my video</A>
replacing sample_s.mov with the actual name of your .mov file, and Click here to see my video with whatever text you want viewers to click on.
- Before leaving, make sure to use File-->Save to update your project, then quit Premiere and dispose appropriately of your files:
- The Premiere project and your source files (the original video recording and the title card) are needed if you want to make changes to your edits at a later time.
- The .mov file and the revised .html file can be posted on the web.
- The folder of preview files that Premiere creates can be tossed out.
return to top
Notes
- The key notion for understanding data compression is redundancy. Whenever the same information is repeated in a regular pattern, a compression program can find ways to 'write it down' in a more compact format.
- The two main categories of compression algorithms are:
- lossless--which simply take advantage of existing redundancy in the data. A straightforward technique is Run-Length Encoding (RLE), which stores each repeating data item, and the number of consecutive times it occurs. This works best with 'line art'--images with solid areas of color.
- lossy--which create additional redundancy in the data by making it more uniform. The drawback is that some details (such as fine color differences and minute details) will be wiped out, but the result is a smaller file even when the original data (such as most photographs) has few repeating features.
- In most cases, lossy compression codecs provide a choice of quality levels--lower quality equals smaller files.
- In the case of video, codecs can exploit redundancy across frames as well. Accordingly, video codecs will use one, or both, of the following:
- Intra-frame compression--this is the same type of compression (lossy or lossless) used for still images, and is applied separately to each frame.
- Inter-frame compression--looks for features that are repeated unchanged from frame to frame. As long as some part of the image doesn't move, it can be recorded once when it first occurs (key frame) and reused for subsequent frames (delta or difference frames) without taking up additional space in the file.
- For this to work effectively, care should be taken to minimize unnecessary motion: camera on a tripod, good lighting (to reduce random image noise), static backgrounds, fewer edits, etc.
return
- Codec stands for Compressor/Decompressor. Many codecs have been devised, each offering specific trade-offs between image quality, file size, amount of time taken to compress the file, resources needed on the viewer's computer for smooth playback, compatibility with various computer platforms, ease of access to individual frames for editing, etc.
- For web distribution we need an aggressive codec which will squeeze down the file size significantly. While Cinepak is not necessarily the highest-quality codec for this application, it has been around for a long time--and is therefore more likely to be available on your viewers' computers.
return
- We are creating a hyperlink that will bring up the movie separately from our main web page.
- While it is possible to embed the movie in the web page, keeping it separate gives viewers the choice to download the video, or pass on it because of its size.
return
Information specific to the ACG Lab
- On ACG Lab computers, the program Premiere is on the hard drive, inside the Video folder.
- In the ACG Lab, documentation on Premiere is on the ACG_DOCS volume of the ACG file server, inside the PageMaker folder:
- After completing this step of the project, follow the instructions from previous sessions to log on to the file server 'ACG' and to locate the drop folder in the class folder. Drag both the updated version of your HTML file and your output video file (.mov) to the drop folder. Before leaving, make sure to copy your Premiere project and title files back to your Zip disks.
- The Art Computer Graphics program of Fullerton College offers a class covering digital video in detail, ACG66-Multimedia Video. Look it up in the ACG Class Schedule.
return
|
previous tutorial |
return to top |
next tutorial |