Archive for March, 2010

How To: Using CoreAVC on Linux for fast HD video playback

Mar 31 2010 Published by under HowTo,Linux

CoreAVC is a fast proprietary codec for decoding H.264/AVC video. It enables low-end systems to play videos without any lag, present in other decoders.

Step 1: Preparing for installation

  1. First of all, remove any existing MPlayer installations. On OpenSuSE this can be done by:
  2. zypper rm MPlayer

  3. Next, install the dependencies for MPlayer by

    zypper si -d MPlayer

  4. Install wine

    zypper in wine

Step 2: Install dshowserver

  1. Install CoreAVC. You will need a licensed copy to get beyond this step.

    wine CoreAVC-Setup.exe

  2. Download the source:

    svn co http://coreavc-for-linux.googlecode.com/svn/trunk/ coreavc-for-linux
    cd coreavc-for-linux/dshowserver

  3. Compile and install:

    make && make install
    sudo cp “$HOME/.wine/drive_c/Program Files/CoreCodec/CoreAVC Professional Edition/CoreAVCDecoder.ax” /usr/local/share/dshowserver

  4. Verify whether dshowserver is installed correctly

    dshowserver -c CoreAVCDecoder.ax

    should show something like:

    Starting wine dshowserver.exe.so
    No id specified, assuming test mode
    Using default width for CoreAVCDecoder.ax: 1280
    Using default height for CoreAVCDecoder.ax: 720
    Using default fourcc for CoreAVCDecoder.ax: 0×34363248
    Using default outfmt for CoreAVCDecoder.ax: 0×30323449
    Using default outbit for CoreAVCDecoder.ax: 12
    Using default GUID for CoreAVCDecoder.ax: 09571a4b-f1fe-4c60-9760de6d310c7c31
    Opening device (port is 0)
    len: 992
    ProductVersion: 2.0.0
    fixme:thread:SetThreadIdealProcessor (0x8c): stub
    fixme:thread:SetThreadIdealProcessor (0×90): stub
    Decoder supports the following YUV formats: YUY2 UYVY YV12 I420
    Decoder is capable of YUV output (flags 0x2b)
    Setting fmt
    Starting
    Initialization is complete

Step 3: Install Mplayer

  1. Download the source:

    cd ..
    wget http://www.mplayerhq.hu/MPlayer/releases/mplayer-checkout-snapshot.tar.bz2
    tar xvjf mplayer-checkout-snapshot.tar.bz2
    cd mplayer-export-*

  2. Patch the source:

    patch -p0 < ./mplayer/dshowserver.patch

  3. Compile and install. Grab a cup of coffee while it compiles, it takes a few minutes.

    ./configure && make && sudo make install

Step 4: Final steps

Copy this codecs.conf to your $HOME/.mplayer/ directory.

Test out playback with

mplayer -vc coreserve <filename>

No responses yet

How to study at IIIT @ Rs. 100

Mar 27 2010 Published by under IIIT

Last year’s recession and this years budget have left a big hole’s in people’s pockets. So, here I (thanks to Sanrag) bring to you a once in a lifetime opportunity to study at IIIT-H for Rs. 100.  (Of course, if you are a heartless monster, you can pay Re. 1 and still get away).

Ingredients:

You must be an “abroad” student (or get a Camouflage passport) and Fire{fox,bug}

Recipe:

1) Fill up the main form. The form field at bottom is edited by Firebug.

The “form input sanity check” which is done by Javascript, is also bypassed, so empty fields work.

Step 1

2) After clicking on next, you are redirected to the payment page

3)

4) Final step, enter your details and get ready for admission in IIIT.

PS: Although there is supposedly a “criteria” for admission, but knowing IIIT, you will surely get admission.

13 responses so far