|
SYS-CON.TV Webcasts
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Top Links You Must Click On
Flash Encode, Deliver, Design
Getting a grip on Flash Video
By: Craig Goodman
Nov. 18, 2004 12:00 AM
It wasn't so long ago that video and the Web were at odds. Video was becoming more beautiful and entertaining through new post-production techniques. And with the proliferation of video editing software and high-speed buses like FireWire, creative videos started coming from all types of makers - from professionals to first-time home users. The Web, vast but slow, seemed to be stuck in a rut, resisting video's advances by confining it to small sizes and clunky, boxy players. Flash Video is changing all of this. Now, as many of you either create or have access to great-looking video, you want to match that quality by wrapping it in a super online playback experience. The answer: use Flash Video (see Figure 1). Getting StartedIn this article, I will guide you through some of the steps you need to take to encode and deliver video on your Web site. If you'd like to drill down to more specific Flash Video topics, visit the Flash Video Developer Center.Step 1: Create Your FLV File
If You're Not a Video Editor...Many of you may create or edit video at work or at home. However, if you don't, you may have video that is pre-encoded as QuickTime, Windows Media, or another type of video file. If this is the case, there are a couple of easy-to-use tools for you to convert your file to FLV.Note: Compressing and recompressing video is not great for quality. It's always better to start with a version of the video that is closest to the original source as possible - you'll really see a difference in the results.
A special version of Sorenson Squeeze is included as part of the Macromedia Video Kit. The kit also has a Dreamweaver extension for adding Flash Video to your site. You can purchase the Macromedia Video Kit from the online store. However, if you're not a video editor, but you do have Flash MX Professional 2004, a cheap and easy way to convert video files to FLV is by purchasing Apple's QuickTime Pro for Mac or Windows (www.apple.com/quicktime). Simply install the Flash Video Exporter, and your FLV export options will appear automatically in QuickTime Pro. You can save any video file that you can open in QuickTime Pro as an FLV file. If You Are a Video Editor...Many of you edit your own video with applications such as Final Cut Pro or Avid Media Composer. Since the Flash Video Exporter works as a plugin to the QuickTime Export architecture, once you install it, it will show up as an export option in applications that support it, such as Final Cut Express/Pro and Avid Xpress DV/Pro.For more information on how the FLV Exporter integrates with different applications and how to get the latest version, check out "Creating Flash Video Files with Flash Video Exporter." (www.macromedia.com/devnet/mx/flash/articles/flv_exporter.html) Step 2: Choose How to Deliver Your Flash Video
Progressive DownloadProgressive Flash Video download, which first emerged in Flash Player 6, doesn't make you wait (and wait) for the whole video to download before it starts playing. The video starts its playback as it progressively downloads segments of the video, providing a smoother experience for your users. Many people call this streaming video, but there is a difference, as I will explain later.There are a couple of ways to use progressively downloaded Flash Video (FLV) on your site; I'll start with the old way, which is importing and embedding the video in your Flash file, then enlighten you with the new one - playing your FLV files externally. Embedding Your Video Within the SWF? Think Again!There's something I have to say, so I might as well get it out of the way right now. Don't embed your video in your Flash file unless it's less than 10 seconds long. Yes, you heard right. While Flash MX touted the coolness of being able to embed video right into the Flash file, I've got news for you - that's not so cool anymore. Here's why.
Using External FLVsIn the Developer Center, most of the articles recommend placing your FLV files external to your Flash (FLA) file. This method, new in Flash Player 7, is fast, efficient, and flexible, and it doesn't require any additional software. Here are some more reasons:
StreamingYou might be thinking, "That progressive download sure sounded like streaming to me. " Well, they are similar - both start playing before the video fully downloads and a lot of people use the terms interchangeably - but they are not identical.True streaming video comes from playing your FLV files using Flash Communication Server MX. Is the quality higher? Well actually, if you're talking strictly about how the video looks (its colors and sharpness), progressive download and streaming are the same - a 300 Kbps-encoded FLV file is a 300 Kbps-encoded FLV file - no matter how it's delivered. So How Is Streaming Different?
Now that you've decided how you will encode and deliver your video, you're ready for the creative part - building your Flash Video player for your Web site. This isn't too hard, as Flash MX Professional 2004 has prebuilt media components that you can simply drag to the Stage and configure 1n a dialog box. And on top of that, you can now even use a handy Dreamweaver extension (included in the Macromedia Video Kit) to put your FLV in your page - without even going into Flash. However, many of you will want to do much more. For example, you may want to create custom video players that integrate with your site. You may also want to synch the appearance of other graphics with your video, make your video play borderless within a scene, or overlay your video with interactive hotspots. To get these more customized effects, you need Flash MX Professional 2004. If You Are a Flash User...Flash MX Professional 2004 users get the best of both worlds when creating Flash files that host Flash Video. You can use the Flash media components to quickly get video into a Flash movie, then you just publish the SWF and the FLV files on your Web site.If you want to start creating more complex video presentations, check out the Flash Video Templates, which you can download and modify for your own design and usage. The templates (see Figure 4) include model sites for playing personal video, corporate video presentation, a live video Webcast, and more. Finally, if you're a real expert with Flash, we've provided the source code (FLA) and documentation for our Flash Video Gallery application on www.macromedia.com. If You Are a Dreamweaver User...Some folks who have Dreamweaver (or even Studio MX 2004) may not be that familiar with Flash, but want to get started quickly (and learn Flash later). The Macromedia Video Kit gives Dreamweaver users an easy way to place Flash Video in a Web page - without ever opening Flash.The Macromedia Video Kit includes two very important components: the Flash Video extension for Dreamweaver MX 2004, and that special version of Sorenson Squeeze 4.0 that I mentioned earlier. With the kit, you can convert and encode any video on your computer to FLV using Sorenson Squeeze; then, with the extension, you can place that video on your HTML page - the extension takes care of building and configuring the video player for you. Where To Go from HereFor more information on how to use Flash Video, visit the Flash Video Developer Center (www.macromedia.com/devnet/mx/flash/video.html), where you will find the most up-to-date information, as well as tutorials, and templates for making the most of Flash Video. You'll also find articles, including:www.macromedia.com/devnet/mx/flash/articles/video_primer.html Capturing and Encoding Putting Flash Video on Your Web site - Presenting Video with the Flash Video Extension for Dreamweaver MX 2004: www.macromedia.com/devnet/mx/flash/articles/flv_tutorial.html - Creating Custom Flash Video Skins for Dreamweaver MX 2004: www.macromedia.com/devnet/mx/flash/articles/flv_tutorial_pt2.html www.macromedia.com/devnet/mx/flash/video_templates.html www.macromedia.com/devnet/mx/flash/articles/media_components.html Delivering Flash Video www.macromedia.com/devnet/mx/flash/articles/fvss.html For Advanced Flash Video Developers www.macromedia.com/devnet/mx/flash/articles/video_gallery.html Reader Feedback: Page 1 of 1
Enterprise Open Source Magazine Latest Stories . . .
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||