SMPlayer


Yah, after posting about VLC, now it is SMPlayer. What is so good about SMPlayer? SMPlayer, playing the RMVB file is smoother than VLC. I don’t know why. Next, playing the f4v file (Flash video), the video is also smoother than VLC.

So, because of the needs or watching RMVB movie and f4v movie, that is why I use SMPlayer frequently.

But under Linux, there is a small problem about SMPlayer to play the video with a separate subtitle with Chinese encoding, namely GBK. To play the video in the Unicode locale, the subtitle will shows the characters with underline only. To get the locale of your Linux, enter “locale” in the command-line, it will show something like this,

LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

To play the video with GBK encoded subtitle, enter the following command,

env LANG=zh_CN smplayer

However, if the file name contains some Unicode or GBK, the file might not be able to be opened. In such case, enter the following command,

env LANG=zh_CN.gbk smplayer

But make sure the OS allows the locale mentioned above. The above commands are worked on Arch Linux.

Advertisements