<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments for KeyJ's Blog</title>
	<atom:link href="http://keyj.s2000.ws/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://keyj.s2000.ws</link>
	<description>Demoscene and other crazy technological stuff</description>
	<pubDate>Wed, 08 Sep 2010 01:12:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on NanoJPEG: a compact JPEG decoder by rajendra</title>
		<link>http://keyj.s2000.ws/?p=137#comment-3677</link>
		<dc:creator>rajendra</dc:creator>
		<pubDate>Tue, 24 Aug 2010 05:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=137#comment-3677</guid>
		<description>does any one have the comments ??</description>
		<content:encoded><![CDATA[<p>does any one have the comments ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NanoJPEG: a compact JPEG decoder by rajendra</title>
		<link>http://keyj.s2000.ws/?p=137#comment-3676</link>
		<dc:creator>rajendra</dc:creator>
		<pubDate>Fri, 20 Aug 2010 09:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=137#comment-3676</guid>
		<description>hi KeyJ,
I just wanted to understand the code.
why are there no comments on many portions of the code ?</description>
		<content:encoded><![CDATA[<p>hi KeyJ,<br />
I just wanted to understand the code.<br />
why are there no comments on many portions of the code ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by Rob</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3675</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 19 May 2010 12:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3675</guid>
		<description>Here some more:
http://www.hdgreetings.com/other/ecards-video/video-1080p.aspx</description>
		<content:encoded><![CDATA[<p>Here some more:<br />
<a href="http://www.hdgreetings.com/other/ecards-video/video-1080p.aspx" rel="nofollow">http://www.hdgreetings.com/other/ecards-video/video-1080p.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by Rob</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3674</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 19 May 2010 12:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3674</guid>
		<description>This page contains some very high quality source material:
http://www.microsoft.com/windows/windowsmedia/musicandvideo/hdvideo/contentshowcase.aspx</description>
		<content:encoded><![CDATA[<p>This page contains some very high quality source material:<br />
<a href="http://www.microsoft.com/windows/windowsmedia/musicandvideo/hdvideo/contentshowcase.aspx" rel="nofollow">http://www.microsoft.com/windows/windowsmedia/musicandvideo/hdvideo/contentshowcase.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NanoJPEG: a compact JPEG decoder by shaw</title>
		<link>http://keyj.s2000.ws/?p=137#comment-3673</link>
		<dc:creator>shaw</dc:creator>
		<pubDate>Fri, 14 May 2010 01:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=137#comment-3673</guid>
		<description>I've tried it and it works well.
Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried it and it works well.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NanoJPEG: a compact JPEG decoder by KeyJ</title>
		<link>http://keyj.s2000.ws/?p=137#comment-3672</link>
		<dc:creator>KeyJ</dc:creator>
		<pubDate>Wed, 12 May 2010 09:08:12 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=137#comment-3672</guid>
		<description>&lt;strong&gt;shaw:&lt;/strong&gt; This bug is actually already fixed in NanoJPEG 1.1, but even though this version is already two months old, I somehow missed to upload it :( I'll post the update tonight.</description>
		<content:encoded><![CDATA[<p><strong>shaw:</strong> This bug is actually already fixed in NanoJPEG 1.1, but even though this version is already two months old, I somehow missed to upload it :( I&#8217;ll post the update tonight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NanoJPEG: a compact JPEG decoder by shaw</title>
		<link>http://keyj.s2000.ws/?p=137#comment-3671</link>
		<dc:creator>shaw</dc:creator>
		<pubDate>Wed, 12 May 2010 08:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=137#comment-3671</guid>
		<description>I've sent the test file to your email.
Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve sent the test file to your email.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NanoJPEG: a compact JPEG decoder by KeyJ</title>
		<link>http://keyj.s2000.ws/?p=137#comment-3670</link>
		<dc:creator>KeyJ</dc:creator>
		<pubDate>Wed, 12 May 2010 07:08:58 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=137#comment-3670</guid>
		<description>&lt;strong&gt;shaw:&lt;/strong&gt; That's interesting &#8211; I could understand if NanoJPEG threw NJ_UNSUPPROTED, but NJ_SYNTAX_ERROR is strange indeed. Could you send me a file that exhibits the problem, preferrably &lt;a href="mailto:martin.fiedler@gmx.net" rel="nofollow"&gt;via e-mail&lt;/a&gt;?</description>
		<content:encoded><![CDATA[<p><strong>shaw:</strong> That&#8217;s interesting &ndash; I could understand if NanoJPEG threw NJ_UNSUPPROTED, but NJ_SYNTAX_ERROR is strange indeed. Could you send me a file that exhibits the problem, preferrably <a href="mailto:martin.fiedler@gmx.net" rel="nofollow">via e-mail</a>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NanoJPEG: a compact JPEG decoder by shaw</title>
		<link>http://keyj.s2000.ws/?p=137#comment-3669</link>
		<dc:creator>shaw</dc:creator>
		<pubDate>Wed, 12 May 2010 02:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=137#comment-3669</guid>
		<description>Hello KenJ,

I save a jpeg file with photoshop CS4 (baseline standard in photoshop's option). But nenojpeg can't decode it. It's error code is NJ_SYNTAX_ERROR.
Can you give me any suggestion about this problem?
Thanks!</description>
		<content:encoded><![CDATA[<p>Hello KenJ,</p>
<p>I save a jpeg file with photoshop CS4 (baseline standard in photoshop&#8217;s option). But nenojpeg can&#8217;t decode it. It&#8217;s error code is NJ_SYNTAX_ERROR.<br />
Can you give me any suggestion about this problem?<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Honey, I shrunk the MP3 decoder by kohai</title>
		<link>http://keyj.s2000.ws/?p=59#comment-3668</link>
		<dc:creator>kohai</dc:creator>
		<pubDate>Tue, 04 May 2010 15:56:06 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=59#comment-3668</guid>
		<description>Dude, you rule ! I was wandering the net for a simple and LIGHT mp3 decoder : libmad, mpglib, oh god ... then i found it ! 

Thx a bunch ! ( i added loop and stream from memory, now to implement simple fft )</description>
		<content:encoded><![CDATA[<p>Dude, you rule ! I was wandering the net for a simple and LIGHT mp3 decoder : libmad, mpglib, oh god &#8230; then i found it ! </p>
<p>Thx a bunch ! ( i added loop and stream from memory, now to implement simple fft )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by nurbs</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3667</link>
		<dc:creator>nurbs</dc:creator>
		<pubDate>Tue, 27 Apr 2010 10:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3667</guid>
		<description>As a lossles real world video you could use Tallship. It was used on the x264 blu-ray demo disk so I guess it's free to use. Only problem is that it's 1080i30 so it fails your second criterion, plus there isn't that much action. The x264 people used avisynth to convert it to 720p60/1.001 for their demo.

Video: http://video-test-sequences.hexagon.cc/torrents
Audio: http://cid-bee3c9ac9541c85b.skydrive.live.com/browse.aspx/.Public/LadyWashington
Demo disk info: http://x264dev.multimedia.cx/?p=328
Avisynth script: http://forum.doom9.org/showpost.php?p=1394744&amp;postcount=622</description>
		<content:encoded><![CDATA[<p>As a lossles real world video you could use Tallship. It was used on the x264 blu-ray demo disk so I guess it&#8217;s free to use. Only problem is that it&#8217;s 1080i30 so it fails your second criterion, plus there isn&#8217;t that much action. The x264 people used avisynth to convert it to 720p60/1.001 for their demo.</p>
<p>Video: <a href="http://video-test-sequences.hexagon.cc/torrents" rel="nofollow">http://video-test-sequences.hexagon.cc/torrents</a><br />
Audio: <a href="http://cid-bee3c9ac9541c85b.skydrive.live.com/browse.aspx/.Public/LadyWashington" rel="nofollow">http://cid-bee3c9ac9541c85b.skydrive.live.com/browse.aspx/.Public/LadyWashington</a><br />
Demo disk info: <a href="http://x264dev.multimedia.cx/?p=328" rel="nofollow">http://x264dev.multimedia.cx/?p=328</a><br />
Avisynth script: <a href="http://forum.doom9.org/showpost.php?p=1394744&amp;postcount=622" rel="nofollow">http://forum.doom9.org/showpost.php?p=1394744&amp;postcount=622</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by KeyJ</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3666</link>
		<dc:creator>KeyJ</dc:creator>
		<pubDate>Tue, 27 Apr 2010 06:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3666</guid>
		<description>&lt;strong&gt;CableCat:&lt;/strong&gt; I'd absolutely &lt;em&gt;love&lt;/em&gt; to use losslessly compressed video as source material for the test! But alas, there's no proper material available that I know of. What I need for the test is:
&lt;ol&gt;
&lt;li&gt;freely available&lt;/li&gt;
&lt;li&gt;1080p/24&lt;/li&gt;
&lt;li&gt;running time of a few minutes&lt;/li&gt;
&lt;li&gt;good mix of static, high-detail scenes and action scenes&lt;/li&gt;
&lt;li&gt;typical content with real, photographed/filmed images&lt;/li&gt;
&lt;/ol&gt;
As cool as &#187;Big Buck Bunny&#171; and &#187;Elephants Dream&#171; might be, they barely fulfill point 4 and they absolutely miss point 5. When comparing codecs, real-world images, CG and cartoons are three completely different worlds. I'd like to focus on real images, but if I was going to include CG imagery as well (I'm not sure yet), I'll certainly include &#187;Big Buck Bunny&#171;, as it's just perfect for that case.</description>
		<content:encoded><![CDATA[<p><strong>CableCat:</strong> I&#8217;d absolutely <em>love</em> to use losslessly compressed video as source material for the test! But alas, there&#8217;s no proper material available that I know of. What I need for the test is:</p>
<ol>
<li>freely available</li>
<li>1080p/24</li>
<li>running time of a few minutes</li>
<li>good mix of static, high-detail scenes and action scenes</li>
<li>typical content with real, photographed/filmed images</li>
</ol>
<p>As cool as &raquo;Big Buck Bunny&laquo; and &raquo;Elephants Dream&laquo; might be, they barely fulfill point 4 and they absolutely miss point 5. When comparing codecs, real-world images, CG and cartoons are three completely different worlds. I&#8217;d like to focus on real images, but if I was going to include CG imagery as well (I&#8217;m not sure yet), I&#8217;ll certainly include &raquo;Big Buck Bunny&laquo;, as it&#8217;s just perfect for that case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by CableCat</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3665</link>
		<dc:creator>CableCat</dc:creator>
		<pubDate>Mon, 26 Apr 2010 21:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3665</guid>
		<description>For your next comparison, you should use an uncompressed video as source. 

See: http://media.xiph.org/</description>
		<content:encoded><![CDATA[<p>For your next comparison, you should use an uncompressed video as source. </p>
<p>See: <a href="http://media.xiph.org/" rel="nofollow">http://media.xiph.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by pafnucy</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3664</link>
		<dc:creator>pafnucy</dc:creator>
		<pubDate>Mon, 26 Apr 2010 17:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3664</guid>
		<description>Nurbs: thanks for your answer, it was very informative. 
KeyJ: definitely looking forward to it!

I am also curious how well animated sources are compressed. I have come across http://x264dev.multimedia.cx/?p=102, but the source used seems to have been SD as well and the output bitrate is at just 250kbps. If it's not too much of a hassle, could you include a HD cartoon source in the next instalment as well?</description>
		<content:encoded><![CDATA[<p>Nurbs: thanks for your answer, it was very informative.<br />
KeyJ: definitely looking forward to it!</p>
<p>I am also curious how well animated sources are compressed. I have come across <a href="http://x264dev.multimedia.cx/?p=102" rel="nofollow">http://x264dev.multimedia.cx/?p=102</a>, but the source used seems to have been SD as well and the output bitrate is at just 250kbps. If it&#8217;s not too much of a hassle, could you include a HD cartoon source in the next instalment as well?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by nurbs</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3663</link>
		<dc:creator>nurbs</dc:creator>
		<pubDate>Mon, 26 Apr 2010 16:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3663</guid>
		<description>Yes, --crf is pretty useless for comparisons like this one, but for archiving your DVD collection on a hard disk it's great. You can just reuse the settings for more or less every encode, maybe with a little higher CRF for high resolutions or when encoding cartoons, you save time and you get the quality you want.

A common mistake people make is picking a CRF value and then changing an option to see how the filesize changes and then using the size difference to determine how much that option changes compression efficiency. That's because the simple explanation for CRF encoding is that it produces constant quality, but the options used change the way the rate factor is calculated. So you pick a slower option, get a larger filesize and end up being confused. This is particularly apparent if you turn of the psy-stuff, for instance by using --subme 5 and comparing it to the defaults, where you end up with higher encoding speed and lower filesize.</description>
		<content:encoded><![CDATA[<p>Yes, &#8211;crf is pretty useless for comparisons like this one, but for archiving your DVD collection on a hard disk it&#8217;s great. You can just reuse the settings for more or less every encode, maybe with a little higher CRF for high resolutions or when encoding cartoons, you save time and you get the quality you want.</p>
<p>A common mistake people make is picking a CRF value and then changing an option to see how the filesize changes and then using the size difference to determine how much that option changes compression efficiency. That&#8217;s because the simple explanation for CRF encoding is that it produces constant quality, but the options used change the way the rate factor is calculated. So you pick a slower option, get a larger filesize and end up being confused. This is particularly apparent if you turn of the psy-stuff, for instance by using &#8211;subme 5 and comparing it to the defaults, where you end up with higher encoding speed and lower filesize.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by KeyJ</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3662</link>
		<dc:creator>KeyJ</dc:creator>
		<pubDate>Mon, 26 Apr 2010 10:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3662</guid>
		<description>&lt;strong&gt;pafnucy:&lt;/strong&gt; I'm already thinking about doing the next comparison in 720p anyway, so we'll find out.

&lt;strong&gt;nurbs:&lt;/strong&gt; In fact, I use &lt;code&gt;--crf&lt;/code&gt; for my personal encodes all the time, because it saves you the second pass without sacrificing quality &#8211; the only downside is that you don't have any kind of direct control over the target bitrate, but since I'm usually encoding files for online distribution or hard drive storage, this isn't an issue. For the codec comparison, however, two-pass encoding is the only way, because I &lt;em&gt;want&lt;/em&gt; a specified target bitrate there.</description>
		<content:encoded><![CDATA[<p><strong>pafnucy:</strong> I&#8217;m already thinking about doing the next comparison in 720p anyway, so we&#8217;ll find out.</p>
<p><strong>nurbs:</strong> In fact, I use <code>--crf</code> for my personal encodes all the time, because it saves you the second pass without sacrificing quality &ndash; the only downside is that you don&#8217;t have any kind of direct control over the target bitrate, but since I&#8217;m usually encoding files for online distribution or hard drive storage, this isn&#8217;t an issue. For the codec comparison, however, two-pass encoding is the only way, because I <em>want</em> a specified target bitrate there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by nurbs</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3661</link>
		<dc:creator>nurbs</dc:creator>
		<pubDate>Mon, 26 Apr 2010 10:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3661</guid>
		<description>You have to be careful when comparing SSIM, because when you get closer to 1 smaller differences in SSIM represent relatively larger differences in quality. For instance 0.98 is twice as good as 0.96, which is twice as good as 0.94. Generally you should use 1/(1-SSIM) if you want the differences on a linear scale.

About bitrates: I generally encode my blu-rays downscaled to 720p (actually 1280*xxx; depending on the aspect ratio of the movie) with --crf 21 in x264, which lets the codec decide the bitrate based on the complexity of the video. The quality is good enough for me, and while I can tell the difference when I'm looking for it it's nothing I'd notice when I'm just watching the movie. 
With that setup I get bitrates mostly between 2 and 4 Mbps, so depending on the content and the level of quality you are satisfied with 4 Mbps is probably a reasonable bitrate for 720p if you want rather good quality on most sources. Stuff like 300 or Planet Terror will probably take more than that if you want transparency to the source. Generally grainy or old footage takes more bitrate, while the new stuff shot with digital cameras can be compressed better because there is less noise and grain.

&lt;strong&gt;Edit:&lt;/strong&gt; Damn it, I meant: For instance 0.98 is twice as good as 0.96, which is twice as good as 0.92.</description>
		<content:encoded><![CDATA[<p>You have to be careful when comparing SSIM, because when you get closer to 1 smaller differences in SSIM represent relatively larger differences in quality. For instance 0.98 is twice as good as 0.96, which is twice as good as 0.94. Generally you should use 1/(1-SSIM) if you want the differences on a linear scale.</p>
<p>About bitrates: I generally encode my blu-rays downscaled to 720p (actually 1280*xxx; depending on the aspect ratio of the movie) with &#8211;crf 21 in x264, which lets the codec decide the bitrate based on the complexity of the video. The quality is good enough for me, and while I can tell the difference when I&#8217;m looking for it it&#8217;s nothing I&#8217;d notice when I&#8217;m just watching the movie.<br />
With that setup I get bitrates mostly between 2 and 4 Mbps, so depending on the content and the level of quality you are satisfied with 4 Mbps is probably a reasonable bitrate for 720p if you want rather good quality on most sources. Stuff like 300 or Planet Terror will probably take more than that if you want transparency to the source. Generally grainy or old footage takes more bitrate, while the new stuff shot with digital cameras can be compressed better because there is less noise and grain.</p>
<p><strong>Edit:</strong> Damn it, I meant: For instance 0.98 is twice as good as 0.96, which is twice as good as 0.92.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by pafnucy</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3659</link>
		<dc:creator>pafnucy</dc:creator>
		<pubDate>Mon, 26 Apr 2010 08:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3659</guid>
		<description>It's interesting to see how small the SSIM gain becomes at bitrates of over 1500kbps (for x264). I realize that you have used a downscaled sample here, but I wonder how does it look like for 720p or 1080p. People like to toss around 4000kbps as a recommended bitrate for 720p, but is it really necessary?</description>
		<content:encoded><![CDATA[<p>It&#8217;s interesting to see how small the SSIM gain becomes at bitrates of over 1500kbps (for x264). I realize that you have used a downscaled sample here, but I wonder how does it look like for 720p or 1080p. People like to toss around 4000kbps as a recommended bitrate for 720p, but is it really necessary?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Video encoder comparison by CableCat</title>
		<link>http://keyj.s2000.ws/?p=356#comment-3658</link>
		<dc:creator>CableCat</dc:creator>
		<pubDate>Sun, 25 Apr 2010 00:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=356#comment-3658</guid>
		<description>This was a very nice comparison. I have been doing the same, and I come to the same conclusion as you. Theora requires about 2 times the bandwidth to reach the same quality as x264. Dirac is just useless, except for almost lossless compression.</description>
		<content:encoded><![CDATA[<p>This was a very nice comparison. I have been doing the same, and I come to the same conclusion as you. Theora requires about 2 times the bandwidth to reach the same quality as x264. Dirac is just useless, except for almost lossless compression.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Technical details about »Applied Mediocrity« by Touraj</title>
		<link>http://keyj.s2000.ws/?p=285#comment-3657</link>
		<dc:creator>Touraj</dc:creator>
		<pubDate>Thu, 15 Apr 2010 11:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://keyj.s2000.ws/?p=285#comment-3657</guid>
		<description>Great work and nice site you have here. I love the crystal cubes and effect. Greetz</description>
		<content:encoded><![CDATA[<p>Great work and nice site you have here. I love the crystal cubes and effect. Greetz</p>
]]></content:encoded>
	</item>
</channel>
</rss>
