<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Handbrake &#8211; Wade Tregaskis</title>
	<atom:link href="https://wadetregaskis.com/tags/handbrake/feed/" rel="self" type="application/rss+xml" />
	<link>https://wadetregaskis.com</link>
	<description></description>
	<lastBuildDate>Sun, 31 Dec 2023 18:54:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wadetregaskis.com/wp-content/uploads/2016/03/Stitch-512x512-1-256x256.png</url>
	<title>Handbrake &#8211; Wade Tregaskis</title>
	<link>https://wadetregaskis.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">226351702</site>	<item>
		<title>Handbrake&#8217;s H.265 &#8216;Preset&#8217; setting affects &#8216;constant&#8217; quality</title>
		<link>https://wadetregaskis.com/handbrakes-h-265-preset-setting-affects-constant-quality/</link>
					<comments>https://wadetregaskis.com/handbrakes-h-265-preset-setting-affects-constant-quality/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Mon, 20 Nov 2017 00:11:40 +0000</pubDate>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Bugs!]]></category>
		<category><![CDATA[H.265]]></category>
		<category><![CDATA[Handbrake]]></category>
		<category><![CDATA[timelapse]]></category>
		<guid isPermaLink="false">https://blog.wadetregaskis.com/?p=3980</guid>

					<description><![CDATA[I always consternate over what the &#8216;Preset&#8217; setting should be when doing H.264 encodes with Handbrake. &#160;It&#8217;s always tempting to slide right on over to &#8216;placebo&#8217; to, in theory, ensure you&#8217;ve got the best possible encoding. &#160;And in my experience that at least roughly works &#8211; file size decreases (marginally) as you use more time-consuming&#8230; <a class="read-more-link" href="https://wadetregaskis.com/handbrakes-h-265-preset-setting-affects-constant-quality/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>I always consternate over what the &#8216;Preset&#8217; setting should be when doing H.264 encodes with Handbrake. &nbsp;It&#8217;s always tempting to slide right on over to &#8216;placebo&#8217; to, in theory, ensure you&#8217;ve got the best possible encoding. &nbsp;And in my experience that at least roughly works &#8211; file size decreases (marginally) as you use more time-consuming encoding Presets, for equivalent quality.</p>



<p>Now that I&#8217;m transitioning to H.265 instead, I thought I&#8217;d do a &#8216;quick&#8217; experiment to see how it behaves in comparison, encoding from a ProRes 422 4000&#215;3000 timelapse at constant quality 22.  A 270° rotation was performed in the process.  No audio.</p>



<p>The result is baffling.</p>



<figure class="wp-block-table aligncenter"><table><thead><tr><th class="has-text-align-right" data-align="right">Preset</th><th class="has-text-align-right" data-align="right">File size (MiB)</th><th class="has-text-align-right" data-align="right">Encode time (Hours)</th></tr></thead><tbody><tr><td class="has-text-align-right" data-align="right">Placebo</td><td class="has-text-align-right" data-align="right">329</td><td class="has-text-align-right" data-align="right">16.65</td></tr><tr><td class="has-text-align-right" data-align="right">Veryslow</td><td class="has-text-align-right" data-align="right">218</td><td class="has-text-align-right" data-align="right">3.70</td></tr><tr><td class="has-text-align-right" data-align="right">Slower</td><td class="has-text-align-right" data-align="right">219</td><td class="has-text-align-right" data-align="right">2.75</td></tr><tr><td class="has-text-align-right" data-align="right">Slow</td><td class="has-text-align-right" data-align="right">183</td><td class="has-text-align-right" data-align="right">0.93</td></tr><tr><td class="has-text-align-right" data-align="right">Medium</td><td class="has-text-align-right" data-align="right">185</td><td class="has-text-align-right" data-align="right">0.53</td></tr><tr><td class="has-text-align-right" data-align="right">Fast</td><td class="has-text-align-right" data-align="right">156</td><td class="has-text-align-right" data-align="right">0.36</td></tr><tr><td class="has-text-align-right" data-align="right">Faster</td><td class="has-text-align-right" data-align="right">155</td><td class="has-text-align-right" data-align="right">0.31</td></tr><tr><td class="has-text-align-right" data-align="right">Veryfast</td><td class="has-text-align-right" data-align="right">155</td><td class="has-text-align-right" data-align="right">0.31</td></tr><tr><td class="has-text-align-right" data-align="right">Superfast</td><td class="has-text-align-right" data-align="right">129</td><td class="has-text-align-right" data-align="right">0.23</td></tr><tr><td class="has-text-align-right" data-align="right">Ultrafast</td><td class="has-text-align-right" data-align="right">83</td><td class="has-text-align-right" data-align="right">0.22</td></tr></tbody></table></figure>



<p>The outputs&nbsp;<em>should</em> all be visually essentially identical, by virtue of constant-quality encoding with the same quality factor. &nbsp;However, they are not &#8211; there&#8217;s a small but quite visible difference in quality, with the slower-encoded versions having progressively more detail retained, while at the other end, the faster encodings, it looks like a strong noise reduction pass has been applied (which isn&#8217;t literally what&#8217;s happened, I assume, but rather the consequence of a lower-quality encoding).</p>



<p>Regardless of the specifics, this shouldn&#8217;t be happening. &nbsp;&#8216;Constant quality&#8217; seems quite self-explanatory.</p>



<p>Note also how the encoding times go up exponentially &#8211; &#8216;placebo&#8217; was really gruelling, as the equivalent H.264 encode would have been an order of magnitude shorter, and that&#8217;s what I&#8217;d budgeted my time from.</p>



<p>So I guess the moral of the story is… leave &#8216;Preset&#8217; on its default value for now, until it stops misbehaving? &nbsp;Choose it based primarily on your encode time constraints, or file size concerns &#8211; whichever is highest priority? &nbsp;Frustrating.</p>



<p><em>Note</em>: I used the Handbrake Nightly build as of mid-November 2017 (version 20171113130119-17a4bb7-master), as the latest released version (1.0.7) produces H.265 files that macOS High Sierra refuses to play. &nbsp;Apparently it&#8217;s using a different codec tag &#8211; &#8216;hev1&#8217; instead of &#8216;hvc1&#8217; &#8211; from what Apple&#8217;s expecting (see for example <a href="https://forums.macrumors.com/threads/getting-ready-for-h-265.2058059/#post-24830744" data-wpel-link="external" target="_blank" rel="external noopener">this thread</a>). &nbsp;I have no idea which is correct, or maybe both are in some contexts… either way it&#8217;s a concern for ongoing H.265 device compatibility.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/handbrakes-h-265-preset-setting-affects-constant-quality/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3980</post-id>	</item>
	</channel>
</rss>
