Video encoders can compress a video file and save it in a variety of file formats and sizes while retaining most of the visual quality of the original file's images. Compressing video is crucial because just 10 seconds of ordinary NTSC video can gobble up to 300MB of storage space. If you want to distribute video on a CD/DVD, as a streaming video file, or as an email attachment, you need to compress it. For maximum flexibility an encoder must accept video from various sources, such as a videocassette or digital video camera. You must also be able to save that video file in different file formats. For example, you may need one format to save the video as a streaming video file but a different format to save it to DVD. To decide which video encoder is best for your needs, there are some common and special features you should know about. How Video Compression Works To compress video, you need a video codec, which is an algorithm that specifies how to compress video for storing and how to decompress it for playback. The efficiency of a codec determines how small it can compress the video without losing its original visual appearance. Compressing video involves a trade-off between small file sizes and image quality. The smaller the file, the lower the image quality. Most video codecs use lossy compression, which means removing part of your video. The less video a codec stores, the smaller the file. A codec can't indiscriminately chop out chunks of your video without completely destroying the video image, so codecs selectively remove parts by comparing the video frame by frame. At the simplest level, the codec only saves images that change from one frame to the next. Because a background may stay the same throughout multiple frames, the codec only stores the background from a single frame, cutting the size of the video considerably. Codecs can also cut the file size by reducing the number of colors saved, altering the video's frame rate, and lowering audio quality. These methods involve cutting information to save storage space, but if a codec is efficient enough it can reduce colors so you won't notice or lower audio quality to eliminate sounds, you can't hear anyway. Give & Take No matter the codec you use, there's always a trade-off between compression level, video quality, and compression/decompression speed. The compression level defines how much a codec can compress a file. Video quality determines how much visual information the compressed file retains from the original. Compression/decompression speed measures how fast the codec can compress the video and decompress it (to play it back). If you compress too much, video quality suffers. If the codec is too slow in analyzing video, the compression/decompression speed can take too long. Some users might tolerate a slow codec for compression, but no one will wait several hours for the codec to decompress the video to watch it. If a codec takes equal time to compress and decompress a video, it's said to be symmetrical. If there's a big difference between the two times, the codec is said to be asymmetrical. Although there are many different codecs, no single codec is best for all types of video. Some are better suited for outdoor video images. Others are better at distributing video on CD/DVD. And still others are better for creating streaming video. For maximum flexibility most video encoders offer several codecs so you can choose the best one based on the task. Tweaking A Codec A codec alone can't do anything without a video encoder program. The codec takes care of compressing the video while the video encoder program lets you modify the way the codec works. Most video encoders can guide you in compressing a video without knowing anything about codecs, but modifying codec settings can let you wring the last bit of compression out of your video. Some settings include bit rate (or data rate), frame rate, frame size, and key frame. The bit rate measures how much space (usually in kilobits) is used to store one second of video. A high bit rate improves video quality but increases the file size. Depending on how you plan to distribute your video, there may be a maximum bit rate value. For example, a VCD can only playback video at a rate of 1,100Kbps, so storing a video that specifies a higher bit rate than 1,100 is pointless. Many encoders use CBR (constant bit rate) compression or VBR (variable bit rate) compression. CBR reduces the bit rate uniformly throughout the entire video. Although this means the codec can compress video quickly, it also means the codec treats simple images (the moon against a black background) the same as more complicated images (a forest on fire with airplanes flying overhead), so the video quality of the more complicated scenes may suffer. VBR alters the bit rate depending on the complexity of the video image. This can improve video quality but means slower compression time. For even higher video quality, some encoder programs offer two-pass VBR, meaning the program analyzes your video file twice to get the maximum video quality and smallest file size possible, but at the expense of much slower compression speed. The frame rate defines how many frames per second are used to store your video. The fewer frames used, the lower the quality and smaller the file. Because many computers can't play video faster than 16fps, a lower frame rate can preserve quality while reducing the file. Frame size measures the physical dimensions that your video appears in. A large frame size takes up more storage space. Key frame defines how many frames the codec waits before capturing another unchanged image, such as a background. Lower the key frame setting, and the codec captures unchanging images more often to improve video quality, but with a greater file size. When choosing a video encoder, don't be fooled by the minimum requirements. You could use Windows 98 with a Pentium III processor and 128MB of RAM, but a P4 with 256MB of RAM really should be the minimum requirements because video files gobble up RAM, hard drive space, and processing power. We tested three video encoders geared for a wide range of users using a 2.4GHz P4 system with 512MB of RAM and 1.8GHz AthlonXP system with 512MB of RAM. Both computers ran Windows XP. Obviously, a computer with a faster processor or more RAM would likely run through the test files faster, but these systems represent an average user's typical configuration. Pegasys TMPGEnc 2.5 To learn how a video encoder can compress and convert video files, grab the free trial version of TMPGEnc (Tsunami MPEGEncoder). While most commercial video encoders let you compress video into a variety of file formats, TMPGEnc only lets you compress video files into MPEG or AVI format. Despite its spartan user interface (only File, Option, and Help menus), TMPGEnc provides a surprising amount of features for compressing and converting video files. To speed up compression, TMPGEnc can use MMX (Multimedia Extension)-enabled Intel processors, plus support multiple CPUs. To further reduce the size of your video files, TMPGEnc provides a handful of filters that can clip the edges of a video's frames, filter out excessive sounds, and correct color tone. Although TMPGEnc's commands are few and relatively easy to navigate, it still offers a helpful Project Wizard to help users compress files. If you need to compress multiple videos, TMPGEnc even offers a special batch mode. This lets you just define your compression settings, load the video files you want to compress, and leave your computer running overnight. At just $88 for a boxed version that comes with a printed manual (or $48 for a download version), TMPGEnc is a perfect program for hobbyists learning about video compression. Best of all the free 30-day trial version lets you experiment with your own video files to see how different settings can change the quality and size of your files. If you only need to work with MPEG or AVI file formats, TMPGEnc may be all you need. For more than this, you'll have to look at other programs. The app runs on Windows 98/Me/NT/2000/XP.
 Sorenson Squeeze 3.5 Compression Suite $449 Sorenson Media www.sorenson.com 4 CPU's | Sorenson Media Sorenson Squeeze 3.5 Compression Suite Sorenson Squeeze packs enough features to handle all the video compression needs for the casual hobbyist and professional. The app can save your video in practically any file format, including QuickTime, Windows Media, Real Media, MPEG, and even Macromedia Flash. Besides supporting various file formats for output, it can also accept video stored in AIF, ASF, AVI, DV, MPEG, QuickTime, and Windows Media formats. To optimize video size and quality, Sorenson Squeeze can automatically choose the best settings based on how you plan to distribute and play your video. For example, the app provides default settings for creating a streaming video suitable for both dial-up and broadband users. It can also output several different file types simultaneously, such as converting an AVI file to an MPEG and QuickTime file. Although the program lacks a step-by-step wizard, the UI is simple enough to choose the target distribution for your video (such as a specific file format or a media), plus provide default settings optimized for your target file format or distribution medium. Naturally you can alter these settings. When you change compression settings, you alter the final file size. But if you want to store your video on a CD that only has a fixed amount of space remaining, you might need to fiddle with settings until you get your video to a size that fits. Adjusting compression settings can be time-consuming, so Sorenson Squeeze lets you specify a maximum file size for your compressed video. The program then chooses the best compression settings to smash your video down to that file size. The app's hefty $499 price puts it out of the casual enthusiast's range, but its cross-platform compatibility (Win98/Me/2000/XP and Mac OS X) and intuitive UI make it an indispensable tool for anyone who needs to distribute video.
