<?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>Fooling Around &#187; crap</title>
	<atom:link href="http://alax.info/blog/tag/crap/feed" rel="self" type="application/rss+xml" />
	<link>http://alax.info/blog</link>
	<description>// Software Production Line</description>
	<lastBuildDate>Fri, 03 Feb 2012 22:49:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Adobe Flash Media Live Encoder 3.1</title>
		<link>http://alax.info/blog/1138</link>
		<comments>http://alax.info/blog/1138#comments</comments>
		<pubDate>Sat, 24 Jul 2010 08:02:59 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[DirectShow]]></category>
		<category><![CDATA[dshow]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[FMLE]]></category>
		<category><![CDATA[garbage]]></category>
		<category><![CDATA[media]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=1138</guid>
		<description><![CDATA[<a href="http://alax.info/blog/1138" title="Adobe Flash Media Live Encoder 3.1"></a>It is the first time ever &#8211; because probably I am not as experienced as Geraint &#8211; I witness availability of IMediaSample interface without availability of IMediaSample2. One might be curious what kind of software could provide such a weirdo &#8230;<p class="read-more"><a href="http://alax.info/blog/1138">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/1138" title="Adobe Flash Media Live Encoder 3.1"></a><p>It is the first time ever &#8211; because probably I am not as experienced as <a href="http://www.gdcl.co.uk/">Geraint</a> &#8211; I witness availability of <a href="http://msdn.microsoft.com/en-us/library/dd407001%28VS.85%29.aspx">IMediaSample</a> interface without availability of <a href="http://msdn.microsoft.com/en-us/library/dd407002%28VS.85%29.aspx">IMediaSample2</a>. One might be curious what kind of software could provide such a weirdo in 2010? It is latest and greatest <a href="http://www.adobe.com/products/flashmediaserver/flashmediaencoder/">Adobe Flash Media Live Encoder 3.1</a>.</p>
<p>Additionally to this, they decided to provide garbage in <a href="http://msdn.microsoft.com/en-us/library/dd373477%28VS.85%29.aspx">AM_MEDIA_TYPE</a>::formattype field of <a href="http://msdn.microsoft.com/en-us/library/dd319788%28VS.85%29.aspx">IAMStreamConfig::SetFormat</a>. They perhaps learned that standard <a href="http://msdn.microsoft.com/en-us/library/dd317587%28VS.85%29.aspx">Audio Capture Filter</a> will ignore it anyway, so why bother then?</p>
<p>Having fixed that, <a href="http://alax.info/blog/859">Tone Source Filter</a> based virtual audio device is now compatible with <a href="http://www.adobe.com/products/flashmediaserver/flashmediaencoder/">Adobe Flash Media Live Encoder 3.1</a> and it is possible to send audio to remote Flash Media Server, e.g. such as <a href="http://www.ustream.tv/">Ustream.tv</a> service (over <a href="http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol">RTMP protocol</a>, as implemented by FMLE).</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2010/07/24-Image002.png"><img class="alignnone size-medium wp-image-1143" title="24-Image002" src="http://alax.info/blog/wp-content/uploads/2010/07/24-Image002-320x240.png" alt="24-Image002" width="320" height="240" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/1138/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asus Eee PC, Tray Utility, Default Resolution</title>
		<link>http://alax.info/blog/1017</link>
		<comments>http://alax.info/blog/1017#comments</comments>
		<pubDate>Sat, 08 Aug 2009 13:39:03 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Source]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[asus]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[lcd]]></category>
		<category><![CDATA[nettop]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[tray]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=1017</guid>
		<description><![CDATA[<a href="http://alax.info/blog/1017" title="Asus Eee PC, Tray Utility, Default Resolution"></a>Among things beyond of any understanding are those presented by Asustek/Asus engineers. While hardware is more or less OK, software is often confusing. Asus Eee PC 1000HE, out of which I own one, comes with Asus Eee PC Tray Utility &#8230;<p class="read-more"><a href="http://alax.info/blog/1017">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/1017" title="Asus Eee PC, Tray Utility, Default Resolution"></a><p>Among things beyond of any understanding are those presented by <a href="http://support.asus.com">Asustek/Asus</a> engineers. While hardware is more or less OK, software is often confusing. Asus Eee PC 1000HE, out of which I own one, comes with Asus Eee PC Tray Utility 5.1.1.4008.</p>
<p><img class="alignnone size-full wp-image-1018" title="Asus Eee PC Tray Utility 5.1.1.4008" src="http://alax.info/blog/wp-content/uploads/2009/08/08-tray.png" alt="Asus Eee PC Tray Utility 5.1.1.4008" width="243" height="252" /></p>
<p>A helper application to provide quick access to certain hardware control functions, it is OK. No, you don&#8217;t have an option to close it and even if you kill it from task manager, another Asus utility will immediately relaunch it. It is a kind monther care from Asus who are just sure that they know the right way.</p>
<p>The laptop las an LCD of 1024&#215;600 pixel reoslution, and, as it usually happens, most accurate, sharp and best looking image is on the display when screen resolution is also set to 1024&#215;600. That is, one virtual screen resolution pixel that matches exactly one physical pixel on the LCD matrix. Do I  need to be so much detailed on the obvious things, because everyone knows this as it seems? Everyone but Asus engineers who for some reasons sell laptops that automatically switch to default resolution 800&#215;600. Even if you change resolution to desired one, the laptop will switch it back  sometimes when you logon, when you reboot, when you use fast switch user capability&#8230; Could it be more stupid than that? Perhaps it could, but this way it is already rather annoying.</p>
<p>After less than two months, the hotkey which switches LCD resolution sunk down while it was only used for one thing: to bring back resolution of 1024&#215;600, which beyound of any doubt had to be default resolution without any justification to fall back to a different one for no reason. The key is definitely not going to last for too long.</p>
<p><img class="alignnone size-full wp-image-1019" title="Asus Eee PC 1000HE Resolution Hotkey" src="http://alax.info/blog/wp-content/uploads/2009/08/08-img_1060a.jpg" alt="Asus Eee PC 1000HE Resolution Hotkey" width="640" height="248" /></p>
<p>Out of curiosity, I started the utility on my desktop, where it immediately blinded me by turning off both of my Asus monitors and left me no other way to press reset button to reboot the box.</p>
<p>I thought that there might be an update for the utility on Asus Support website because this kind of thing had to be fixed with apologies and sincere promises to never happen again. I was reluctant to use Asus Update utility because it is more refined masterpiece of stupidity. However on the website, there is no utility in downloads at all. It could be a part of another downloadable package, but there was also no obvious indication that would give a hint what update is required.</p>
<p>So that only solution left was to <em></em><span>anatomize the crapware and think of a workaround to at least for some time </span><span>extend the life of the hotkey. </span>The utility below, PostAsTrayCommand, will look for Asus tray icon utility to be running and will post a requested command (this way it can also be used to switch on or off wireless LAN, or the camera) to the utility.</p>
<p>To switch resolution to 1024&#215;600, a command of 32797 has to be posted. The screenshot below gives an idea of other values, which might be useful:</p>
<p><img class="alignnone size-full wp-image-1020" title="AsTray Utility Tray Icon Menu Commands" src="http://alax.info/blog/wp-content/uploads/2009/08/08-image001.png" alt="AsTray Utility Tray Icon Menu Commands" width="339" height="375" /></p>
<p>To post a command, it needs to be started from command line <em>&#8220;PostAsTrayCommand.exe 32797&#8243;</em> and it makes sense to add it to Startup group to be automatically launched on logon.</p>
<p>A Visual C++ .NET 2008 source code is <a href="http://code.assembla.com/roatl-utilities/subversion/nodes/trunk/PostAsTrayCommand">available from SVN</a>, release binary <a href="http://code.assembla.com/roatl-utilities/subversion/nodes/trunk/PostAsTrayCommand/Release/PostAsTrayCommand.exe?format=raw">included</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/1017/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ahead Nero&#8217;s NeResize DirectShow Filter</title>
		<link>http://alax.info/blog/967</link>
		<comments>http://alax.info/blog/967#comments</comments>
		<pubDate>Mon, 29 Jun 2009 22:34:26 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Seriously]]></category>
		<category><![CDATA[access violation]]></category>
		<category><![CDATA[ahead]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[DirectShow]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[NeResize]]></category>
		<category><![CDATA[nero]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=967</guid>
		<description><![CDATA[<a href="http://alax.info/blog/967" title="Ahead Nero&#039;s NeResize DirectShow Filter"></a>Another example of a negligence with a cost of incompatibility and enormous amount of support time. Ahead Nero installs a number of DirectShow filters into $(Program Files)\Common Files\Ahead\DSFilter directory. One of the files is NeResize.ax and it hosts a Nero &#8230;<p class="read-more"><a href="http://alax.info/blog/967">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/967" title="Ahead Nero&#039;s NeResize DirectShow Filter"></a><p>Another example of a negligence with a cost of incompatibility and enormous amount of support time. Ahead Nero installs a number of DirectShow filters into <em>$(Program Files)\Common Files\Ahead\DSFilter</em> directory. One of the files is <em>NeResize.ax</em> and it hosts a <em>Nero Resize</em> filter. Let us take a closer look:</p>
<p>CLSID: <strong>{30002E0C-C574-481E-A5DE-90AE54A79E10}</strong> (note that Nero 8 ships the same buggy stuff with new CLSID of <strong>{3D0A27C9-B4D6-487B-AFE4-E3CABD4B81F9}</strong><em> &#8211; 11.05.2010</em>)<br />
Merit: <strong>0&#215;00400000</strong> (<a href="http://msdn.microsoft.com/en-us/library/dd388793(VS.85).aspx">MERIT_UNLIKELY</a>)<br />
Input Pin&#8217;s Media Type: major type GUID_NULL, subtype GUID_NULL<br />
Output Pin&#8217;s Media Type: major type GUID_NULL, subtype GUID_NULL</p>
<p>The filter is clearly a video filter:</p>
<p><img class="alignnone size-full wp-image-969" title="Ahead Nero Resize Filter's Property Page" src="http://alax.info/blog/wp-content/uploads/2009/06/29-image001.png" alt="Ahead Nero Resize Filter's Property Page" width="376" height="292" /></p>
<p>So the filter register itself under a merit that allows taking it during <a href="http://msdn.microsoft.com/en-us/library/dd390342(VS.85).aspx">Intelligent Connect</a>, it registers using media type wildcard which is clearly widely than the filter can affectively operate with and the most interesting part is: with certain video media types the filter crashes (memory access violation) during pin connection negotiation process. That is, inaccurate filter <span style="text-decoration: underline;">may be crashing third party software it has nothing to deal with at all</span>.</p>
<pre>*** Unhandled Exception
Process: 0x000001d4, Thread: 0x00000ce4, Date: 6/29/2009, Time: 11:20:56 AM, Application: C:\Program Files\...
Module: C:\..., Product Version: 1.7.1.1, File Version: 1.7.1.20014, File Time: 23.06.2009, 19:02
Code: 0xc0000005, Flags: 0x00000000, Address: 0x05fc6c65
Parameters: 0x00000001, 0x15be9030

** Call Stack
NeResize!05fc6c65 DllUnregisterServer +21909 @05fc0000
NeResize!05fc7888 DllUnregisterServer +25016 @05fc0000
NeResize!05fc7204 DllUnregisterServer +23348 @05fc0000</pre>
<p>Additionally to that the filter does not allow its insertion in debugging environment, and it seems even with Visual Studio running without a debugging session active. Which means that developer may be unaware of issues until incompatibility comes up at a later stage such as testing, or at production site.</p>
<p>It is not the first Nero filter which is bringing real problems. Basically any user who want to keep his system far from issues while still having Nero installed, needs to do find <em>$(Program Files)\Common Files\Ahead\DSFilter</em> directory and immediately rename it to some <em>~DSFilter</em> in order to invalidate all Nero filters registration.</p>
<p>A few quotes from <a href="http://msdn.microsoft.com/en-us/library/dd388793(VS.85).aspx">Guidelines for Registering Filters</a>:</p>
<p style="padding-left: 30px;">Avoid specifying MEDIATYPE_None, MEDIASUBTYPE_None, or GUID_NULL in the <a id="ctl00_MTContentSelector1_mainContentContainer_ctl04" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_ctl00|ctl00_MTContentSelector1_mainContentContainer_ctl04',this);" href="http://msdn.microsoft.com/en-us/library/dd373438%28VS.85%29.aspx"><strong>AMOVIESETUP_MEDIATYPE</strong></a> information for a pin. <strong>IFilterMapper2</strong> treats these as wildcards, which can slow the graph-building process.</p>
<p>Nero Resize does specify and obviously slows the system down.</p>
<p style="padding-left: 30px;">Choose the lowest merit value possible. Here are some guidelines:<br />
&#8230;<br />
Special purpose filter; any filter that is created directly by the application: MERIT_DO_NOT_USE</p>
<p>Nero Resize uses higher value and thus affects proper applications.</p>
<p>Software developers will be safer to prevent from <a href="http://msdn.microsoft.com/en-us/library/dd373399(VS.85).aspx">DirectShow Filter Graph Manager</a> considering the buggy filter to be used during <a href="http://msdn.microsoft.com/en-us/library/dd390342(VS.85).aspx">Intelligent Connect</a> by implementing <a href="http://msdn.microsoft.com/en-us/library/dd389376(VS.85).aspx">IAMGraphBuilderCallback</a> interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/967/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Accounts CAPTCHA</title>
		<link>http://alax.info/blog/903</link>
		<comments>http://alax.info/blog/903#comments</comments>
		<pubDate>Fri, 10 Apr 2009 12:11:53 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[capthca]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=903</guid>
		<description><![CDATA[<a href="http://alax.info/blog/903" title="Google Accounts CAPTCHA"></a>I envy those who can pass this&#8230; By the way going disabled way was of little help because the audio hint was hardly better recognizible&#8230;]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/903" title="Google Accounts CAPTCHA"></a><p>I envy those who can pass this&#8230;</p>
<p><img class="alignnone size-full wp-image-902" title="Google Accounts CAPTCHA" src="http://alax.info/blog/wp-content/uploads/2009/04/10-image001.png" alt="Google Accounts CAPTCHA" width="450" height="326" /></p>
<p>By the way going disabled way was of little help because the audio hint was hardly better recognizible&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/903/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Nokia PC Software Suite 7.1.18.0</title>
		<link>http://alax.info/blog/884</link>
		<comments>http://alax.info/blog/884#comments</comments>
		<pubDate>Sun, 15 Mar 2009 07:53:59 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[nokia]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=884</guid>
		<description><![CDATA[<a href="http://alax.info/blog/884" title="New Nokia PC Software Suite 7.1.18.0"></a>Once again, there was a need in Nokia software to backup phone contents before sending new phone to service. The new phone, new model, latest firmware has Bluetooth subsystem failing to connect to PC&#8217;s bluetooth, to bluetooth headset etc. &#8211; &#8230;<p class="read-more"><a href="http://alax.info/blog/884">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/884" title="New Nokia PC Software Suite 7.1.18.0"></a><p>Once again, there was a need in Nokia software to backup phone contents before sending new phone to service. The new phone, new model, latest firmware has Bluetooth subsystem failing to connect to PC&#8217;s bluetooth, to bluetooth headset etc. &#8211; it&#8217;s worth a separate story itself.</p>
<p>So <a href="http://www.nokia.ua/support/software/nokia-pc-suite">Nokia PC Suite</a>, the latest the greatest version 7.1.18.0. An attempt to backup phone contents leads to infinite loop with 100% CPU consumption on a single thread and Next button (BTW it&#8217;s referred to as Next but has no text label in GUI, just for better user experience):</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2009/03/15-image001.png"><img class="alignnone size-medium wp-image-885" title="Nokia PC Suite in a Deadlock" src="http://alax.info/blog/wp-content/uploads/2009/03/15-image001-300x171.png" alt="Nokia PC Suite in a Deadlock" width="300" height="171" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/884/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Confusing AUDIO_STREAM_CONFIG_CAPS</title>
		<link>http://alax.info/blog/849</link>
		<comments>http://alax.info/blog/849#comments</comments>
		<pubDate>Sat, 21 Feb 2009 14:06:13 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Seriously]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[realtek]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=849</guid>
		<description><![CDATA[<a href="http://alax.info/blog/849" title="Confusing AUDIO_STREAM_CONFIG_CAPS"></a>I don&#8217;t have any idea who makes software nowadays, but how can it expected to be reliable? Intel DG33FBC motherboard, onboard Realtek ALC888 High Definition Audio. I am tracing AUDIO_STREAM_CONFIG_CAPS capabilities reported by onboard audio capture board, one of them: &#8230;<p class="read-more"><a href="http://alax.info/blog/849">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/849" title="Confusing AUDIO_STREAM_CONFIG_CAPS"></a><p>I don&#8217;t have any idea who makes software nowadays, but how can it expected to be reliable?</p>
<p><a href="http://www.intel.com/Products/Desktop/Motherboards/DG33FB/DG33FB-overview.htm">Intel DG33FBC motherboard</a>, onboard Realtek ALC888 High Definition Audio. I am tracing <a href="http://msdn.microsoft.com/en-us/library/dd317597(VS.85).aspx">AUDIO_STREAM_CONFIG_CAPS</a> capabilities reported by onboard audio capture board, one of them:</p>
<p><a href="http://msdn.microsoft.com/en-us/library/dd373477(VS.85).aspx">AM_MEDIA_TYPE</a>:</p>
<pre>majortype {73647561-0000-0010-8000-00AA00389B71}, subtype {00000001-0000-0010-8000-00AA00389B71}, pUnk 0x00000000
bFixedSizeSamples 1, bTemporalCompression 0, lSampleSize 4
formattype {05589F81-C356-11CE-BF01-00AA0055595A}, cbFormat 18, pbFormat 0x002911a8
pbFormat as <a href="http://msdn.microsoft.com/en-us/library/ms713497(VS.85).aspx">WAVEFORMATEX</a>:
  wFormatTag 1
  nChannels 2
<span style="color: #0000ff;"><strong>  nSamplesPerSec 8000</strong>
</span>  nAvgBytesPerSec 32000
  nBlockAlign 4
  wBitsPerSample 16
  cbSize 0</pre>
<p><a href="http://msdn.microsoft.com/en-us/library/dd317597(VS.85).aspx">AUDIO_STREAM_CONFIG_CAPS</a>:</p>
<pre>guid {73647561-0000-0010-8000-00AA00389B71}
MinimumChannels 1, MaximumChannels 2, ChannelsGranularity 1
MinimumBitsPerSample 8, MaximumBitsPerSample 16, BitsPerSampleGranularity 8
<strong><span style="color: #ff0000;">MinimumSampleFrequency 11025, MaximumSampleFrequency 44100, SampleFrequencyGranularity 11025</span></strong></pre>
<p>Media type sampling frequency is 8 KHz (correct) but associated capabilities structure still report different sampling rates and granularity (crap), it is in fact 11025..44100 Hz for all capabilities, including those with sampling frequencies from a different row.</p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/849/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Yet another time about FFDShow</title>
		<link>http://alax.info/blog/841</link>
		<comments>http://alax.info/blog/841#comments</comments>
		<pubDate>Tue, 17 Feb 2009 22:12:23 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[AVI]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[ffdshow]]></category>
		<category><![CDATA[resource]]></category>
		<category><![CDATA[rle]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=841</guid>
		<description><![CDATA[<a href="http://alax.info/blog/841" title="Yet another time about FFDShow"></a>While new NTFS Links propery page is looking for contained junction points, it shows an animated picture to indicate opertation in progress. The picture is a stock resource and is taken from shell32.dll resource type &#8220;AVI&#8221; name 150. It is &#8230;<p class="read-more"><a href="http://alax.info/blog/841">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/841" title="Yet another time about FFDShow"></a><p>While new <a href="http://alax.info/blog/ntfslinks">NTFS Links</a> propery page is looking for contained junction points, it shows an animated picture to indicate opertation in progress. The picture is a stock resource and is taken from <em>shell32.dll</em> resource type &#8220;AVI&#8221; name 150. It is an <a href="http://en.wikipedia.org/wiki/Audio_Video_Interleave">Audio Video Interleave (AVI)</a> file embedded into binary resources as is.</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2009/02/17-image011.png"><img class="alignnone size-medium wp-image-842" title="Alax.Info NTFS Links Junction Points Property Page in Operation" src="http://alax.info/blog/wp-content/uploads/2009/02/17-image011-219x300.png" alt="Alax.Info NTFS Links Junction Points Property Page in Operation" width="219" height="300" /></a></p>
<p>What is however interesting is that being saved as a file and double-clicked, it appeared to be crashing the player process. What might go wrong with a stock resource, is it <a href="http://sourceforge.net/projects/ffdshow">FFDShow</a> again? This was the first guess and yes, it was FFDShow again. This is a &#8220;video only&#8221; file with video encoded with MS-RLE compression, FOURCC &#8216;RLE &#8216;. Microsoft provides a <a href="http://msdn.microsoft.com/en-us/library/ms713467(VS.85).aspx">VCM</a> codec for the format through <em>msrle32.dll</em>.</p>
<p>However, as already discovered, <a href="http://sourceforge.net/projects/ffdshow">FFDShow</a> register itself under extremely high merit and for this reason is preferred as a video decoder and attempts to handle the decompression itself. But it fails, and miserably enough to crash the hosting process.</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2009/02/17-image012.png"><img class="alignnone size-medium wp-image-843" title="FFDShow Crash" src="http://alax.info/blog/wp-content/uploads/2009/02/17-image012-300x179.png" alt="FFDShow Crash" width="300" height="179" /></a></p>
<p>The registration under unfairly high merit defeats the purpose of DirectShow&#8217;s powerful <a href="http://msdn.microsoft.com/en-us/library/dd390342(VS.85).aspx">Intelligent Connect</a> approach. &#8220;Why do you need a video decoder? You have <a href="http://sourceforge.net/projects/ffdshow">FFDShow</a> Video Decoder, forget about the others. Oops, sorry, I don&#8217;t like your file.&#8221;</p>
<p>Is there any way to stop the villain? Of course, there is.</p>
<p><span id="more-841"></span>To start, I tried to disable the decoder through <a href="http://sourceforge.net/projects/ffdshow">FFDShow</a> Video Decoder native interface and give it a last chance. Video decoder offers decoding properties to choose from, and it looked as if it can stop serving as decoder for the mentioned video format.</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2009/02/17-image013.png"><img class="alignnone size-medium wp-image-844" title="FFDShow Video Decoder Properties" src="http://alax.info/blog/wp-content/uploads/2009/02/17-image013-300x251.png" alt="FFDShow Video Decoder Properties" width="300" height="251" /></a></p>
<p>Still with the disabled settings, it kept unsuccessful attempts to decode and process crashes. So another workaround, and it is in fact a proper one, which should be done from the start (and I would also prefer that it was done by FFDShow itself), is to lower decoder&#8217;s merit to a level at which it would honor specialized decoders so that <a href="http://msdn.microsoft.com/en-us/library/dd390342(VS.85).aspx">Intelligent Connect</a> could fall back to <a href="http://sourceforge.net/projects/ffdshow">FFDShow</a> in case there is no bettter alternative. <a href="http://msdn.microsoft.com/en-us/library/dd388793(VS.85).aspx">MERIT_UNLIKELY</a> seems to be a good one for this codec:</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2009/02/17-image014.png"><img class="alignnone size-medium wp-image-845" title="Updated FFDShow Video Decoder Merit" src="http://alax.info/blog/wp-content/uploads/2009/02/17-image014-300x188.png" alt="Updated FFDShow Video Decoder Merit" width="300" height="188" /></a></p>
<p>This fixes the issue by letting <a href="http://msdn.microsoft.com/en-us/library/dd375454(VS.85).aspx">DirectShow</a> choose stock video decoder for MS RLE video encoding.</p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/841/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Downloading Windows 7 Beta 32-bit</title>
		<link>http://alax.info/blog/787</link>
		<comments>http://alax.info/blog/787#comments</comments>
		<pubDate>Mon, 02 Feb 2009 23:39:12 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[seven]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=787</guid>
		<description><![CDATA[<a href="http://alax.info/blog/787" title="Downloading Windows 7 Beta 32-bit"></a>I decided to download a beta of Windows 7, so many people shared their positive impressions of. I am not quite sure I will have time to actually evaluate it, but for the case I would feel like, it is &#8230;<p class="read-more"><a href="http://alax.info/blog/787">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/787" title="Downloading Windows 7 Beta 32-bit"></a><p>I decided to download <a href="https://www.microsoft.com/betaexperience/productkeys/win7-32/enus/default.aspx">a beta of Windows 7</a>, so many people shared their positive impressions of. I am not quite sure I will have time to actually evaluate it, but for the case I would feel like, it is always nice to have the .ISO image ready for a try.</p>
<p>There was nothing worth a word until I reached the download screen which opened an extremely awful Java applet that pretended to be a download manager. It seemed to be a new spin of technology and sort of I don&#8217;t need a nice download manager anymore because direct HTTP links are out of fashion. It started pumping bytes (actually thanks for that) and I my attempt to copy/paste a direct link into my <a href="http://www.downthemall.net/">DownThemAll</a> <a href="http://mozilla.org">FireFox</a> plugin was vain.</p>
<p>At some 20% the download froze without a notice. The download did not even ungray the resume buttons before I restarted FireFox process and then any attempt to resume led to weird message boxes. Frankly at this point I almost lost the desire to actually complete the download. But left a last chance to have it completed by IE. Internet Explorer (expectedly!) preferred ActiveX control to Java applet. It&#8217;s GUI was a bit less scary and it took over incomplete download and&#8230;</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2009/02/02-image001.png"><img class="alignnone size-medium wp-image-788" title="Window 7 Beta Download Manager Crash" src="http://alax.info/blog/wp-content/uploads/2009/02/02-image001-300x185.png" alt="" width="300" height="185" /></a></p>
<p>An attached debugger showed a call stack (oops, I did not save exact call stack) in Manager.exe process in C runtime module, in a CString class method&#8230; It went no further than this crashing at exactly the same point until I manually deleted the incomplete download, when it again repeated a weird message box and then finally restart the download from the start. That was enough for me and found a .torrent with the exactly the same file on <a href="http://thepiratebay.org">thepiratebay.org</a>, which I am quite sure will download without a problem.</p>
<p>Isn&#8217;t it incredibly stupid that significant amount of work was invested into unnecessary task, ugly user interface, buggy implementation (freeze, incapable download manager, weird messages, crash) with a solid residual of inability to conveniently download the thing, while the file could be just put onto regular MS download service?</p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/787/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skype Beta</title>
		<link>http://alax.info/blog/733</link>
		<comments>http://alax.info/blog/733#comments</comments>
		<pubDate>Sun, 14 Dec 2008 20:16:17 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[skype]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=733</guid>
		<description><![CDATA[<a href="http://alax.info/blog/733" title="Skype Beta"></a>I recently advised to take a look at new beta version of Skype software, which I have to use nevertheless I would prefer Jabber for instant messaging if I would be free to choose. I was told that finally multiple &#8230;<p class="read-more"><a href="http://alax.info/blog/733">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/733" title="Skype Beta"></a><p>I recently advised to take a look at new <a href="http://www.skype.com/intl/en/download/skype/windows/beta/">beta version of Skype software</a>, which I have to use nevertheless I would prefer Jabber for instant messaging if I would be free to choose. I was told that finally multiple chats are hosted in a single window and it is extremely convenient. While this looks hardly an advantage particularly to me, I still wanted to take a look at new fresh better Skype out there.</p>
<p>I am still very much disappointed by the trend of rewriting GUI. For god sake, who the hell needs that every single vendor mimic Vista&#8217;s GUI elements on his own? Why the hell would I want Vista buttons on Windows XP? They are still there as if there is no way to put an extra button to switch between compact and full view.</p>
<p>It may look that it is not worth whining around as this is a minor thing just to make it this way and not the other. Here is the Skype team achievement in imitating Vista interface on XP:</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2008/12/14-image001.png"><img class="alignnone size-medium wp-image-732" title="New Skype Screenshot" src="http://alax.info/blog/wp-content/uploads/2008/12/14-image001-300x259.png" alt="" width="300" height="259" /></a></p>
<p>Window&#8217;s non-client area sometimes is calculating incorrectly and layout is updated so that menu has an extra empty line. The company massively invests in custom GUI that comes out crappy going out of uniform OS look and in additionally it is still buggy after passing QA. Yes, it is still a beta but it still gives a great idea about how things are cooked: a lot of work behind the scene and bugs are still here as a result.</p>
<p>Improved usability is questionable to say the least. A quick glance revealed issues:</p>
<ul>
<li>area for typing in chat text is surprisingly small, even on expanded large enough window</li>
<li>roster has persistent useless (for me) items which were optional previously</li>
<li>roster has another GUI glitch most likely caused by new look</li>
<li>groups reworked as a dropdown list and if previously I could &#8211; this was very useful &#8211; multiselect groups to be visible by clicking them with a Control key being hold, this is not an option anymore, thanks for that</li>
</ul>
<p>Update: luckily there is &#8220;Classic Windows&#8221; option!</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2008/12/14-image002.png"><img class="alignnone size-medium wp-image-735" title="Skype's Classic Windows Look" src="http://alax.info/blog/wp-content/uploads/2008/12/14-image002-300x144.png" alt="" width="300" height="144" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/733/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FFDShow strikes back</title>
		<link>http://alax.info/blog/719</link>
		<comments>http://alax.info/blog/719#comments</comments>
		<pubDate>Mon, 24 Nov 2008 16:16:29 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Seriously]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[DirectShow]]></category>
		<category><![CDATA[ffdshow]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=719</guid>
		<description><![CDATA[<a href="http://alax.info/blog/719" title="FFDShow strikes back"></a>FFDShow is already known for it issues (including for example mentioned one). Today&#8217;s featured one is related to its Video Decoder. A great deal of FFDShow related issues amy be worked around with a single shot by listing the image &#8230;<p class="read-more"><a href="http://alax.info/blog/719">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/719" title="FFDShow strikes back"></a><p><a href="http://sourceforge.net/projects/ffdshow">FFDShow</a> is already known for it issues (including for example <a href="http://alax.info/blog/398">mentioned one</a>). Today&#8217;s featured one is related to its Video Decoder. A great deal of FFDShow related issues amy be worked around with a single shot by listing the image name as an FFDShow exclusion under registry:</p>
<pre>HKEY_CURRENT_USER\Software\GNU\ffdshow; blacklist</pre>
<p>but I felt relaxed and the problem re-occurred from Windows service where HKEY_CURRENT_USER was not available/applicable.</p>
<p>FFDShow Video Decoder registration looks like:</p>
<p><a href="http://alax.info/blog/wp-content/uploads/2008/11/24-image001.png"><img class="alignnone size-full wp-image-720" title="FFDSHOW Video Decoder Registation" src="http://alax.info/blog/wp-content/uploads/2008/11/24-image001.png" alt="" width="450" height="530" /></a></p>
<p>It is immediately clear that the filter registered with extremely (and definitely unreasonably, <a href="http://msdn.microsoft.com/en-us/library/ms783757(VS.85).aspx">breaking guidelines</a>) high merit in conjunction with generic video media type will be taken as a possible decoder in every single graph rendered. At the very least, this is a perofrmance issue, similar to frequently reported like this recent one: <a href="http://groups.google.com/group/microsoft.public.win32.programmer.directx.video/browse_thread/thread/a14756925dff15e5#"><span id="thread_subject_site">How to reduce time during pin connection on vista ultimate using RenderStream function&#8230;?</span></a>.</p>
<p>However the real problem was that the filter was accepting connection on my source pin and pretending it could be a valid decoder instead my own one (definitely registered with a proper merit of 0×00800000 (MERIT_PREFERRED). Did it actually decode? No, just sent blackness on the output&#8230; It seems that it is getting a good manner to distance from this crapware by implementing <a href="http://msdn.microsoft.com/en-us/library/ms783952%28VS.85%29.aspx">IAMGraphBuilderCallback</a> interface on the graph builder site and reject consideration of FFDShow A/V Decoders as candidates.</p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/719/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

