VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. I have some videos with unicode filenames which avisynth won't work with unless I change the filename. There aren't many but they are spread randomly throughout 1000 videos and they keep messing up my workflow as several apps besides avisynth also have problems with unicode. Is there a way to isolate these files in a different folder or a program that can autoconvert unicode characters to the nearest ANSI one?
    Quote Quote  
  2. https://www.den4b.com/products/renamer

    extract Accents.rar (772 Bytes, 0 views)


    unzip C:\Users\USERPROFILENAME\Documents\den4b\ReNamer\T ranslits\
    Image Attached Files
    Last edited by teodz1984; 29th Sep 2019 at 05:58.
    Quote Quote  
  3. That won't get all of them, there's way more unicode characters than that.
    Quote Quote  
  4. what language?

    mayve you can get a filelist and convert it to ascii with
    https://onlineasciitools.com/convert-unicode-to-ascii


    The results are not pretty tho..
    Last edited by teodz1984; 29th Sep 2019 at 09:25.
    Quote Quote  
  5. delete
    Last edited by teodz1984; 29th Sep 2019 at 09:27.
    Quote Quote  
  6. Originally Posted by teodz1984 View Post
    what language?

    mayve you can get a filelist and convert it to ascii with
    https://onlineasciitools.com/convert-unicode-to-ascii


    The results are not pretty tho..
    Several languages. I see some chinese text, some japanese, some arabic, some cyrillic. That online tool doesn't do its job, it still leaves several characters that aren't recognized. 9F00 and 8E00 are examples.

    My two options are either segregate the videos with weird filenames so they don't interfere with the workflow or batch-fix all the filenames so they contain only normal characters. Which is less of a hassle?
    Quote Quote  
  7. Why not modify the '8.3'/short filenames in Avisynth? (that's how I do it in Hybrid) ?
    In case you use a Windows batch script simply get the short file name and use that instead of the original name.
    (see: https://superuser.com/questions/348079/how-can-i-find-the-short-path-of-a-windows-directory-file)

    So in my generated AvisynthScripts I use for example:
    Code:
    # loading source: F:\TestClips&Co\files\languageTest\Администратор\ドラマ] ブラッディ・マンデイ 第01話 「日本最後の日.flv
    FFVideoSource("F:\TESTCL~1\files\LANGUA~1\836D~1\_01~1.FLV",cachefile="E:\Temp\flv_da907b9a0d4e62213c4484003598c170_853323747_1_0.ffindex",colorspace="YV12")
    -> no need to rename the file, just adjust the script

    Cu Selur
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  8. Use this to generate the short names with path
    https://www.majorgeeks.com/files/details/path_copy_copy.html

    Path Copy Copy permits the easy copying of file or folder names and paths with seamless integration to the right-click context menu.

    Path Copy Copy is displayed from a nicely organized menu with a few configuration settings available to fine-tune it to your preferences and scope of use. For instance, you have the option to copy the short or long name and path, parent folder location, UNC directory, the Internet path, Unix path, among others. You can also create our custom commands and direct Path Copy Copy to always display the submenu, add quotes, encode whitespace, show icon next to submenu and several others.

    File Copy Copy supports the following copy formats:

    -Copy Short Name
    -Copy Long Name
    -Copy Short Path
    -Copy Long Path
    -Copy Short Parent Folder Path
    -Copy Long Parent Folder Path
    -Copy Short UNC Path
    -Copy Long UNC Path
    -Copy Short UNC Parent Folder Path
    -Copy Long UNC Parent Folder Path
    -Copy Internet Path
    -Copy Unix Path
    -Copy Cygwin Path
    Last edited by teodz1984; 30th Sep 2019 at 01:47.
    Quote Quote  
  9. Clever, I didn't know that could be done. Thanks guys.

    Thanks teodz1984 for den4b renamer, it's a better one than obsolete Oscar's.
    Quote Quote  



Similar Threads

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