最新版のffmpeg対応
H.264(2pass) + NeroDigitalAudio(aacgainで音量調整)
必要なファイルはこちら を参照
以下の内容のtxtファイルをリネームして Transcoding_iPod.ini を作成
[Info]
Title=機種別設定:MP4ファイル, iPod向け設定
TitleE=Model: MP4, for iPod
Description=iPodへ向けたMP4形式に変換します。
DescriptionE=for iPod
[Item0]
Title=[動画]H.264-2pass 480x360(4:3) / 映像:512kbps 29.97fps 音声:128kbps 44.1kHz St(AAC-LC)
Command0=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -an -pass 1 -passlogfile "<%TemporaryFile%>" -timestamp "<%TimeStamp%>" -s 480x360 -r 30000/1001 -vcodec libx264 -b 512k -flags +loop -cmp +chroma -partitions 0 -me_method epzs -subq 1 -trellis 0 -refs 1 -coder 0 -me_range 16 -g 100 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 512k -maxrate 10M -bufsize 10M -rc_eq "blurCplx^(1-qComp)" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 4:3 -threads 2 "<%TemporaryFile%>_1.mp4""
Command1=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -an -pass 2 -passlogfile "<%TemporaryFile%>" -timestamp "<%TimeStamp%>" -s 480x360 -r 30000/1001 -vcodec libx264 -b 512k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method umh -subq 5 -trellis 0 -refs 3 -coder 0 -me_range 16 -g 100 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 512k -maxrate 10M -bufsize 10M -rc_eq "blurCplx^(1-qComp)" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 4:3 -threads 2 "<%TemporaryFile%>_1.mp4""
Command2=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -acodec pcm_s16le -ar 44100 -ac 2 -vn -f wav "<%TemporaryFile%>.wav""
Command3=""<%AppPath%>\cores\neroAacEnc" -cbr 128000 -lc -if "<%TemporaryFile%>.wav" -of "<%TemporaryFile%>_2.mp4""
Command4=""<%AppPath%>\cores\aacgain" /r /a /c /m 4.0 "<%TemporaryFile%>_2.mp4""
Command5=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.mp4" -add "<%TemporaryFile%>_2.mp4" -new "<%OutputFile%>.mp4""
Command6=""<%AppPath%>\cores\x264_del.bat""
Command7="cmd /c "del "<%TemporaryFile%>*.*"""
[Item1]
Title=[動画]H.264-2pass 480x272(16:9) / 映像:512kbps 29.97fps 音声:128kbps 44.1kHz St(AAC-LC)
Command0=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -an -pass 1 -passlogfile "<%TemporaryFile%>" -timestamp "<%TimeStamp%>" -s 480x270 -padtop 2 -r 30000/1001 -vcodec libx264 -b 512k -flags +loop -cmp +chroma -partitions 0 -me_method epzs -subq 1 -trellis 0 -refs 1 -coder 0 -me_range 16 -g 100 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 512k -maxrate 10M -bufsize 10M -rc_eq "blurCplx^(1-qComp)" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 480:272 -threads 2 "<%TemporaryFile%>_1.mp4""
Command1=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -an -pass 2 -passlogfile "<%TemporaryFile%>" -timestamp "<%TimeStamp%>" -s 480x270 -padtop 2 -r 30000/1001 -vcodec libx264 -b 512k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method umh -subq 5 -trellis 0 -refs 3 -coder 0 -me_range 16 -g 100 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 512k -maxrate 10M -bufsize 10M -rc_eq "blurCplx^(1-qComp)" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 480:272 -threads 2 "<%TemporaryFile%>_1.mp4""
Command2=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -acodec pcm_s16le -ar 44100 -ac 2 -vn -f wav "<%TemporaryFile%>.wav""
Command3=""<%AppPath%>\cores\neroAacEnc" -cbr 128000 -lc -if "<%TemporaryFile%>.wav" -of "<%TemporaryFile%>_2.mp4""
Command4=""<%AppPath%>\cores\aacgain" /r /a /c /m 4.0 "<%TemporaryFile%>_2.mp4""
Command5=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.mp4" -add "<%TemporaryFile%>_2.mp4" -new "<%OutputFile%>.mp4""
Command6=""<%AppPath%>\cores\x264_del.bat""
Command7="cmd /c "del "<%TemporaryFile%>*.*"""