Cinema Craft Encoder Basic Cinema Craft Encoder Basic ($59) is a stripped-down version of Cinema Craft's professional video encoder ($1,950). You can download a free trial version of Encoder Basic, but if the trial version is anything like the commercial version, you may want to spend your money on a different video encoder. The trial version claims to accept AVI and QuickTime files, along with digital video. While loading AVI files worked fine in the trial version, loading both QuickTime files and digital video constantly displayed an error message. Encoder Basic encoded AVI files quickly and easily. The program's simplified UI involves loading a file and clicking an Encode button to convert it to an MPEG, which is the only output file format supported. While the UI is fine for those who just want to convert a video file into MPEG format, it prevents users from tweaking the compression settings to optimize the video compression. Worse, the program's MPEG version of AVI files consistently displayed odd color bands across the screen, along with jerky video with chunky images. The application even mangled parts of the audio soundtrack. With limited file-format support and unacceptable video and audio quality, Encoder Basic may come from well-known and respected pedigree, but it ultimately failed to provide even minimally acceptable videos. The program works with Win98/Me/NT/2000/XP. What Do You Need? More money definitely buys better performance. Still, unless you are a professional or an avid enthusiast, it is hard to justify buying a video encoder that can cost as much as a new computer. Fortunately a lower price doesn't necessarily translate into inferior quality but simply fewer features, which you may not need anyway. No matter your skill or budget, you should be able to find a video encoder that fits within your price range while offering the features you need. by Wallace Wang View the graphics that accompany this article. (NOTE: These pages are PDF (Portable Document Format) files. You will need Adobe Acrobat to view these pages. Download Adobe Acrobat Reader)
Video Encoder Glossary AVI (Audio-Video Interleaved)—A video file format commonly used by Windows computers. bit rate—The amount of space needed to store (or send) one second of information, usually measured in kilobits per second. codec—Short for compression/decompression, technology that compresses and plays back video. CBR (constant bit rate)—A method of encoding video content that's independent of the visual images. key frame—A frame that a codec uses to save images that don't change, such as a background. MPEG (Motion Picture Experts Group)—A video compression standard used to store video. The MPEG file format includes the MPEG-1, MPEG-2, and MPEG-4 standards. VBR (variable bit rate)—A method of encoding video content based on the complexity of the visual images. VBR is usually slower than CBR and may require two passes to provide optimum visual quality.
|
|