rAYz
2014-02-15 14:03:32 +08:00
x264 --crf 23 --preset slower --tune film -o "路径\视频流临时输出.mkv" "路径\输入视频.mp4"
ffmpeg -i "输入视频.mp4" -vn -ac 2 -f wav pipe:|neroAacEnc -ignorelength -q 0.2 -if - -of "路径\音频流临时输出.m4a"
mkvmerge -o "路径\最终输出视频.mkv" "--language" "0:und" "--forced-track" "0:no" "-d" "0" "-A" "-S" "-T" "--no-global-tags" "--no-chapters" "(" "路径\视频流临时输出.mkv" ")" "--language" "0:und" "--forced-track" "0:no" "-a" "0" "-D" "-S" "-T" "--no-global-tags" "--no-chapters" "(" "路径\音频流临时输出.m4a" ")" "--track-order" "0:0,1:0"
if exist "路径\最终输出视频.mkv" del/f/q "路径\视频流临时输出.mkv"&&del/f/q "路径\音频流临时输出.m4a"