<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Frederick&#039;s Timelog &#187; MPEG-4</title>
	<atom:link href="http://www.frederickding.com/posts/tag/mpeg-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frederickding.com</link>
	<description>News, technology, life, and more.</description>
	<lastBuildDate>Mon, 30 Jan 2012 02:11:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>I recommend H.264</title>
		<link>http://www.frederickding.com/posts/2008/08/i-recommend-h264-26118/</link>
		<comments>http://www.frederickding.com/posts/2008/08/i-recommend-h264-26118/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 01:34:01 +0000</pubDate>
		<dc:creator>Frederick</dc:creator>
				<category><![CDATA[Video Matters]]></category>
		<category><![CDATA[AAC]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[H.264]]></category>
		<category><![CDATA[MPEG-4]]></category>
		<category><![CDATA[QuickTime]]></category>

		<guid isPermaLink="false">http://www.frederickding.com/?p=118</guid>
		<description><![CDATA[I&#8217;m a fan, user and promoter of the H.264 (also known as the MPEG-4 Advanced Video Coding) codec. It&#8217;s an excellent standard which provides great quality at low(er) bitrates while supporting true High Definition resolutions such as 1080p (1920&#215;1080). It &#8230; <a href="http://www.frederickding.com/posts/2008/08/i-recommend-h264-26118/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a fan, user and promoter of the <strong>H.264</strong> (also known as the <strong>MPEG-4 Advanced Video Coding</strong>) codec. It&#8217;s an excellent standard which provides <strong>great quality</strong> at <strong>low(er) bitrates</strong> while supporting true <strong>High Definition</strong> resolutions such as 1080p (1920&#215;1080).</p>
<p>It is the flagship format of Apple QuickTime and also used by large studios on many Blu-ray releases. Virtually all of the modern personal computers in use at this time support the format or are capable of supporting it:</p>
<ul>
<li>Adobe Flash Player 9 is capable of playing H.264 content</li>
<li>the free QuickTime Player media software supports it</li>
<li>QuickTime Pro supports exporting to H.264, thus iMovie HD and other QuickTime-based products can use it</li>
<li>professional video editing software like Adobe Premiere Pro and Final Cut Pro support exporting to H.264</li>
<li>the open source FFmpeg project supports H.264</li>
<li>open source media players such as VLC Media Player and mplayer support H.264</li>
</ul>
<p>Unfortunately, Microsoft does not support it at this time, favouring &#8212; instead &#8212; their own non-open VC-1 codec for HD content and Silverlight.</p>
<p><span id="more-118"></span></p>
<h3>High Quality Internet Video Settings</h3>
<p>H.264 is a great codec to use for streaming video, which is why Adobe Flash Player 9 supports it and YouTube has begun to use the MPEG-4/AVC standard for high quality content. I recommend the following settings for the MOV container, and the settings make use of <strong>AAC</strong>, which is part of the MPEG-2 and MPEG-4 standards and was designed as the successor to MP3.</p>
<p>(The following screenshots show the interface used by QuickTime Pro, which will be seen when exporting with expert settings in iMovie HD. I will show &#8212; in the future &#8212; how to do so with the free and open source MediaCoder.)</p>
<p><a title="Internet Streaming settings" href="http://s1.frederickding.com/2008/08/3-copy.png"><img class="alignnone size-full wp-image-120 colorbox-118" title="Internet Streaming Settings" src="http://s1.frederickding.com/2008/08/3-copy.png" alt="Internet Streaming Settings"/></a></p>
<p>Video and Sound should be checked. Click &#8220;Settings&#8230;&#8221; for each of them to customize according to the screenshots below. Since the output is to be streamable by a standard HTTP server like Apache, &#8220;Prepare for Internet Streaming&#8221; should be checked and &#8220;Fast Start&#8221; is fine.</p>
<p>If the native resolution of the source clip is small or if it&#8217;s the resolution you want to use, choose &#8220;Size&#8230;&#8221; and set &#8220;Current&#8221; as the dimensions. Otherwise, standard Internet videos are likely to be 640&#215;480, 640&#215;320 (widescreen), or possibly 720&#215;480 4:3.</p>
<p><a title="Internet Streaming H.264 settings" href="http://s1.frederickding.com/2008/08/4b.png"><img class="alignnone size-full wp-image-121 colorbox-118" title="Click to see a larger screenshot" src="http://s1.frederickding.com/2008/08/4b-500x377.png" alt="Internet Streaming H.264 Settings"/></a></p>
<p>As you can see, I recommend choosing an <strong>automatic key frame interval</strong> and disabling frame reordering (it could mess up the motion in some instances). I also recommend keeping the current frame rate for the full experience, but <strong>24 fps</strong> (film) and <strong>15 fps</strong> are good options that will <em>reduce your file size</em> and <em>improve the streaming experience.</em></p>
<p><em>Restrict</em> the bit rate to about <strong>800 kbps</strong>, but the lowest you can go while preserving a high quality is probably about 500 kbps. (Remember that full 1080p Blu-ray bit rates using H.264 is in the 20 to 80 Mbps range.) If the bit rate is 800 kbps, the video will stream over below-typical connections (1.5 Mbps).</p>
<p><em>I strongly recommend <strong>multi-pass encoding</strong></em> as long as you have a recent multi-core processor; older computers and non-multi-core computers will benefit from using the single-pass encoding option, as it saves time and reduces processing.</p>
<p><a href="http://s1.frederickding.com/2008/08/5.png"><img class="alignnone size-full wp-image-122 colorbox-118" title="High quality audio settings" src="http://s1.frederickding.com/2008/08/5.png" alt=""/></a></p>
<p>I recommend using AAC with a sample rate of &#8220;<strong>Recommended</strong>&#8221; or &#8220;44.100 kHz&#8221;. Choose a &#8220;Normal&#8221; or &#8220;Better&#8221; quality, and choose a target bit rate of <strong>128 kbps</strong>. This can be lowered to 96 kbps for movie files with sparse or simple audio, while orchestral music might deserve a 160 kbps bit rate. Anyhow, increasing the bit rate above 128 kbps won&#8217;t significantly impact the perceived quality (particularly given the poor speakers or headphones most people use).</p>
<h3>High Quality Video Settings</h3>
<p>If you want to use H.264 for high quality preserval of existing video at (often) smaller file sizes, I recommend the following video encoding settings. Don&#8217;t use these settings if you&#8217;re going to send the file over the Internet, because it will likely be too large.</p>
<p><a title="High quality H.264 settings" href="http://s1.frederickding.com/2008/08/4a.png"><img class="alignnone size-full wp-image-119 colorbox-118" title="Click to see a larger screenshot" src="http://s1.frederickding.com/2008/08/4a-500x377.png" alt="High quality H.264 settings"/></a></p>
<p>As you can see, I recommend leaving the frame rate at the &#8220;current&#8221; frame rate of the source video, while the key frame interval is best left at automatic. The bit rate should also be <strong>automatic</strong> so that the compressor can optimize the result for <strong>quality</strong>. You can set the slider for quality between high and best (though best is close to lossless and thus results in huge files).</p>
<p>Once again, I recommend multi-pass if possible, but for a quicker encoding process, choose single-pass.</p>
<p>If you&#8217;re an audiophile, you might also like to set the audio bit rate at 320 kbps for AAC, or choose a lossless codec (for instance, Apple Lossless). Don&#8217;t use uncompressed audio because that gets HUGE.</p>
<h3>Example</h3>
<p>This isn&#8217;t a comparison. Just see how <a href="http://blip.tv/file/get/Freddyware-SpaceAlone928.mov">a 769 kbps (video + audio) H.264+AAC file at 15 fps</a> looks &#8212; and it&#8217;s only about 17 megabytes. Or, <a href="http://blip.tv/file/get/Freddyware-SpaceAlone551.mov">the same video at 2.12 mbps (H.264+AAC) file at 24 fps <em>and 720p high definition</em></a>, with a file size of 47.4 MB.</p>
<h3>Final Words</h3>
<p><strong>Choose H.264</strong> when it comes to high quality video. <strong>Choose the MPEG-4 standards</strong> (AVC and AAC, and perhaps the MPEG-4 container) rather than closed formats. <em>You&#8217;ll end up with great looking and great sounding multimedia clips, while being future-proof and maintaining compatibility.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frederickding.com/posts/2008/08/i-recommend-h264-26118/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://blip.tv/file/get/Freddyware-SpaceAlone928.mov" length="18209333" type="video/quicktime" />
<enclosure url="http://blip.tv/file/get/Freddyware-SpaceAlone551.mov" length="49752155" type="video/quicktime" />
		</item>
	</channel>
</rss>

<!-- Served from: www.frederickding.com @ 2012-02-09 08:08:27 by W3 Total Cache -->
