Monday, August 3, 2009

The Square in Subtitle of VLC

Sometimes when watching videos using VLC 1.0.1 with subtitle srt file, there are squares instead of readable characters in the substitle. Usually, each square is a Chinese character. When opening the srt file using a word processor with appropriate encoding (Big5, GB2312, GB18030 or Unicode), the Chinese character can be read. However, VLC 1.0.1 simply cannot display the Chinese character correctly. You can only see squares. How to handle this situation ?

First of all, convert the srt file to Unicode.

Then config the VLC 1.0.1 as follows:
  1. Open VLC 1.0.1
  2. In the main menu, click Tools
  3. Click Preferences
  4. On the LHS, click Subtitles & OSD
  5. In Subtitles Language > Default encoding, choose Universal, Chinese (GB18030)
  6. In Display Settings > Font, input the fullpath filename of the font : Font Arial Unicode MS
How to find out the fullpath filename of a font ? All fonts should be inside the directory %SystemRoot%\Fonts. Simply open this directory using details view. The filename (XXXXXXXX.TTF) should be displayed next to the column Font Name

By the way, using this method, the srt file must be in unicode and should be stored using UTF-8 format. Using UTF-16 LE format will make VLC displaying one or two question marks at the end of subtitle lines.


19 comments:

Anonymous said...

Perfect!! Worked for me. :)
Much Thanks,
Angel Heart
(India)

Unknown said...

what about Arabic I have the same issue

Anonymous said...

LE ME CHECK!!

Alvin SIU said...

Assuming using Windows, first convert the Arabic subtitle file to utf8 format.
Open the file using Word, then save as TXT and choose Unicode UTF8 with CR/LF.
The above settings still works, no need to change anything (because the font Arial Unicode MS will support.)
Simply drag the save-as file into VLC will do.

woktoss said...

works like a charm, thank you! 解决问题了, 谢谢Alvin!

cth451 said...

What about vlc on Android? Seems Android version comes with only a few options and doesn't allow changing the font.

izzet said...

This also worked for me, but I opened the .srt file with the notepad, then Format > Font > Show more fonts. Some fonts were hidden, so I unhide them. After all these steps it worked.

Thanks

Unknown said...

please help for hindi subtitle

Unknown said...

多谢了!!!

PP Suresh said...

Perfect.. it worked for me... thanks a ton

Unknown said...

Great thanks for u Mr. Alvin SIU it really work

Unknown said...

It's working! thanks a lot

BrighterTmrw said...

Woooohoooo!!

Unknown said...

how do u convert the file?

Unknown said...

Thank you ! It works now!

ZcheK said...

This wasn't working for me until I opened the subtitle file in MS WORD, it will offer to convert it to something readable, then save it as a word document, then change the extension to .srt and it works.

Anonymous said...

Many thanks for the post! Choose Universal, Chinese (GB18030) as default encoding and choose Arial Unicode MS as Font works very well to display either Chinese or English subtitle.

Micheal Alexander said...

Thank you for your articles that you have shared with us. Hopefully you can give the article a good benefit to us. Translate Subtitles to English

uinsionnmacchia said...

Titanium-ART | TITanium-ART.com
Titanium-ART is an innovative product and titanium septum jewelry innovative company. The company uses titanium 3d printing cutting edge t fal titanium technologies to titanium ingot produce price of titanium highly reactive sunscreen materials that

Duplicate Open Current Folder in a New Window

Sometimes after I opened a folder in Win7, I would like to duplicate open the same folder again in another explorer window. Then, I can ope...