Adobe Media Encoder
Total Page:16
File Type:pdf, Size:1020Kb
UNIVERSITY OF HOUSTON | SCHOOL OF ART | GRAPHIC DESIGN Spring 2018 ADOBE MEDIA ENCODER WORKING WITH DIGITAL VIDEO Digital video formats are different than other types of digital files you are used to working with. They are stored in what are called container formats. These are files with a variety of file extensions, Extra Reading like .mov .mpg .mkv, and features in order to combine different types of data into a single file. Rodrigues, Ana. 2016. “H.264 vs H.265 — A Technical Comparison. When Will H.265 Dominate the Market?” Inside that file, audio and video data types are encoded—packed up and compressed—withcodecs , Medium. June 9, 2016. https://medium.com/advanced- like H.264 or MPEG-2 for video and MP3 or AAC for audio. There are many types of codecs, but H.264 is computer-vision/h-264-vs-h-265-a-technical- comparison-when-will-h-265-dominate-the-market- the current reigning standard—and the one we will be using—with HEVC (H.265) expected to replace 26659303171a. it in the coming years as 4k devices and 4k media streaming become more common. Digital video editing requires a lot of hard drive space—enough space to store your video multiple times! That’s for the source media, “scratch space” which is used to store on-the-fly previews, and finally enough room to output the final video. You can prepare for this by moving large files off your computer. It is not preferable to actively edit video from an external harddrive, due to their slower throughput, though you may find it workable. ENCODING SETTINGS General purpose Use the H.264 codec with one of the “Match Source” presets which will give you consistent and predictable results. These will match the frame rate and resolution of source media, while relying on changes to the Target Bitrate to adjust quality and file size. Select through the Match Source presets while watching the “Estimated File Size” that Media Encoder shows at the bottom of the panel to target an acceptable file size. To further target a file size, adjust the “Target Bitrate” setting and make sure to output to the correct, specified resolution. Vimeo upload For uploading to Vimeo you can technically encode with as high a setting as your internet connection can support, but for practical purposes use Media Encoder’s Vimeo presets or the Match Source presets. The Vimeo presets make high-bitrate files at a set resolution, matching the name of the preset. Use the Match Source presets or adjust the Target Bitrate if you need a smaller file size. Bitrate Control CBR - Constant bitrate encoding: compresses data at the same rate all the way through a video no matter whether a video needs the same rate or not. For example, sections of a video with a lot of motion need more compression than sections with low motion. VBR - Variable bitrate encoding: compresses data at variable rates depending on the amount of motion in a video. This optimizes quality, but takes longer to encode. 1-Pass or 2-Pass Variable Bitrate Encoding For previewing or critiquing purposes, 1-Pass Bitrate encoding will be sufficient. However, when you are encoding a final copy of your video, you will want to use 2-Pass Bitrate encoding because it will provide the highest image quality. But, as the name implies, 2-Pass encoding will extend the rendering time. Encoding Video Tips and Advice • Video compression follows a familiar rule. Pick two: small file size, high quality, or fast encoding. • Most of you will find that encoding will go faster on a desktop computer versus a laptop, especially those with a graphics card. Laptops will be slower on battery power than when plugged-in. • Changing the framerate of a video will greatly increase encoding time. • “Render and Replace” allows you to pre-render sections of your video. If you use multiple effects/ graphics, you’ll find it preferable to pre-render those for faster encoding. When pre-rendering or transcoding video while editing, use a post-production codec like Apple ProRes. • Check “Use Previews” when exporting from Premiere Pro to have Media Encoder check for already- rendered portions cached from previewing the video. 01.11.2018 UNIVERSITY OF HOUSTON | SCHOOL OF ART | GRAPHIC DESIGN Spring 2018 ADOBE MEDIA ENCODER 16:9 HD/UHD resolutions I. Render: from After Effects (AE) to Media Encoder (ME) 4k: 3840×2160 A1. After Effects 1440p: 2560×1440 1. Open the composition you want to render (So open an AE project first) 1080p: 1920×1080 2. With the composition as the active tab in your timeline 720p: 1280×720 a. Go to the Menu > Composition > Add to Adobe Media Encoder Queue b. Media Encoder launches POST-PRODUCTION CODECS – APPLE PRORES A2. Premeire Pro Apple ProRes (Applies to E) 1. Open the sequence you want to render (So open an Pr project first) Apple Pro Res codecs compress video less than H.264. Use 2. With the sequence as the active tab in your timeline this codec when a clip or video will be imported into AE or edited and compressed again in a final render. Note, file a. Go to the Menu > File > Export > Media sizes using Apple ProRes codecs will be larger than H.264. b. Media Encoder launches Apple ProRes 4444 XQ B. Media Encoder: Export Settings for 1280 x 720 / 29.97 video The highest-quality version of Apple ProRes for 4:4:4:4 1. Your selected composition appears in the Queue Panel image sources (including alpha channels). This format has a very high data rate to preserve the detail in high- Under each of the following select the appropriate choice dynamic-range imagery generated by today’s highest- a. Quicktime (format) - select H.264 [extension will be .mp4] quality digital image sensors. b. Match Source (preset) - HD 720p 29.97 Target data rate of ~500 Mbps at 1920x1080 and 29.97 fps. c. Output File - chose “save-to” location and name file Apple ProRes 422 HQ A higher-data-rate version of Apple ProRes 422 that 2. To customize Preset settings preserves visual quality at the same high level as Apple a. Click on HD 720p 29.97 in the Preset column ProRes 4444 but for 4:2:2 image sources. b. Video Tab Target data rate of ~220 Mbps at 1920x1080 and 29.97 fps. i. Width x Height - keep chain icon linked; change one dimension if necessary *Apple ProRes 422 A high-quality compressed codec offering nearly all ii. Frame Rate - 29.97fps [whatever your project is] the benefits of Apple ProRes 422 HQ, but at 66 percent iii. Field Order: Progressive of the data rate for even better multistream, real-time iv. Aspect Ratio: Square editing performance. Target data rate of ~147 Mbps at 1920x1080 and 29.97 fps. v. TV Standard: NTSC [NTSC = North America; PAL = Europe] About Apple ProRes vi. Profile: Main https://support.apple.com/en-us/HT202410 vii. Level: 4.1 viii. Render at Max Depth - Don’t check. This does not add value ix. Bitrate Settings - VBR, 2 pass KEY FRAME RATE Target Bitrate [Mbps]: 10 Key frames are not the same as keyframes in the timeline. Max Bitrate [Mbps]: 20 [max is typical 2x target] When video is compressed, a complete version of every (higher bitrate numbers make larger file / frame is not included in the file. Instead, most frames just record the differences from the previous frame. Key frames higher number only needed if a video has a lot of motion or movement) are the ones that are complete frames. The more key x. Advanced Settings - Key Frame Distance frames you set, the higher the video quality, but also the With high bitrate numbers, the key frame distance is not very critical. larger the file size. You should choose a keyframe rate that considers the visual style of your movie; lots of movement, See sidebar Key Frame Rate cuts, or shifts in color and lighting will require a higher key c. Audio Tab frame rate because the movie will change a good deal from one frame to the next. i. Format - ACC ii. Sample rate - 48000 [48k best for video, but use 41k if your audio file uses 41k] Setting a higher key frame rate means using a lower number. For example, for a 29.97 fps video, one key frame iii. Bitrate - 256 every 10 seconds equals 300 key frames. One key frame for 3. Click OK to close the dialogue box every 1 second, equals 30 keyframes. 4. Click green arrow to render the video 10 second distances good for general purpose - 300 frames (29.97 fps) - 240 frames (24 fps) For videos with more motion, use more frequently - 150 frames (29.97 fps) or 60 frames or 30 frames For videos w/ high bitrate, key frames less critical 01.11.2018 UNIVERSITY OF HOUSTON | SCHOOL OF ART | GRAPHIC DESIGN Spring 2018 ADOBE MEDIA ENCODER C. Media Encoder: Export Settings for HTML 5 (makes small file size) C. Crop Clip 1. Customize Preset settings 1. Select clip in Queue Panel a. Video Tab 2. Select Preset Settings i. Format - H.264 3. Select Source Tab in upper left corner of window ii. Width x Height - 858 x 480 [can be bigger, but file size is key] i. Select Crop symbol at top of window under Source iii. Frame Rate - 29.97fps [whatever your project is] ii. Set Crop Proportions to same as the clip iv. Profile - High For example, HD is 16:9 v. Level - 3.1 iii.