TechRepublic : A ZDNet Tech Community

How Do I...

Host: Mark Kaelin
Contact

How do I... Convert an MPEG video file into Flash video?

In a previous How do I… blog entry, I showed how easy it is to create your own custom Flash Video player using Adobe Flash’s new video components and a few lines of ActionScript. The example I wrote featured a sample Flash video file (FLV) from a royalty-free stock video site. This time, I will show you how to convert your own MPEG, AVI, or QuickTime files into the FLV format.

Converting an MPEG, AVI, or QuickTime video is a simple process that involves using Adobe’s Flash Video Encoder, a separate program that installs on your hard drive in conjunction with the installation of Flash CS3 itself. If you already have Flash CS3 on your computer, you can open the Flash Video Encoder from the Start Menu.

If you don’t own a copy of Flash CS3, you can download a fully functioning 30-day trial from Adobe. If you don’t have multiple MPEG, AVI, or QuickTime files of your own to use in this exercise, you can download a couple of low-resolution stock QuickTime files from FreeStockFootage.com and save them to your hard drive.

Oddly, Flash CS3 does not provide a stand-alone FLV viewer for watching FLV files from your hard drive. But you can download a free FLV player if you need one.

This blog post is also available as a TechRepublic gallery and TechRepublic download.

Converting files

Begin by opening the Flash Video Encoder if you haven’t already. You should see a screen resembling Figure A.

Figure A

The Flash Video Encoder

Click on the Add… button in the upper-right corner. This will open a dialog box that you will use to locate one of the MPEG, AVI, or QuickTime files on your hard drive that you will be converting to FLV format.

After you have added a source video file, it will be listed at the top of the Encoder’s Queue, with a default setting of Medium Quality. (Figure B)

Figure B

The first source video added to the Queue

The Flash Video Encoder is set up for batch processing of videos, so if you had a large number of videos you wanted to convert to FLV format, you would simply add them to the Queue by clicking the Add… button and listing an unlimited number of source videos so that the Encoder could process them all automatically in the order you listed them.

Let’s add a second video to the Queue now. Click the Add… button again and locate another source video you wish to convert to FLV format. When you are finished, the Queue should resemble Figure C.

Figure C

The second source video added to the Queue

Many people convert their source videos to FLV format for posting on video-sharing sites such as YouTube. However, most of these sites will automatically downgrade the quality of the video to help conserve their bandwidth. If you want to ensure a high-quality FLV file makes it online intact through one of these video-sharing services, you will need to change the default Quality Settings before you convert your source video.

For the sake of comparison, let’s just change the settings for the second video in the Queue. Select the second video in the Queue window and then click on the Settings button on the right side. A dialog box will appear that shows the first frame of the video with several settings tabs underneath. Click on the Encoding Profiles tab and from the drop-down list, choose the option named Flash 8 — High Quality 700 kbps. (Figure D)

Figure D

Setting the second Source video to a High Quality setting

Next, click on the Video tab and from the “Quality” pull-down menu on the right, select the option labeled “High” (Figure E). These settings should work fine. Click the “OK” button to close the Settings dialog box.

Figure E

Adjusting the video quality of the second source video

Now you’re ready to process the Queue and convert your source videos to FLV format. Click the Start Queue button on the right and let the Encoder get to work. As the Encoder converts the videos, you will see a preview play in the bottom-right of the screen. (Figure F)

Figure F

Processing the Queue

When the conversion is complete, the videos in the Queue will be marked with a green check mark (Figure G), and the FLV version of your source videos will be in the same directory as their source videos.

Figure G

Both source videos have been converted to FLV format

Now, open the stand-alone FLV player you downloaded earlier and preview your new FLV movie. (Figure H) These FLV files can be used in the creation of your Flash content, or they can be uploaded to any video-sharing site that accepts videos in FLV format.

Figure H

Viewing the new FLV files through the stand-alone FLV player

