心血来潮突然想RIP TALES系列游戏的CG MOVIE
解开PSS封包后出来大堆nnn.m2v和nnn_adpcm.wav
写好avs扔进MeGUI后生成大堆nnn.mp4 nnn_adpcm.mp4
此时问题来了 MeGUI的mp4封装并不和我意 操作Yamb又太繁琐
那么批处理大显身手的时候到了(其实是现学现卖)
mux.cmd
@echo off set OUTPUT=%2 if "%2" == "" set OUTPUT=..\(PS2)Tales_of_Destiny_2_CHT_EVENT_%1 if exist %OUTPUT%.mp4 goto exist if not exist *%1.mp4 goto err1 if not exist *%1_adpcm.mp4 goto err2 if exist *%1.mp4 rename *%1.mp4 %1.mp4 if exist *%1_adpcm.mp4 rename *%1_adpcm.mp4 %1_adpcm.mp4 "E:\WORK\Encoder\mp4box\MP4Box.exe" -add "%1.mp4:lang=jpn" -add "%1_adpcm.mp4:lang=jpn" "%OUTPUT%.mp4" && "E:\WORK\Encoder\mp4box\mp4tags.exe" -c "compress by FalconIA" "%OUTPUT%.mp4" goto end :err1 echo No such file : %1.mp4 goto end :err2 echo No such file : %1_adpcm.mp4 goto end :exist echo Output file existed : %OUTPUT%.mp4 :end
现在简单了
mux [序数] [前缀]
e.g. >mux 01 ..\(PS2)Tales_of_Rebirth_EVENT_
其实前缀都省了 修改批处理文件就OK
或者连序数都懒得输入,可用for与call合作变成全自动工作
最后清除源
clean.cmd
@echo off if "%1" == "" goto empty if "%1" == "source" goto source if "%1" == "all" goto all if exist *.%1 goto clean echo No such type files! goto end :clean if exist *.%1 del *.%1 echo Complete! goto end :all if exist *.mp4 del *.mp4 :source if exist *.m2v del *.m2v if exist *.wav del *.wav if exist *.d2v del *.d2v echo Complete! goto end :empty echo Please type expansion! goto end :end
转载请注明版权为FalconIA所有