级别: 骑士
- 注册时间:
- 2008-10-06
- 在线时间:
- 115小时
- 发帖:
- 319
|
引用 最初由 ssnake 发布 https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk/src/filters/transform/VSFilter/plugins.cpp
- extern "C" __declspec(dllexport) const char* __stdcall AvisynthPluginInit2(IScriptEnvironment* env)
- {
- env->AddFunction("VobSub", "cs", VobSubCreateS, 0);
- #ifdef _VSMOD
- env->AddFunction("TextSubMod", "c[file]s[charset]i[fps]f[vfr]s", TextSubCreateGeneral, 0);
- env->AddFunction("TextSubModSwapUV", "b", TextSubSwapUV, 0);
- env->AddFunction("MaskSubMod", "[file]s[width]i[height]i[fps]f[length]i[charset]i[vfr]s", MaskSubCreate, 0);
- #else
- env->AddFunction("TextSub", "c[file]s[charset]i[fps]f[vfr]s", TextSubCreateGeneral, 0);
- env->AddFunction("TextSubSwapUV", "b", TextSubSwapUV, 0);
- env->AddFunction("MaskSub", "[file]s[width]i[height]i[fps]f[length]i[charset]i[vfr]s", MaskSubCreate, 0);
- #endif
- env->SetVar(env->SaveString("RGBA"),false);
- return(NULL);
- }
http://vsfiltermod.googlecode.com/svn/trunk/src/vsfilter/plugins.cpp
- extern "C" __declspec(dllexport) const char* __stdcall AvisynthPluginInit2(IScriptEnvironment* env)
- {
- env->AddFunction("VobSub", "cs", VobSubCreateS, 0);
- #ifdef _VSMOD
- env->AddFunction("TextSubMod", "c[file]s[charset]i[fps]f[vfr]s", TextSubCreateGeneral, 0);
- env->AddFunction("TextSubModSwapUV", "b", TextSubSwapUV, 0);
- env->AddFunction("MaskSubMod", "[file]s[width]i[height]i[fps]f[length]i[charset]i[vfr]s", MaskSubCreate, 0);
- #else
- env->AddFunction("TextSub", "c[file]s[charset]i[fps]f[vfr]s", TextSubCreateGeneral, 0);
- env->AddFunction("TextSubSwapUV", "b", TextSubSwapUV, 0);
- env->AddFunction("MaskSub", "[file]s[width]i[height]i[fps]f[length]i[charset]i[vfr]s", MaskSubCreate, 0);
- #endif
- env->SetVar(env->SaveString("RGBA"), false);
- return(NULL);
- }
没看到PAR compensation的相关参数啊
一樣沒看到textsub裡面的PAR compensation 又不想在對視頻源處理之前掛字幕 試了下在ass的頭部修改Video Aspect Ratio也沒用(這個是不是只是給aegisub做標識的?)
|