數碼通 Voice/Data Stored-Value SIM Card APN

買了數碼通 Voice/Data Stored-Value SIM Card,店家替我把它 cut 成 micro-SIM,裝上 iPad 使用流動數據上網,default setting 沒法工作。

Google 了一下,把 APN 由 internet 改為 smartone-vodafone,終於可 3G 上網了。

Posted in 2 Cents | Leave a comment

Convert MKV video file to AVCHD

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:

  1. convert DTS to AC3 using MKV Audio Converter
  2. open SRT file with notepad++, convert it to UTF-8 format and save it
  3. if dimension of video clip is not in 1920×1080 or 1280×720, use AviSynth AddBorder function to uncrop the video (see this)
  4. use MKVToolnix 4.0.0 to merge SRT into the MKV file
  5. use tsMuxeR GUI to convert MKV into AVCHD
  6. burn the AVCHD files into DVD with UDF 2.50 filesystem (see this)

Enjoy!

Notes on Mar 12th, 2012:

  • tsMuxeR can handle SRT subtitle now, so we can skip the MKVToolnix step.
  • For Chinese subtitle with txMuxeR, I used Arial 46pt.
  • It is important that the font name selected for tsMuxer subtitle cannot contain any Chinese character (or other double-byte characters I supposed).

I used MeGUI to run AviSynth script. My AviSynth script looked like this:

addBorder.avs:
-------------------------------------------
DirectShowSource("E:\some_video.mkv",fps=23.9759856527702,audio=false,convertfps=false)
addborders(0,92,0,92)

 

Posted in Audio & Video | Leave a comment

Extracting 24bit LPCM audio from DVD

I love the “David Gilmour In Concert” 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 the DVD in the past (see here), but the extracted audio turned out to become noise instead of music.

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.

The process is basically same as that specified in the Readme.txt in lpcm24.zip.

  1. Extract VOB and IFO files with DVD Decrypter
  2. Use vStrip to demux LPCM stream
    • At Input tab, add VOB file(s)
    • At IFO tab, select IFO file
    • At output tab, select output name and choose “Raw PCM stream”. The output name serves as a filename prefix
    • Check “SubStreams” checkbox
    • Select only the LPCM stream (usually 0xA0)
    • Check only the “Demux” checkbox under “Output Options”
    • Click “Run” button
  3. Use lpcm24.exe to convert raw audio file into wav
e.g. lpcm24.exe -48 t2_V01C01.raw t2_V01C01.wav
Posted in Audio & Video | Leave a comment

EAC with my new Pioneer BDR-S06XLB

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 drive, I have also updated the EAC drive options. The steps can be found here. I had used a Clannad CD to performed the offset correction test. For other CDs that can work with EAC, please see this list.

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!

Posted in Audio & Video | Leave a comment

installing Sophos on Centos

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 system.

Posted in Linux | Leave a comment