View Single Post
  #10 (permalink)  
Old 11th January 2007
demidov demidov is offline
Junior Member
BS.Player Newbie
 
Join Date: Mar 2005
Posts: 6
Rep Power: 0
demidov is an unknown quantity at this point
Default SAMI support for BSPlayer

The attached plug-in is capable of showing SAMI subtitles.
Unicode multilingual files are supported in UTF-16, UTF-8 and ANSI code pages.
Because BSPlayer internally doesn't support unicode, just make sure to include a style sheet for each language like this:

.CC1 {Name: English; lang: en-US; ... }
.CC2 {Name: Russian; lang: ru-RU; ... }
.CC3 {Name: Hebrew; lang: he-IL; ... }
...

There may be a problem with MKV containers + multilingual files due to a bug in BSP. In such case non-english languages may get scrambled and BSP may crash on exit. To fix it, just load another simple subtitle file (srt or sub) and, mysteriously, the languages will be back !!

Another issue is non-recognized by BSP HTML tags, like <font> and special symbols: &lt; &gt; &amp;. These will be shown as is, and it is entirely up to BSP to start showing HTML content correctly. If I'll translate them myself, the HTML content will become inconsistent and unstable.

Tested on XP, server 2003 and Vista 32, maybe will work on 2000. Don't even try on 9x/ME. MSHTML must be functional too. On Vista 64, in EVR, BSPlayer doesn't show any subtitles at all!

History:

2.0.0.4 - empty line crash fixed
2.0.0.3 - &nbsp translated
2.0.0.2 - OSD
2.0.0.1 - parser implemented through MSHTML
1.0.0.1 - original version
Attached Files
File Type: zip bspsami_130.zip (43.8 KB, 1432 views)
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20