<?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>My Leisure Notes</title>
	<atom:link href="http://www.thehkstyle.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.thehkstyle.com/blog</link>
	<description>things around me for sharing</description>
	<lastBuildDate>Wed, 11 Apr 2012 08:15:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>數碼通 Voice/Data Stored-Value SIM Card APN</title>
		<link>http://www.thehkstyle.com/blog/?p=391</link>
		<comments>http://www.thehkstyle.com/blog/?p=391#comments</comments>
		<pubDate>Wed, 11 Apr 2012 08:15:15 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[2 Cents]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=391</guid>
		<description><![CDATA[買了數碼通 Voice/Data Stored-Value SIM Card，店家替我把它 cut 成 micro-SIM，裝上 iPad 使用流動數據上網，default setting 沒法工作。 Google 了一下，把 APN 由 internet 改為 smartone-vodafone，終於可 3G 上網了。]]></description>
			<content:encoded><![CDATA[<p>買了數碼通 Voice/Data Stored-Value SIM Card，店家替我把它 cut 成 micro-SIM，裝上 iPad 使用流動數據上網，default setting 沒法工作。</p>
<p>Google 了一下，把 APN 由 <strong>internet</strong> 改為 <strong>smartone-vodafone</strong>，終於可 3G 上網了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=391</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert MKV video file to AVCHD</title>
		<link>http://www.thehkstyle.com/blog/?p=378</link>
		<comments>http://www.thehkstyle.com/blog/?p=378#comments</comments>
		<pubDate>Sun, 11 Mar 2012 10:45:03 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[Audio & Video]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=378</guid>
		<description><![CDATA[I had a mkv file (23.98 fps h.264 video + DTS audio) and a SRT file (for Chinese subtitle). I wanted to burn the video into DVD-R and conserve the maximum available video quality. In brief, the steps to convert &#8230; <a class="more-link" href="http://www.thehkstyle.com/blog/?p=378">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had a mkv file (23.98 fps h.264 video + DTS audio) and a SRT file (for Chinese subtitle). I wanted to burn the video into DVD-R and conserve the maximum available video quality. In brief, the steps to convert them into AVCHD (or BDMV) were:</p>
<ol>
<li>convert DTS to AC3 using <a href="http://audioconverter.heartware.dk/Tutorial/" target="_blank">MKV Audio Converter</a></li>
<li>open SRT file with notepad++, convert it to UTF-8 format and save it</li>
<li>if dimension of video clip is not in 1920&#215;1080 or 1280&#215;720, use <a href="http://avisynth.org/mediawiki/Main_Page" target="_blank">AviSynth</a> AddBorder function to uncrop the video (see <a href="http://www.ps3hax.net/showthread.php?p=330331" target="_blank">this</a>)</li>
<li>use <a href="http://www.bunkus.org/videotools/mkvtoolnix/" target="_blank">MKVToolnix</a> 4.0.0 to merge SRT into the MKV file</li>
<li>use <a href="http://www.videohelp.com/tools/tsMuxeR" target="_blank">tsMuxeR</a> GUI to convert MKV into AVCHD</li>
<li>burn the AVCHD files into DVD with UDF 2.50 filesystem (see <a href="http://www.afterdawn.com/guides/archive/convert_mkv_to_avchd_for_ps3_and_blu-ray.cfm" target="_blank">this</a>)</li>
</ol>
<p>Enjoy!</p>
<p><span style="text-decoration: underline;"><strong>Notes on Mar 12th, 2012:</strong></span></p>
<ul>
<li>tsMuxeR can handle SRT subtitle now, so we can skip the MKVToolnix step.</li>
<li>For Chinese subtitle with txMuxeR, I used Arial 46pt.</li>
<li>It is important that the font name selected for tsMuxer subtitle <strong>cannot</strong> contain any Chinese character (or other double-byte characters I supposed).</li>
</ul>
<p>I used <a href="http://mewiki.project357.com/wiki/Main_Page" target="_blank">MeGUI</a> to run AviSynth script. My AviSynth script looked like this:</p>
<pre>addBorder.avs:
-------------------------------------------
DirectShowSource("E:\some_video.mkv",fps=23.9759856527702,audio=false,convertfps=false)
addborders(0,92,0,92)</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=378</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extracting 24bit LPCM audio from DVD</title>
		<link>http://www.thehkstyle.com/blog/?p=367</link>
		<comments>http://www.thehkstyle.com/blog/?p=367#comments</comments>
		<pubDate>Mon, 13 Feb 2012 14:40:05 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[Audio & Video]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=367</guid>
		<description><![CDATA[I love the &#8220;David Gilmour In Concert&#8221; DVD very much. I would have bought the CD if I could found one, but it seems that the title is available only in DVD format. I tried extracting LPCM audio stream from &#8230; <a class="more-link" href="http://www.thehkstyle.com/blog/?p=367">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I love the &#8220;David Gilmour In Concert&#8221; DVD very much. I would have bought the CD if I could found one, but it seems that the title is available only in DVD format.</p>
<p>I tried extracting LPCM audio stream from the DVD in the past (see <a href="http://www.thehkstyle.com/blog/?p=136">here</a>), but the extracted audio turned out to become noise instead of music.</p>
<p>Recently I have bought an Audiophilleo2, I wanted to extract the audio stream so I can play it with Linux MPD. After doing some further research, I have finally extracted the audio stream successfully.</p>
<p>The process is basically same as that specified in the Readme.txt in <a href="http://www.rarewares.org/others.php">lpcm24.zip</a>.</p>
<ol>
<li>Extract VOB and IFO files with DVD Decrypter</li>
<li>Use vStrip to demux LPCM stream</li>
<ul>
<li>At Input tab, add VOB file(s)</li>
<li>At IFO tab, select IFO file</li>
<li>At output tab, select output name and choose &#8220;Raw PCM stream&#8221;. The output name serves as a filename prefix</li>
<li>Check &#8220;SubStreams&#8221; checkbox</li>
<li>Select only the LPCM stream (usually 0xA0)</li>
<li>Check <strong>only</strong> the &#8220;Demux&#8221; checkbox under &#8220;Output Options&#8221;</li>
<li>Click &#8220;Run&#8221; button</li>
</ul>
<li>Use lpcm24.exe to convert raw audio file into wav</li>
</ol>
<pre>e.g. lpcm24.exe -48 t2_V01C01.raw t2_V01C01.wav</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=367</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EAC with my new Pioneer BDR-S06XLB</title>
		<link>http://www.thehkstyle.com/blog/?p=364</link>
		<comments>http://www.thehkstyle.com/blog/?p=364#comments</comments>
		<pubDate>Mon, 16 Jan 2012 10:57:47 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[Audio & Video]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=364</guid>
		<description><![CDATA[The tray of my old HP DVD-ROM writer drive sometimes did not response. I was afraid that my CDs might get stuck in the drive, so I have replaced it with a new Pioneer Blue-ray drive. After installing the new &#8230; <a class="more-link" href="http://www.thehkstyle.com/blog/?p=364">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The tray of my old HP DVD-ROM writer drive sometimes did not response. I was afraid that my CDs might get stuck in the drive, so I have replaced it with a new Pioneer Blue-ray drive.</p>
<p>After installing the new drive, I have also updated the EAC drive options. The steps can be found <a href="http://blowfish.be/eac/Setup/setup5.html" target="_blank">here</a>. I had used a Clannad CD to performed the offset correction test. For other CDs that can work with EAC, please see <a href="http://www.exactaudiocopy.de/en/index.php/overview/basic-technology/list-of-included-reference-cds/" target="_blank">this list</a>.</p>
<p>The CD ripping speed seems to be about the same to my old HP drive. But comparing the BDR-S06XLB with my old earth-quaking spinning HP drive, the Pioneer drive is so smooth and so quiet!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=364</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>installing Sophos on Centos</title>
		<link>http://www.thehkstyle.com/blog/?p=361</link>
		<comments>http://www.thehkstyle.com/blog/?p=361#comments</comments>
		<pubDate>Sun, 02 Oct 2011 10:48:00 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=361</guid>
		<description><![CDATA[If Sophos complains about Talpa modules right after the installation, try update it first. Usually the problem can be solved. /opt/sophos-av/bin/savupdate Besides, if there is new kernel release, make sure Sophos has already supported it before apply it to your &#8230; <a class="more-link" href="http://www.thehkstyle.com/blog/?p=361">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If Sophos complains about Talpa modules right after the installation, try update it first. Usually the problem can be solved.</p>
<pre> /opt/sophos-av/bin/savupdate</pre>
<p>Besides, if there is new kernel release, make sure Sophos has already <a href="http://www.sophos.com/support/knowledgebase/article/14377.html" target="_blank">supported</a> it before apply it to your system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=361</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squeezebox Duet Controller problem after upgrade</title>
		<link>http://www.thehkstyle.com/blog/?p=326</link>
		<comments>http://www.thehkstyle.com/blog/?p=326#comments</comments>
		<pubDate>Thu, 22 Sep 2011 07:46:00 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[Audio & Video]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=326</guid>
		<description><![CDATA[Early this month, I updated my Squeezebox Duet Controller to firmware 7.6.1 r9482. After the update, the controller could not restart properly &#8211; it kept rebooting itself. This was the first time I hit this situation after updating its firmware. &#8230; <a class="more-link" href="http://www.thehkstyle.com/blog/?p=326">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Early this month, I updated my Squeezebox Duet Controller to firmware 7.6.1 r9482. After the update, the controller could not restart properly &#8211; it kept rebooting itself. This was the first time I hit this situation after updating its firmware.</p>
<p>To fix it, follow <a href="http://logitech-en-amr.custhelp.com/app/answers/detail/a_id/8373/%7E/resetting-squeezebox-duet-to-factory-default-settings#controller" target="_blank">the instructions on the Logitech page</a> and reset the controller to factory default setting. After the controller resumed, I had then installed the Android fonts for CJK language support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=326</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>perl-5.8.8-32.el5_6.3 and squeezeboxserver-7.6.0-1</title>
		<link>http://www.thehkstyle.com/blog/?p=315</link>
		<comments>http://www.thehkstyle.com/blog/?p=315#comments</comments>
		<pubDate>Thu, 11 Aug 2011 10:20:16 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[Audio & Video]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=315</guid>
		<description><![CDATA[Recently I had updated my perl RPM to perl-5.8.8-32.el5_6.3. After the update, the Squeezebox Server could not start up. It complained about: weaken is only available with the XS version of Scalar::Util After doing some searching, I fixed that by: &#8230; <a class="more-link" href="http://www.thehkstyle.com/blog/?p=315">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I had updated my perl RPM to perl-5.8.8-32.el5_6.3. After the update, the Squeezebox Server could not start up. It complained about:</p>
<pre>weaken is only available with the XS version of Scalar::Util</pre>
<p>After doing some searching, I fixed that by:</p>
<pre>#perl -MCPAN -e shell;
cpan&gt;force install Scalar::Util
cpan&gt;quit</pre>
<p>FYI, my server is running CentOS 5.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=315</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NVidia GT440 and XP boot up problem</title>
		<link>http://www.thehkstyle.com/blog/?p=312</link>
		<comments>http://www.thehkstyle.com/blog/?p=312#comments</comments>
		<pubDate>Fri, 29 Jul 2011 18:23:38 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[MS Windows]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=312</guid>
		<description><![CDATA[I was using a NVidia GeForce 8600 display card. After I hit the &#8220;blue screen&#8221; a few times, I decided to replace the display card and hoping that the system will become stable again and also gain some performance boost. &#8230; <a class="more-link" href="http://www.thehkstyle.com/blog/?p=312">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was using a NVidia GeForce 8600 display card. After I hit the &#8220;blue screen&#8221; a few times, I decided to replace the display card and hoping that the system will become stable again and also gain some performance boost.</p>
<p>After replacing the display card with a new NVidia GT 440 card, I rebooted the system. However, no matter whether I started my Windows XP in normal mode or safe mode, the system simply got stuck at the Windows XP boot up screen &#8211; the progress bar animation keeps moving but it simply refused to proceed any further.</p>
<p>After a couple hours of tests, the problem was solved by disabling the &#8220;Memory Remap Feature&#8221; and &#8220;ASUS C.G.I. Function&#8221; from the BIOS.</p>
<p>If you are facing similar problem with a new NVidia display card, try fiddling the BIOS setting before give up.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=312</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lm_sensors on CentOS 5 with GA-D510UD mobo</title>
		<link>http://www.thehkstyle.com/blog/?p=305</link>
		<comments>http://www.thehkstyle.com/blog/?p=305#comments</comments>
		<pubDate>Wed, 01 Jun 2011 04:39:11 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=305</guid>
		<description><![CDATA[After Googling a while, I found that lm_sensors supports D510 CPU now. Steps to enable lm_sensors on my CentOS 5 system with Gigabyte GA-D510UD motherboard are listed below. 1. Remove lm_sensors if you have tried to install it before. 2. &#8230; <a class="more-link" href="http://www.thehkstyle.com/blog/?p=305">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After Googling a while, I found that lm_sensors supports D510 CPU now. Steps to enable lm_sensors on my CentOS 5 system with Gigabyte GA-D510UD motherboard are listed below.</p>
<p><strong>1.</strong> Remove lm_sensors if you have tried to install it before.</p>
<p><strong>2.</strong> Run the below as root.</p>
<pre># rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
# rpm -Uvh http://elrepo.org/elrepo-release-5-2.el5.elrepo.noarch.rpm
# yum --enablerepo=elrepo install lm_sensors
# yum --enablerepo=elrepo install kmod-coretemp-PAE
# yum --enablerepo=elrepo install kmod-it87-PAE</pre>
<p><strong>3.</strong> When installing kmod-coretemp-PAE, it also requested me to install kernel-PAE, so I reboot the system after installing the new kernel. Make sure you are running with the new kernel (try <strong>uname -a</strong>). If not, check grub.conf and see whether the new kernel is in effect. Then run the below.</p>
<pre># modprobe it87
# modprobe coretemp
# sensors-detect</pre>
<p><strong>4.</strong> Allow <strong>sensor-detect</strong> to overwrite the /etc/sysconfig/lm_sensors file.  Is should look like the below. If not, you may have to manually edit it.</p>
<pre># Generated by sensors-detect on Wed Jun  1 11:51:09 2011
MODULE_0=it87
MODULE_1=coretemp</pre>
<p><strong>5.</strong> If things go fine, you should get something similar to the below with <strong>sensors</strong>.</p>
<pre># sensors
it8720-isa-0290
Adapter: ISA adapter
in0:       +0.99 V  (min =  +0.00 V, max =  +4.08 V)
in1:       +1.73 V  (min =  +0.00 V, max =  +4.08 V)
in2:       +3.33 V  (min =  +0.00 V, max =  +4.08 V)
+5V:       +3.01 V  (min =  +0.00 V, max =  +4.08 V)
in4:       +3.20 V  (min =  +0.00 V, max =  +4.08 V)
in5:       +4.08 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in6:       +4.08 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
5VSB:      +3.01 V  (min =  +0.00 V, max =  +4.08 V)
Vbat:      +3.07 V
fan1:     5672 RPM  (min =    0 RPM)
fan2:     1834 RPM  (min =    0 RPM)
temp1:       -55°C  (low  =  +127°C, high =  +127°C)   sensor = thermistor
temp2:       +63°C  (low  =  +127°C, high =  +127°C)   sensor = diode
temp3:       +63°C  (low  =  +127°C, high =  +127°C)   sensor = diode
vid:      +1.400 V

coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +51°C  (high =  +100°C)

coretemp-isa-0002
Adapter: ISA adapter
Core 1:      +49°C  (high =  +100°C)</pre>
<p><strong>6.</strong> Start lm_sensors on every boot automatically if necessary.</p>
<pre># chkconfig --level 2345 lm_sensors on
# chkconfig --list lm_sensors</pre>
<address>Reference:</p>
<p>http://mirrror.centos.org/modules/newbb/viewtopic.php?viewmode=thread&#038;topic_id=27562&#038;forum=39&#038;post_id=114886</p>
<p>http://elrepo.org/tiki/tiki-index.php</p></address>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=305</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KMPlayer played rmvb without sound</title>
		<link>http://www.thehkstyle.com/blog/?p=301</link>
		<comments>http://www.thehkstyle.com/blog/?p=301#comments</comments>
		<pubDate>Sun, 22 May 2011 08:40:32 +0000</pubDate>
		<dc:creator>pink</dc:creator>
				<category><![CDATA[Audio & Video]]></category>

		<guid isPermaLink="false">http://www.thehkstyle.com/blog/?p=301</guid>
		<description><![CDATA[I have KMPlayer  v2.9.4.1434 and RealPlayer v11.0.3. KMPlayer could play rmvb files but without sound. After a few different attempts, I found that KMPlayer can play rmvb with sound with the below steps. Open &#8220;options&#8221; &#8211;&#62; &#8220;Preferences&#8221; (or press F2). &#8230; <a class="more-link" href="http://www.thehkstyle.com/blog/?p=301">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have KMPlayer  v2.9.4.1434 and RealPlayer v11.0.3. KMPlayer could play rmvb files but without sound.</p>
<p>After a few different attempts, I found that KMPlayer can play rmvb with sound with the below steps.</p>
<ol>
<li> Open &#8220;options&#8221; &#8211;&gt; &#8220;Preferences&#8221; (or press F2).</li>
<li>Click &#8220;Filter control&#8221;.</li>
<li>Change the text in &#8220;DirectShow&#8221; from:<br />
<span style="color: #000080;">.AVI .MPG MMS:// MMST:// <span style="color: #ff0000;">.RMVB .RM</span> .RAM .MP3 .AAC .MOV .MP4</span><br />
to<br />
<span style="color: #000080;">.AVI .MPG MMS:// MMST:// .RAM .MP3 .AAC .MOV .MP4</span></li>
</ol>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thehkstyle.com/blog/?feed=rss2&#038;p=301</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

