Tuesday, December 28, 2010

FLV(FLASH VIDEO)



FLV is FLASH VIDEO abbreviation, FLV streaming format is along with the FLASH MX launch development of VIDEO format. Since it formed files tiny, loading extremely fast, enabling the network video files to watch becomes possible, it will appear effectively solved the video files into Flash, allow the export SWF file huge volume, not on the Internet very good use shortcomings.

Basic introduction

FLV video format definition

At present various online video website all adopt the video format. FLV has become the mainstream of video file format.

FLV is currently by numerous new generation of video sharing website adopted and is currently the fastest growing and most extensive video transmission format. In the compression algorithm sorenson company developed on the base of it out. Not only can easily FLV format import Flash, very fast, and can play the role of the protection of copyright, and can not through local Microsoft or REAL players play video.

FLV video format

popularization

FLV (Flash Video) streaming format is along with the Flash MX out of the development of a new Video format. FLV file volumeexquisite, clear FLV video 1 minute 1MB around in a movie in 100MB video file, which is about ordinary volume 1/3. Plus CPU penetration, video quality good characteristics make it on the Internet are rife, currently online several famous video sharing site adopts FLV format file provide video, proves this point.

advantage

FLV as a new kind of Internet video format, can get many site support is not accidental. Besides FLV video format itself penetration, video quality is excellent, small size suitable for the current network development characteristics, rich and varied outside the resources is also video format unification FLV online playing video format of an important factor. Now, from the latest transformers to escape again to various sports programs, even net friend made video self-time can easily find in the network.

Today the Internet provides FLV video of two kind website, one kind is special video sharing website as American YouTube web site, etc. Another kind of business is the gateway website provides video podcast plate, provided their video channels, such as sina video podcast etc, also be to use the FLV format video.

use

Web 2.0 era, say what type the site fire, nature is foreign Youtube, Google Video, domestic optimal cool, potato net, as a representative of the UUME Video sharing website. These sites offer the video content is special, but they without exception are used the Flash as video playback carrier, support the video site technical basis is - Flash video (FLV).

FLV is a kind of brand-new video format of streaming media, it used the web site extensive use Flash Player platform, make video integrated into Flash animation. That is to say, visitors to the site as long as can see Flash animation, nature also can see FLV format video, and doesn't need to install the other video plug-ins, additional FLV video the use of video transmission to bring enormous convenience.

See the above, but I believe you also itching, come next, we will explain how to use the web FLV video.

From Flash MX 2004 started, the software provides FLV format support, but the author suggest you use at present the latest version of Flash 8 (currently the latest version is Flash CS5), this version of the Flash of a separate FLV conversion tools: Flash Video Encoder 8. Click the system menu "program" guide-explore-design-grasp "Macromedia Flash Macromedia" guide-explore-design-grasp "eight Video Encoder" enter.

Enter procedure, can see the software interface is very simple. Actually use the tool for converting ordinary video for FLV video is easy and takes only a few steps to finish.

Click "add" button, the software automatically call system "open" dialogue, selection need import video can. Flash Video Encoder support convert of 8 Video format is quite widespread, such as AVI, WMV, ASF, MPEG, MOV common Video format. Video add into queue, if you don't need to do specific modifications, then click on the "start" button, the program queue video conversion. They started Software convert video speed, the author total felling still faster, which, of course, with the original video size and video data rate set about. The whole conversion process, the main window below have information clew, and also can see the progress of the real-time preview. Convert ended, in transforming video the same folder, we can get a namesake FLV file.

Of course, these only in accordance with the default Settings conversion, actual circumstances, we for video conversion control can also many, click the main window "set" button into the senior setup dialog. In video coding Settings dialog box, the most prominent of them is FLV video quality, set the default is "Flash 8 - medium quality (400kbps)", software built-in 7 different coding set combination. We can also choose custom Settings, click "show senior Settings" button, the software will display custom set interface.

The software provides two video decoder for choice: On2 VP6 (for Flash Player 8, support gamerelease channel), Sorenson Spark (for Flash Player 7, suitable for low allocation user), "Adjust video size" also quite useful, we easily produce formulate size of animation, If you emphasize only video effect, so you still can to "audio coding" operation, will default encoding several rate set some lower, so the output files will more compact. FLV

The choice also many senior Settings, it even provides simple video editing functions, click "cutting and trim" label.

Cutting is very easy to use, software provides four directions of numerical control, input by cutting video, or click on the "triangle" button display and control the slider, drag the slider intuitively video preview video size adjustment, real-time area will with dotted outline cutting range.

Trim use is less complex, in video preview area below can see a blue video progress bar, dragging the above instructions "DaoSanJiao" button positioning video broadcast pace. There are two instructions below progress the button, they will be the beginning point "and" end point "button positioning respectively, button to drag the desired location, namely complete simple video clip.

Got FLV file, actually we can't be directly used in your web page, we still need will be grafted to Flash animation. As we see in various video website, just as we create Flash video is not simple broadcast calculate, it is also bring broadcast control.

Running Flash 8 and create new Flash documentation, click on the menu "document" guide-explore-design-grasp "induction" guide-explore-design-grasp "induction" induction ", enter the video video "dialog box.

As you can see, choose video will have two different choice: "on your computer", "have been deployed to", both of which is a difference, but now we only in local test animations, choose "on your computer." Click "browse" button, through the system in the open dialog box, load we just generate FLV file, click "next" button to continue.

Then select "deploy way" as: "from a Web server gradual download", enter "appearance" option. Flash 8 at present already for broadcast FLV video built-in dozens of broadcast controller, their appearance is different, control options were different, and you can need according to oneself, choose a suitable broadcast controller, finally click "finish" button over.

Return to Flash eight main window workspace, can see we've just insert in the video is set in place, right now you can direct press Ctrl + Enter test animation.

Can offer many kinds of different ways

As an independent FLV file. Although Flash video files are usually consign use Flash Player control,. FLV file itself is full function of their and can play or converted to other formats, by the local store as hard disk or CD. [need] citation

In an embedded SWF file use Flash authoring tools (support in Flash Player 6 and higher version). The entire file must be before the handover, you can start to play. Change film requires reconstruction SWF file.

Gradually through HTTP download (support in Flash Player 7 and higher version). This method USES the ActionScript, including an external video file hosting Flash the client broadcast. Gradual download have several advantages including buffer, use generic HTTP server, and have the ability to use a single Player multiple flash SWF video source. Flash Player 8 include support random access internal video files using partial download function of HTTP, sometimes this is called flow. However, different flow use RTMP, HTTP "tap", do not support the real-time broadcast. The HTTP need custom player and injection of specific Flash video relay carrying the exact starting position in bytes and time code of each key frames. Use the specific information, custom Flash video player, may require any portion of the Flash video files, began to specify the key frames. For example, Google video and YouTube support progressive download and can search for any part of the video before buffer completed. The server part, this "HTTP pseudo tap" method is quite simple implementation, for example, in PHP, as I can with Apache of HTTPD module, or a 1 lighttpd module. Rich media project provides players and Flash component compatible "HTTP pseudo tap" method.

The RTMP to Flash Player use Flash media server (previously known as Flash communication server), risk investment, electroserver, wowza Pro or open source code red5 server. By April 2008, there are four flow tape recorder, for this protocol, re-encoding screencast software excluded.

No comments:

Post a Comment