我已经研究了很长时间使用CMD进行AViSynth批量创建 AVISynth示例:
> DirectShowSource("C:\Users\...\conan848.mkv", fps=23.976, audio=false,
> convertfps=true).AssumeFPS(24000,1001)
> #deinterlace
> #crop LanczosResize(1280,720) # Lanczos (Sharp)
> #denoise
使用此Avisynth模板,只有文件路径," fps"和" AssumeFPS"更改每个文件,所以我使用mediainfo来获取这些信息 (文件夹" NHU"有13个mkv文件:Vandread 1st Stage 01,Vandread 1st Stage 02,......) - 在CMD中使用mediainfo
mediaInfo" C:\ Users ... \ NHU * .mkv" --Inform = file://mau.txt> framerate.txt
使用mau.txt:
常规;%FILENAME%
视频;%BFrameRate_Modeg%:%FrameRate / String%\ r \ n
结果文件framerate.txt
Vandread 1st Stage 01 :23.976 (24000/1001) FPS
Vandread 1st Stage 02 :23.976 (24000/1001) FPS
.....
Vandread 1st Stage 12 :23.976 (23976/1000) FPS
Vandread 1st Stage 13 :23.976 FPS
之后,我不知道如何创建批量Avisynth脚本,如: Vandread 1st Stage 01.avs,Vandread 1st Stage 02.avs,...