John Lee is a consultant specializing in design and illustration and a freelance technical writer. You can visit his Web site at johnleestudio.com.

Print/View all Posts Comments on this blog

Why spend money when you don't have to? JackOfAllTech | 10/04/07
Converters.. dsimp@... | 10/04/07
best free converter? MisterKode | 10/04/07
RE best free converter? mrwelch98@... | 10/04/07
Riva rocks rhogaboo@... | 10/04/07
Good Video spadata | 10/04/07
online video conversion... thickham@... | 03/20/08
Convert online for free here errifi@... | 03/20/08
Super Video Converter by eRightSoft TheGooch1 | 03/20/08
Get the Internet Video converter intj-astral@... | 03/26/08
And Why So Much Money at That mrwelch98@... | 10/04/07
Regarding Free video converters studio.johnlee@... | 10/04/07
Interesting credos Larry the Security Guy | 03/20/08
Here Here!!! Wesley Jolly | 03/20/08
Another interesting parallel application ebade@... | 10/04/07
and some corollaries emccarty@... | 10/04/07
Use Python and FFmeg thejipster2003@... | 10/04/07
Free Converter - Youtube TheGooch1 | 03/21/08
Getting past converting files = good read Stimpi | 10/11/07
Preloder ????? a2wasakra | 03/20/08
RE: How Do I... Convert an MPEG video file into Flash video? giftedwon@... | 10/04/07
RE: How Do I... Convert an MPEG video file into Flash video? pinkyman_pinky@... | 10/04/07
insanity isa@... | 10/04/07
Not quite so insane steven@... | 10/04/07
smaller...maybe, but... isa@... | 10/04/07
Actually I do Larry the Security Guy | 03/20/08
WHAT??? parnote@... | 12/30/08
Try with SUPER oscar@... | 10/04/07
SUPER indeed! MetalFR0 | 03/20/08
Wrong direction mithraigor@... | 10/04/07
Re: Wrong Direction SteveRollo | 10/08/07
RE: Why should we convert to Flash video? MarkAB | 10/04/07
WHY SO MANY FILE TYPES? BALTHOR | 10/04/07
Bag that...Use Camtasia jmgarvin | 10/04/07
But how to ROTATE video? ideallypc | 10/10/07
mencoder can rotate and crop video techrepublic@... | 03/20/08
when minimize any program hide program on task bar deepak4net@... | 10/05/07
RE: How Do I... Convert an MPEG video file into Flash video? Kateorlova@... | 02/15/08
VisiFly vs Flash 3 phamdoand | 03/20/08
RE: How Do I... Convert an MPEG video file into Flash video? a2wasakra | 03/20/08
Free FLV Player - Liquid Studios TheGooch1 | 03/20/08
RE: How Do I... Convert an MPEG video file into Flash video? Aaron A Baker | 03/21/08
The question nobody asks is: WHY should anyone WANT to convert?! vucliriel@... | 03/22/08
Web Video TJ111 | 03/25/08
Thank You, Great Reply :) vucliriel@... | 03/26/08
Still Not A Reason TheGooch1 | 03/27/08
The only problem for me personally is that.. JCitizen | 03/28/08
I Can't get it to work... Freelancealot | 12/07/09

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Top Rated

    Archives

    TechRepublic Blogs



    500 Things Every Technology Professional Needs to Know
    Did you know Microsoft's RegClean does not work with XP but you can use shareware to clean your registry? Did you know most wireless access points don't have encryption enabled by default? Did you know there are 500 tidbits of information contained in TechRepublic's 500 Things Every Technology Professional Needs to Know that will help you become a successful IT professional.
    Buy Now
    IT Professional's Guide to Policies and Procedures, Third Ed
    Whether you're creating policies for management, training, personnel, support, privacy, Internet/e-mail usage, security, or inventory, you'll meet the needs of your entire enterprise with this one download!
    Buy Now

    SmartPlanet

    Click Here