2ちゃんねる ■掲示板に戻る■ 全部 1- 最新50    

■ このスレッドは過去ログ倉庫に格納されています

TS初心者勉強会 28頁目

19 :名無しさん@編集中:2015/03/11(水) 01:57:51.01 ID:ohspT/GT.net
ドロップしたTSファイルの音ズレを補正するバッチファイルを作成した。
===ここから===
@echo off

SET dgindex_exe="%~dp0dgindex.exe"
SET ts2aac_exe="%~dp0ts2aac.exe"
SET fixaac_exe="%~dp0fixaac.exe"

:start
if "%~1" == "" goto end
if not "%~x1" == ".ts" goto next_file

cd /d %~dp1
echo %1
%dgindex_exe% -SD=? -IA=3 -FO=2 -TN=80,c0 -OM=0 -IF=?%~1? -OF=?%~dpn1? -hide -exit
%ts2aac_exe% -i "%~nx1" -o "%~n1" -B > "%~n1.ts2aac.txt"
SET AAC=""
FOR /F "tokens=1,2* delims=:" %%i in ('type "%~n1.ts2aac.txt"') do if "%%i" == "outfile" set AAC="%%j"
if %AAC% == "" goto next_file
echo y | %fixaac_exe% "%~dpn1.d2v" %AAC%

:next_file
shift
goto start

:end
echo 完了しました
pause
ENDLOCAL
===ここまで===

総レス数 338
86 KB
新着レスの表示

掲示板に戻る 全部 前100 次100 最新50
read.cgi ver.24052200