VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. First of all, I am not a pro in encoding, so please let me know if I did something that does not make sense.

    So, this is my problem: I have tried to convert an existing .mp4 video with .ass file into x265 .mkv with Staxrip (to make it smaller), using NVEnc native encoder (CBR mode, see MediaInfo attached).
    No problems with audio/video, but I have problems with the subtitles; I am sure that the original (.ass) file is displayed correctly but, when I use the embedded subs, there are weird characters (see attached screenshot).

    I checked the non-Unicode language from the control panel (in Windows 10) that is correctly set to US (the same language of the subs), and I tried to use a different player (I normally use Potplayer). I also tried to convert to x264 instead, but there is the same issue.

    Can you please tell me what to do?

    Thank you in advance.
    Image Attached Thumbnails Click image for larger version

Name:	Screenshot.jpg
Views:	46
Size:	15.9 KB
ID:	47855  

    Image Attached Files
    Quote Quote  
  2. .ass file is Unicode..You have to convert it to western encoding and save as ascii
    Quote Quote  
  3. Originally Posted by teodz1984 View Post
    .ass file is Unicode..You have to convert it to western encoding and save as ascii
    Thank you for the information. Can you please explain me how to do it? Do I have to convert to a different format or I just need to convert them from Unicode to ASCII?

    Are there any tools to do that?
    Quote Quote  
  4. All text in Matroska is UTF-8 and usually ASS files are as well. If it is misdetected somehow you could try to manually mux the ass file using MKVToolNix GUI. Drag&drop the ass file, select the new track and on the right side scroll to "Subtitle and chapter properties" and click the "ÅČ" button. Then try the different character sets until the preview is correct, then mux. I'd try "UTF-8" first.

    Alternatively you could use an editor like Sublime Text to add a BOM first: open the .ass file in Sublime Text (should say "UTF-8" at the bottom right), then "File"->"Save with Encoding"->"UTF-8 with BOM". Mkvmerge should then automatically detect that the file is UTF-8.


    Btw: I think this only happened because your StaxRip version is older. New ones include recent Mkvtoolnix which assumes UTF-8 for ASS files by default.
    Quote Quote  
  5. Originally Posted by sneaker View Post
    All text in Matroska is UTF-8 and usually ASS files are as well. If it is misdetected somehow you could try to manually mux the ass file using MKVToolNix GUI. Drag&drop the ass file, select the new track and on the right side scroll to "Subtitle and chapter properties" and click the "ÅČ" button. Then try the different character sets until the preview is correct, then mux. I'd try "UTF-8" first.

    Alternatively you could use an editor like Sublime Text to add a BOM first: open the .ass file in Sublime Text (should say "UTF-8" at the bottom right), then "File"->"Save with Encoding"->"UTF-8 with BOM". Mkvmerge should then automatically detect that the file is UTF-8.


    Btw: I think this only happened because your StaxRip version is older. New ones include recent Mkvtoolnix which assumes UTF-8 for ASS files by default.
    I found an easier solution using this tool, but now I am interested to understand why my version of Staxrip did not detect the subs correctly: I have installed the last stable version (1.7.0.0) that includes Mkvmerge version 15.0.0. Is this implementation just in the Beta versions?
    Quote Quote  
  6. StaxRip 1.7.0.0 (Sep-2017) was the last version released by the original author (Stax). New author (Revan654) has since picked up the project. Using UTF-8 for ASS by default is a change implemented in MKVToolNix 25.

    https://www.videohelp.com/software/StaxRip
    https://github.com/Revan654/staxrip/releases/latest
    Quote Quote  
  7. Originally Posted by sneaker View Post
    StaxRip 1.7.0.0 (Sep-2017) was the last version released by the original author (Stax). New author (Revan654) has since picked up the project, currently at 2.0.0.0 with Mkvtoolnix 28.2.0.7

    https://www.videohelp.com/software/StaxRip
    https://github.com/Revan654/staxrip
    Great! Thank you very much! I will have a look.
    Quote Quote  



Similar Threads

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