unicode - UTF-8 source files are not supported in avisynth -
i use avisynth demux video audio. when use
x = "m.mkv" ffvideosource(x)
it work correctly when change video filename utf-8 1 , script as:
x = "م.mkv" ffvideosource(x)
i got following error: failed open hashing avisynth
i found link (utf-8 source files not supported) tell utf-8 file name not work in avisynth, , correct problem, said:
specify parameter utf8=true when calling ffvideosource, save script utf-8 without bom , see if works.
but, couldn't solve problem. open script in notepad , save in utf-8 format, got following error:
utf-8 source files not supported, re-save script ansi encoding
how can solve problem, how can run script utf-8 filename?
very common problem when using utf-8 in avisynth.
follow these steps:
1) check plugins folder. there should exist these 3 files: ffms2.dll
, ffmsindex.exe
, , ffms2.avsi
. if did not have problem ansi
, guess don't have ffms2.avsi
in plugins folder; in situation download latest version form here.
2) after make avs
file notepad++. example this:
x = "c:/users/nemat/desktop/stackoverflow/نعمت.mkv" ffmpegsource2(x,utf8=true)
please note here used ffmpegsource2()
.
3) in encoding
menu notepadd++ select encode in utf-8 without bom
.
4) save file.
5) check video file exists in addressed directory.
6) double click on avs
file.
7) enjoy it!
Comments
Post a Comment