VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Sep 2007
    Location
    Canada
    Search Comp PM
    Hello everyone. Can anyone help me with this problem?

    I've downloaded a sub in .smi format for vietnamese language for a movie but everytime i play it, i see strange characters appear like this:

    Mỗi mánh ảo thuật bao gồm
    3 phần hay 3 hành động.

    I am guessing that the characters are codes for vn text and that maybe i am missing some fonts for it? I tried so many fonts already and tried converting smi to another format but it doesn't seem to work. I've also tried several different media players (vlc, bs, wmc, divx) but they all show the same thing. Can anyone help me please?
    Thanks in advance.
    Quote Quote  
  2. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    It's the HTML character codes.

    Open in a browser and it certainly looks like Vietnamese language, as below.

    Maybe you can open in your browser, and copy and paste it from there to a new text (subtitle) file.





    Quote Quote  
  3. Member
    Join Date
    Sep 2007
    Location
    Canada
    Search Comp PM
    Yes, that's it. I see it now.

    Thanks for the help.
    Quote Quote  
  4. Member
    Join Date
    Sep 2007
    Location
    Australia
    Search Comp PM
    Hi, i found this while googling, I'm also having the same problems

    can someone post step by step soulutions to solving this, thanks.

    cause when i open it up in a browser i can see the text, but if i copy and paste all the timing information isnt there

    thanks
    Quote Quote  
  5. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Copy a few lines from what you see in your browser and post them.
    Quote Quote  
  6. Member
    Join Date
    Sep 2007
    Location
    Australia
    Search Comp PM
    What is in the smi file when i open it up in notepad

    <SAMI>
    <HEAD>
    <STYLE TYPE="Text/css">
    <!--
    P {margin-left: 29pt; margin-right: 29pt; font-size: 20pt; text-align: center;

    font-family: Tahoma; font-weight: bold; color: #FFFFFF; background-color:

    #000000;}
    .VNSUBTTL {Name: Vietnamese; Lang: en-US; SAMIType: CC;}
    .SUBTTL {Name: English; Lang: en-US; SAMIType: CC;}
    -->
    </STYLE>
    </HEAD>
    <BODY>
    <SYNC START=57333>
    <P CLASS=VNSUBTTL>Cháu xem cho kỹ nhé?

    </BODY>
    </SAMI>

    what i see when i use vobsub

    Cháu xem cho kỹ nhé?


    what browser see's




    the browser version just displays the text, nothing to do with the timing for when to show the subtitle.
    Quote Quote  
  7. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by yobob
    What is in the smi file when i open it up in notepad

    <SAMI>
    <HEAD>
    <STYLE TYPE="Text/css">
    Okay. So the problem is that the browser reads the angle bracket codes as HTML.
    Try this in a word processor (eg Notepad), using search and replace:

    convert all < to &lt;
    convert all > to &gt;

    And at the top of the file, put
    <pre>

    Now open the file in the browser.
    Quote Quote  
  8. Member
    Join Date
    Sep 2007
    Location
    Australia
    Search Comp PM
    Now my browser shows this

    <pre>
    &lt;SAMI&gt;
    &lt;HEAD&gt;
    &lt;STYLE TYPE="Text/css"&gt;
    &lt;!--
    P {margin-left: 29pt; margin-right: 29pt; font-size: 20pt; text-align: center;

    font-family: Tahoma; font-weight: bold; color: #FFFFFF; background-color:

    #000000;}
    .VNSUBTTL {Name: Vietnamese; Lang: en-US; SAMIType: CC;}
    .SUBTTL {Name: English; Lang: en-US; SAMIType: CC;}
    --&gt;
    &lt;/STYLE&gt;
    &lt;/HEAD&gt;
    &lt;BODY&gt;
    &lt;SYNC START=57333&gt;
    &lt;P CLASS=VNSUBTTL&gt;Cháu xem cho kỹ nhé?

    &lt;/BODY&gt;
    &lt;/SAMI&gt;



    problem is now "Cháu xem cho kỹ nhé?" isnt in vietnamese anymore
    Quote Quote  
  9. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by yobob
    Now my browser shows this
    Well, this works in my browser.
    Yours is apparently treating it as text and not HTML , which is what we want.

    Copy or this file to a file with a name ending in .html.
    The icon should change when you do this (make sure you don't have extensions hidden.)

    Then open this file.

    If that doesn't work, attach the original file to a post and I can give it a try.
    Quote Quote  
  10. Member
    Join Date
    Sep 2007
    Location
    Australia
    Search Comp PM
    Originally Posted by AlanHK
    Originally Posted by yobob
    Now my browser shows this
    Well, this works in my browser.
    Yours is apparently treating it as text and not HTML , which is what we want.

    Copy or this file to a file with a name ending in .html.
    The icon should change when you do this (make sure you don't have extensions hidden.)

    Then open this file.

    If that doesn't work, attach the original file to a post and I can give it a try.
    Ah it finally works, your steps worked perfectly.

    thanks mate i owe u big time.


    heres the steps for anyone interested

    1.
    open up the smi file in wordpad

    2.
    convert all < to &lt;
    convert all > to &gt;

    And at the top of the file, put
    <pre>

    3.
    save it and change the extension to .html

    4.
    now open it and copy and paste the whole text into notepad

    5. save it as .smi, and remember to set the file in unicode before saving
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!