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?
+ Reply to Thread
Results 1 to 9 of 9
-
-
https://www.den4b.com/products/renamer
extract Accents.rar (772 Bytes, 0 views)
unzip C:\Users\USERPROFILENAME\Documents\den4b\ReNamer\T ranslits\Last edited by teodz1984; 29th Sep 2019 at 05:58.
-
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.
-
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? -
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")
Cu Selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
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 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 PathLast edited by teodz1984; 30th Sep 2019 at 01:47.
-
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.
Similar Threads
-
AVIsynth - Please Help!!! :(
By DiggyDre in forum RestorationReplies: 10Last Post: 14th Feb 2019, 09:13 -
How can I make a unicode srt?
By X_Splinter in forum SubtitleReplies: 5Last Post: 26th Mar 2017, 09:32 -
virtualdub don't support the unicode filename in command line..?
By flying2ndsky in forum Video ConversionReplies: 21Last Post: 23rd Jul 2016, 17:50 -
How to Convert a Unicode SRT file to bmp or idx
By rezabrando in forum SubtitleReplies: 12Last Post: 19th Jun 2015, 10:15 -
avisynth...
By zerobyte01 in forum Video ConversionReplies: 10Last Post: 3rd Oct 2014, 17:28