{"id":2137,"date":"2010-05-17T09:05:10","date_gmt":"2010-05-17T14:05:10","guid":{"rendered":"http:\/\/mediastorm.org\/blog\/?p=2137"},"modified":"2012-05-16T14:26:07","modified_gmt":"2012-05-16T19:26:07","slug":"mediastorms-guide-to-ipad-compression-for-the-web","status":"publish","type":"post","link":"https:\/\/www.mediastorm.com\/blog\/2010\/05\/17\/mediastorms-guide-to-ipad-compression-for-the-web\/","title":{"rendered":"MediaStorm&#8217;s Guide to iPad Compression for the Web"},"content":{"rendered":"<p>With the advent of Apple&#8217;s new <a href=\"http:\/\/www.apple.com\/ipad\/\" target=\"new\">iPad<\/a>, cross-platform multimedia producers have an opportunity for an additional means of distribution.<\/p>\n<p>Much has been made of the iPad&#8217;s functionality, and its <a href=\"http:\/\/www.apple.com\/hotnews\/thoughts-on-flash\/\" target=\"new\">limitations<\/a>. But there&#8217;s little actual  documentation on the best way to encode for this device, particularly from Apple.<\/p>\n<p>The following steps outline MediaStorm&#8217;s compressions settings for web-based iPad playback. That is, this is our best practices for creating H.264 QuickTime files for the web.<\/p>\n<p>To begin, open <strong>Compressor<\/strong>.<\/p>\n<p>(Note: If you don&#8217;t have Compressor, part of Final Cut Pro Studio, you can also use QuickTime Pro 7, <a href=\"http:\/\/www.apple.com\/quicktime\/\" target=\"new\">available<\/a> from Apple for $29.99.)<\/p>\n<p>In Compressor&#8217;s <strong>Settings<\/strong> window (<strong>command-3<\/strong>), click the <strong>plus<\/strong> button on the right side. Choose <strong>QuickTime<\/strong> movie. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mediastorm.org\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_247hgdc22ht_b.png\" alt=\"dfdjms6g_247hgdc22ht_b\"  width=\"206\" height=\"288\" class=\"aligncenter size-full wp-image-2144\" \/><\/p>\n<p>A new custom setting will appear in your window named <strong>Untitled QuickTime Movie<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mediastorm.org\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_248gnvgv2gn_b.png\" alt=\"dfdjms6g_248gnvgv2gn_b\"  width=\"221\" height=\"157\" class=\"aligncenter size-full wp-image-2146\" \/><\/p>\n<p>Double click it to open the settings in the <strong>Inspector<\/strong> window.<\/p>\n<p>In the <strong>Name<\/strong> field, rename the setting. Make sure to include the descriptors <strong>QuickTime, H.264,<\/strong> and the <strong>file size,<\/strong> and <strong>data rate,<\/strong> which we&#8217;ll discuss presently.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mediastorm.org\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_249f43zj8xn_b.png\" alt=\"dfdjms6g_249f43zj8xn_b\" width=\"296\" height=\"103\" class=\"aligncenter size-full wp-image-2148\" \/><\/p>\n<p>In the <strong>Encoder<\/strong> tab, select the <strong>Video: Settings<\/strong> button.<\/p>\n<p>Use the following settings:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mediastorm.org\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_250dmqmpwcj_b2.png\" alt=\"dfdjms6g_250dmqmpwcj_b\" width=\"400\" height=\"311\" class=\"aligncenter size-full wp-image-2166\" srcset=\"https:\/\/www.mediastorm.com\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_250dmqmpwcj_b2.png 400w, https:\/\/www.mediastorm.com\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_250dmqmpwcj_b2-300x233.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p><strong>Compression Type:<\/strong><br \/>\nChose <strong>H.264.<\/strong><\/p>\n<p><strong>Frame Rate:<\/strong><br \/>\nSelect the same frame rate as your QuickTime file.<\/p>\n<p>(If you are unsure of your frame rate, open your movie in <strong>QuickTime Player 7<\/strong>. Open the <strong>Inspector<\/strong> window [<strong>command-I<\/strong>] and press <strong>play<\/strong>. Your frame rate, or frames per second, appears next to <strong>FPS<\/strong>).<\/p>\n<p><strong>Key Frames:<\/strong><br \/>\nSelect <strong>Automatic<\/strong> and check <strong>Frame Reordering.<\/strong> (Technical note: <strong>Frame Reordering<\/strong> creates an H.264 <strong>Main<\/strong> profile, distinct from the <strong>Baseline<\/strong> profile necessary for iPhone encodes.)<\/p>\n<p><strong>Compressor Quality:<\/strong><br \/>\nCompressor Quality will not be available as you&#8217;ll need to restrict the Data Rate.<\/p>\n<p><strong>Data Rate:<\/strong><br \/>\n<strong>Restrict<\/strong> the <strong>Data Rate<\/strong> to 1500kbits\/sec.<\/p>\n<p>The iPad will playback video up to 2.5Mbps. Increased data rate increases quality, but it also increases file size, which can make for a poor play .back experience.<\/p>\n<p>Based on our testing, 1500kbs is a good compromise.<\/p>\n<p><strong>Optimized for:<\/strong><br \/>\nSet to <strong>Download.<\/strong><br \/>\nThis is the best setting for a progressive download. The file will start playback immediately, rather than waiting for the entire file to download first.<\/p>\n<p><strong>Encoding:<\/strong><br \/>\nSet <strong>Encoding<\/strong> to <strong>Best Quality.<\/strong><\/p>\n<p>Back in the <strong>Encoder<\/strong> tab of the Inspector select the <strong>Audio: Settings<\/strong> button.<\/p>\n<p>Use the following default settings:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mediastorm.org\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_251fjx4jpgt_b-285x300.png\" alt=\"dfdjms6g_251fjx4jpgt_b\" title=\"dfdjms6g_251fjx4jpgt_b\" width=\"285\" height=\"300\" class=\"aligncenter size-medium wp-image-2152\" srcset=\"https:\/\/www.mediastorm.com\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_251fjx4jpgt_b-285x300.png 285w, https:\/\/www.mediastorm.com\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_251fjx4jpgt_b.png 464w\" sizes=\"auto, (max-width: 285px) 100vw, 285px\" \/><br \/>\n<strong>Format:<\/strong><br \/>\nChoose <strong>AAC.<\/strong><\/p>\n<p><strong>Channels:<\/strong><br \/>\nChoose <strong>Stereo (LR).<\/strong><\/p>\n<p><strong>Rate<\/strong>:<br \/>\nChoose <strong>48 kHz.<\/strong><\/p>\n<p><strong>Render Settings:<\/strong><br \/>\nChoose <strong>Best<\/strong> quality.<\/p>\n<p><strong>MPEG 4 AAC LC Encoder Settings<\/strong>:<br \/>\nChoose a <strong>Target Bit Rate<\/strong> of <strong>320<\/strong>.<\/p>\n<p>Return to the <strong>Encoder<\/strong> tab of the <strong>Inspector<\/strong>.<\/p>\n<p>In the <strong>Streaming<\/strong> section choose <strong>Fast Start &#8211; Compressed Heading.<\/strong> This allows your file to be viewed as soon as it begins to download.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mediastorm.org\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_252gh7t2hzj_b.png\" alt=\"dfdjms6g_252gh7t2hzj_b\"  width=\"295\" height=\"92\" class=\"aligncenter size-full wp-image-2155\" \/><\/p>\n<p>Select the <strong>Geometry<\/strong> tab of the <strong>Inspector<\/strong> (second from right).<\/p>\n<p>For 16:9 files, type <strong>768&#215;432<\/strong> in the <strong>Frame Size<\/strong> windows. Choose <strong>Custom 16:9<\/strong> from the pull-down window. The iPad can play back files as large as 720p (1080&#215;720). Here too, though, increased  dimensions make for larger files and take more time to download. <\/p>\n<p><strong>768&#215;432<\/strong> is a good compromise and does not look excessively degraded when viewed in full-screen iPad playback. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mediastorm.org\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_253c7f87ccp_b.png\" alt=\"dfdjms6g_253c7f87ccp_b\" width=\"380\" height=\"543\" class=\"aligncenter size-full wp-image-2156\" srcset=\"https:\/\/www.mediastorm.com\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_253c7f87ccp_b.png 380w, https:\/\/www.mediastorm.com\/blog\/wp-content\/uploads\/2010\/05\/dfdjms6g_253c7f87ccp_b-209x300.png 209w\" sizes=\"auto, (max-width: 380px) 100vw, 380px\" \/><\/p>\n<p>For 4:3 files, type <strong>576&#215;432<\/strong> in the Frame Size windows. Choose <strong>Custom 4:3<\/strong> from the pull-down window. <\/p>\n<p>For more information on how to maximize your processor speed when compressing, please check out the <strong>Qmaster<\/strong> section of the pdf <strong>Setting Up Final Cut Pro for Canon 5D Mark II Video<\/strong> on the MediaStorm <a href=\"http:\/\/mediastorm.org\/submissions\/index.htm\" target=\"new\">submissions<\/a> page. You&#8217;ll find additional information on compression there in the resources section.<\/p>\n<p>Additionally, for extensive technical information on the H.264 codec, see Jan Ozer&#8217;s <a href=\"hhttp:\/\/www.streaminglearningcenter.com\" target=\"new\">streaminglearningcenter.com\/<\/a> and the white paper <a href=\"http:\/\/www.streaminglearningcenter.com\/articles\/presentation-at-streaming-media-west.html\" target=\"new\">Encoding H.264 Video for Streaming and Progressive Download<\/a>, which helped in the research of this article.<\/p>\n<p>Have iPad encoding tricks you&#8217;d like to share? We&#8217;d love to hear from you in the comments. <\/p>\n<p>Learn more about our approach to producing multimedia by purchasing <a href=\"http:\/\/bit.ly\/JJCVZA\">MediaStorm&#8217;s Post-production Workflow<\/a>. Spanning more than 200 steps, the workflow covers every phase of editing, from organizing and editing assets in <strong>Final Cut Pro 7<\/strong> through backing up and archiving your project. The workflow includes exclusive access to our <strong>Aperture Workflow<\/strong> and our <strong>Final Cut Asset Parser<\/strong>. Learn more about <a href=\"http:\/\/bit.ly\/JJCVZA\">MediaStorm&#8217;s Post-production Workflow<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the advent of Apple&#8217;s new iPad, cross-platform multimedia producers have an opportunity for an additional means of distribution. Much has been made of the iPad&#8217;s functionality, and its limitations. But there&#8217;s little actual documentation on the best way to encode for this device, particularly from Apple. The following steps outline MediaStorm&#8217;s compressions settings for [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[748],"tags":[904,906,905],"class_list":["post-2137","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-compession","tag-compressor","tag-ipad","entry"],"_links":{"self":[{"href":"https:\/\/www.mediastorm.com\/blog\/wp-json\/wp\/v2\/posts\/2137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mediastorm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mediastorm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mediastorm.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mediastorm.com\/blog\/wp-json\/wp\/v2\/comments?post=2137"}],"version-history":[{"count":0,"href":"https:\/\/www.mediastorm.com\/blog\/wp-json\/wp\/v2\/posts\/2137\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mediastorm.com\/blog\/wp-json\/wp\/v2\/media?parent=2137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mediastorm.com\/blog\/wp-json\/wp\/v2\/categories?post=2137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mediastorm.com\/blog\/wp-json\/wp\/v2\/tags?post=2137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}