MACROMEDIA FLASH 8-USING FLASH VIDEO ENCODER Скачать руководство пользователя страница 12

12

Using Flash Video Encoder

About encoding video with non-square pixels

Most static computer graphics use square pixels, which have a width-to-height ratio of 1:1. 
When working with digital video, pixels often have a different width-to height ratio and are 
referred to as rectangular pixels. The reason for this behavior is to allow analog video (e.g. 
broadcast television) and digital video (e.g. DVD video) to coexist. When encoding video 
formats with non-square pixels (also known as 

anamorphic video

), you need to resample the 

video image to the correct Display Aspect Ratio (DAR).

For example, standard NTSC digital video (DV), has a frame size of 720 x 480 pixels, and it’s 
usually displayed at an aspect ratio of 4:3. This means that each pixel is rectangular, with a 
pixel aspect ratio (PAR) of 10:11 (a tall, narrow pixel). Both MPEG 1 and 2 video are also 
produced in various sizes (720 x 480 or 480 x 480 are common) even though they are 
typically displayed with either a 4:3 or 16:9 (wide screen) aspect ratio.

To calculate the image frame size to use when encoding video using non-square pixels, you 
must first decide which dimension—width or height—is the preferred master dimension, and 
then compute the other dimension as follows:

If height is the master dimension, calculate the width using the following formula:

For example, if your video uses an aspect ratio of 4:3 the equation would appear as: 

If width is the master dimension, calculate the height using the following formula:

For example, if your video uses an aspect ratio of 4:3 the equation would appear as:

As an example, if you are encoding a video whose frame size is 720 x 480 pixels, and you want 
to encode it with a 4:3 aspect ratio, you must determine the width at which to encode the 
video frame in pixels:

The result is a video image height of 640 pixels.

Thus, you need to encode the 720 x 480 image to 640 x 480, a standard 4:3 aspect ratio.

width

height

aspect ratio width

aspect ratio height

--------------------------------------------

×

=

width

height

3
4

---

×

=

height

width

aspect ratio height

aspect ratio width

--------------------------------------------

×

=

height

width

4
3

---

×

=

640

480

4
3

---

×

=

000_FLVEncoder.book  Page 12  Friday, August 12, 2005  3:50 PM

Содержание FLASH 8-USING FLASH VIDEO ENCODER

Страница 1: ...Using Flash Video Encoder...

Страница 2: ...995 2002 Opera Software ASA and its suppliers All rights reserved Macromedia Flash 8 video is powered by On2 TrueMotion video technology 1992 2005 On2 Technologies Inc All Rights Reserved http www on2...

Страница 3: ...ncoding audio only files 13 About cue points 13 Encoding video with Flash Video Encoder 14 Saving the encoding queue 16 Removing files from the encoding queue 16 Skipping a file 16 Stopping the encodi...

Страница 4: ...4 Contents...

Страница 5: ...ou can reach the largest possible Internet viewing audience with low development testing and support costs Flash Video Encoder comes with Macromedia Flash Professional 8 or Macromedia Studio 8 This ch...

Страница 6: ...rt and and decompressed during playback You can use Flash Video Encoder on a computer that does not have Flash or other Macromedia Studio products installed This configuration lets you continue workin...

Страница 7: ...ou should understand video compression There are two types of compression that can be applied to digital media spatial and temporal Spatial compression is applied to a single frame of data independent...

Страница 8: ...pha channel to create composite video In order to support better quality video at the same data rate the On2 VP6 codec is noticeably slower to encode and requires more processor power on the client co...

Страница 9: ...high if your delivery channels and playback platforms allow it For full motion NTSC the standard defined by the National Television System Committee in the U S use 29 97 fps for PAL Phase Alternating...

Страница 10: ...nt as they walk in front of the door By default Flash Video Encoder automatically determines the keyframe interval to use based on the video clip s frame rate The keyframe interval value tells the enc...

Страница 11: ...ideo display resolutions on the Internet include 640 x 480 512 x 384 320 x 240 and 160 x 120 pixels The most common aspect ratio is 4 3 standard television Increasingly 16 9 and 2 1 wide screen aspect...

Страница 12: ...are typically displayed with either a 4 3 or 16 9 wide screen aspect ratio To calculate the image frame size to use when encoding video using non square pixels you must first decide which dimension w...

Страница 13: ...an analog source use the highest quality sound card available About cue points Cue points cause the video playback to start other actions within the presentation and let you synchronize the video wit...

Страница 14: ...lick Settings Edit Encoding Settings to display the Flash Video Encoding Settings dialog box Flash provides several pre configured encoding profiles that you can use to encode your video In the Encodi...

Страница 15: ...to begin encoding your files Flash 8 Video Encoder starts encoding the first file in the video encoding list While a file is being encoded the Status column of the video encoding list provides informa...

Страница 16: ...t is saved automatically when you exit Flash Video Encoder To save the encoding queue Select File Save Queue Removing files from the encoding queue You can remove any video from the encoding queue bef...

Страница 17: ...le Select File Stop Current File A dialog box prompts you to confirm that you want to stop the current file from encoding Click OK to stop the encoding process An error message that states The operati...

Страница 18: ...able in the Advanced Settings dialog box see the following sections Specifying advanced video encoding settings on page 18 Specifying advanced audio encoding settings on page 21 Defining and embedding...

Страница 19: ...te affects the video quality For more information see Understanding video standards and terminology on page 8 7 Select the key frame placement for the video Keyframes are video frames that contain com...

Страница 20: ...the Cue Point or the Crop and Trim tab to further modify the video s encoding settings or click OK to return to the main Flash 8 Video Encoding dialog box If you are ready to encode your video clips o...

Страница 21: ...d by default By default the audio codec is MP3 6 Select a data rate from the Data Rate pop up menu Better quality audio tracks such as music and significant background noise require a higher data rate...

Страница 22: ...The Advanced Flash Video Encoding options are displayed 4 If you haven t specified encoding setting for the video clip do so now To learn more see Encoding video with Flash Video Encoder on page 14 5...

Страница 23: ...nd displays a pop up menu that lets you select the type of cue point to embed A cue point marker is displayed on the slider control at the point where the cue point was embedded You can use the cue po...

Страница 24: ...lete key The cue point is deleted from the cue point list Cropping and trimming video Flash Video Encoder provides the following editing options that let you crop and trim video clips before encoding...

Страница 25: ...s in the preview window indicate the cropped area 7 To set the in and out points the points at which the video begins and ends drag the in and out point markers below the scrubber bar until you finish...

Страница 26: ...box see the following sections Specifying advanced video encoding settings on page 18 Defining and embedding cue points on page 21 Setting Flash Video Encoder preferences Flash Video Encoder provides...

Страница 27: ...tiate the newly encoded video clip from its source video To select a different destination folder in which to place FLV encoded video clips select the Place Output Files In checkbox The Browse for a F...

Страница 28: ...view the log file Select File Show Log The log file is displayed using the operating system s default text editing application Troubleshooting video encoding errors Flash Video Encoder provides an err...

Страница 29: ...ncoding adding files 14 troubleshooting 28 video settings 14 error messages viewing 28 F Flash Video Encoder about 6 codecs 7 error messages 28 log file 27 preferences 26 FLV QuickTime Export plug in...

Страница 30: ...e about 9 keyframe interval 10 keyframes about 10 quality setting specifying 20 resizing aspect ratio 20 trimming 24 troubleshooting 28 video codecs about 7 interframes 8 intraframes 8 On2 VP6 8 On2 V...

Отзывы: