## How to use this software

mplayer-tru is based on MPlayer - The Movie Player, so it is an enhancement to mplayer.

Note: You can replace all mplayer to gmplayer in the following text for GUI version of mplayer.

### Launch from command line

The syntax is

player URL

player could be mplayer, totem or xine.
URL is in the form:

vod://[server]:[port]/[path\to\file\on\the\server]

Note:
For mplayer, URL should be encoded in the same encoding as the vod server, mostly GB2312
For xine-lib based players, URL should be encoded in the same encoding as your locale

### Launch mplayer-tru from browser

#### For Mozilla Firefox users

You can install the ComicView extension in Mozilla Firefox, to launch mplayer-tru from Mozilla Firefox.
After install the extension, it need to be configured.
In the Mozilla Firefox extension dialog, click the option button of ComicView extension.
• Enter the path of mplayer in that dialog, if you want to run mplayer with truran supported.
If you use the RPM package install, the value is /usr/bin/mplayer
If you compile mplayer without specify the prefix, the value is /usr/local/bin/mplayer
If you use the win32 package, it is depend on where the mplayer win32 installed. Then go to the page which contain links of videos.
Right click the link, if it can be played with mplayer-tru, there will be a "View with MPlayer" in the context menu. Select it and enjoy it.
• Enter the path of totem in that dialog, if you wanna run totem instead of mplayer.
• Enter the locale charset (for truran-xine only, you may leave them blank if truran-xine is not installed on your system)
If you don't know your charset, run locale in console, you may get:
\$locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

In this case, UTF-8 is your locale charset(from LC_CTYPE). If your LC_CTYPE is like "zh_CN", then fill in with GB2312. Note that GB2312 is not recommended for truran-xine, because some URLs can't be represented in GB2312, but GB18030.
• Enter GB2312 in vod server charset, this depends on your vod server, mostly GB2312.

#### For Internet Explorer in win32 users

You can launch mplayer-tru from Internet Explorer by follow steps
1. Close all IE Window
2. Use the Command Prompt, and go to C:\MP
3. Type "regsvr32 xnethlpr.dll"
4. Import C:\MP\install.reg
5. Reopen IE, and have fun.
Currently the Browser Helper Object is a modified helper from netplayer. It will be rewritten, due to limited time.