CA004

"3GP_Converter034オリジナルffmpeg"と"ffmpeg rev.41062"使用


ここの設定を使用するための準備として、HE-AACのページの「NeroDigitalAudioを使ってHE-AACを作成する」
と言う項目の 1. 2. 3. 5. を実行する。

次に、4. の「mp4creator60.exe」のかわりに「MP4Box.exe」を"cores"フォルダにコピーします。

MP4Boxはバージョンの違いでエラーが出ることがあるようです。

私が使っているのはバージョン0.4.5.0です。

ffmpeg rev.41062は"ffmpeg41062"と言う名前にして"cores"フォルダに入れておく。

動画関連

ffmpegは3GP_Converter034オリジナルffmpegを使用。


[Info]
Title=CA004向け設定

[Item0]
Title=QVGA標準画質15fpsモノラル
TitleE=QVGA Normal quality 15fps Mono
Command0=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -bitexact -vcodec mpeg4 -fixaspect -s 320x240 -r 14.985 -b 190 -acodec aac -ac 1 -ar 16000 -ab 48 -f 3gp -muxvb 64 -muxab 32 "<%TemporaryFile%>.3gp""
Command1=""<%AppPath%>\cores\QT3GPPFlatten" "<%TemporaryFile%>.3gp" "<%TemporaryFile%>_2.3g2" -c QT_3GPP2_QVGA_AAC.ini"
Command2="rm "<%TemporaryFile%>.3gp""
Command3=""<%AppPath%>\cores\ATOMChanger" "<%TemporaryFile%>_2.3g2" "<%OutputFile%>.3g2" "Add_mfra.ini""
Command4="rm "<%TemporaryFile%>_2.3g2""

[Item1]
Title=2pass 16:9 --> QVGA :H264 /音声:ABR 512kbps
Command0=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -pass 1 -passlogfile "<%TemporaryFile%>" -bitexact -vcodec h264 -mbd 2 -4mv -trell -aic -s 320x180 -padtop 30 -padbottom 30 -r 24 -b 240 -an -f 3g2 -muxvb 96 "<%TemporaryFile%>_1.3g2""
Command1=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -pass 2 -passlogfile "<%TemporaryFile%>" -bitexact -vcodec h264 -mbd 2 -4mv -trell -aic -s 320x180 -padtop 30 -padbottom 30 -r 24 -b 240 -an -f 3g2 -muxvb 96 "<%TemporaryFile%>_1.3g2""
Command2=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
Command3=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -2pass -lc -br 512000 -of "<%TemporaryFile%>_1.aac""
Command4=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.3g2" -add "<%TemporaryFile%>_1.aac" -new "<%TemporaryFile%>_2.3g2""
Command5=""<%AppPath%>\cores\QT3GPPFlatten" "<%TemporaryFile%>_2.3g2" "<%TemporaryFile%>_1.3g2" -c QT_3GPP2_QVGA_AAC.ini"
Command6=""<%AppPath%>\cores\bit_ch48k" "<%TemporaryFile%>_1.3g2" "<%TemporaryFile%>_2.3g2""
Command7=""<%AppPath%>\cores\ATOMChanger" "<%TemporaryFile%>_2.3g2" "<%OutputFile%>.3g2" "Camouflage_MOVIE_for_W21SA.ini""
Command8="cmd /c "del "<%TemporaryFile%>*.*"""

[Item2]
Title=2pass 4:3 --> QVGA H264 /音声:ABR 512kbps
Command0=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -pass 1 -passlogfile "<%TemporaryFile%>" -bitexact -vcodec h264 -mbd 2 -4mv -trell -aic -s 320x240 -r 24 -b 240 -an -f 3g2 -muxvb 96 "<%TemporaryFile%>_1.3g2""
Command1=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -pass 2 -passlogfile "<%TemporaryFile%>" -bitexact -vcodec h264 -mbd 2 -4mv -trell -aic -s 320x240 -r 24 -b 240 -an -f 3g2 -muxvb 96 "<%TemporaryFile%>_1.3g2""
Command2=""<%AppPath%>\cores\ffmpeg" -y -i "<%InputFile%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
Command3=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -2pass -lc -br 512000 -of "<%TemporaryFile%>_1.aac""
Command4=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.3g2" -add "<%TemporaryFile%>_1.aac" -new "<%TemporaryFile%>_2.3g2""
Command5=""<%AppPath%>\cores\QT3GPPFlatten" "<%TemporaryFile%>_2.3g2" "<%TemporaryFile%>_1.3g2" -c QT_3GPP2_QVGA_AAC.ini"
Command6=""<%AppPath%>\cores\bit_ch48k" "<%TemporaryFile%>_1.3g2" "<%TemporaryFile%>_2.3g2""
Command7=""<%AppPath%>\cores\ATOMChanger" "<%TemporaryFile%>_2.3g2" "<%OutputFile%>.3g2" "Camouflage_MOVIE_for_W21SA.ini""
Command8="cmd /c "del "<%TemporaryFile%>*.*"""

[Item1]と[Item2]は、DVDからリッピングしたmpgやVOBファイルと、音声を
WAVEファイルに入れ換えたAVIファイルなどを対象にした設定です。

再生中に止まってしまう事があるかもしれません。
その時は音声のビットレートを448kbpsにすると良いかも?。


音声関連

お気に入りのCDの曲を携帯で、良い音で聴きたい人にお勧めの設定。

ffmpegは3GP_Converter034オリジナルffmpegとffmpeg41062を使用。 
2012-11-19 Item1を追加


変換する曲はCDからリッピングして、WAVEファイルにしておきましょう。
[Item1]はCDの曲をflacで保存している人用です。

[Info]
Title=CASIO向け設定/512kbps
Description=CASIOの携帯に向けた設定

[Item0]
Title=うたフル:ABR 512kbps /Stereo
Command0=""<%AppPath%>\cores\ffmpeg" -y -f image2 -loop -shortest -i "<%AppPath%>\cores\soundonly_%02d.jpg" -bitexact -vcodec mpeg4 -s 176x144 -r 1 -b 8 -f 3g2 "<%TemporaryFile%>_1.3g2" -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
Command1=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -2pass -lc -br 512000 -of "<%TemporaryFile%>_1.aac""
Command2=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.3g2" -add "<%TemporaryFile%>_1.aac" -new "<%TemporaryFile%>_2.3g2""
Command3=""<%AppPath%>\cores\QT3GPPFlatten" "<%TemporaryFile%>_2.3g2" "<%TemporaryFile%>_1.3g2" -c QT_3GPP2_QVGA_AAC.ini"
Command4=""<%AppPath%>\cores\bit_ch48k" "<%TemporaryFile%>_1.3g2" "<%TemporaryFile%>_2.3g2""
Command5=""<%AppPath%>\cores\ATOMChanger" "<%TemporaryFile%>_2.3g2" "<%OutputFile%>.3g2" "Camouflage_MOVIE_for_W21SA.ini""
Command6="cmd /c "del "<%TemporaryFile%>*.*"""

[Item1]
Title=flac --> 3g2 うたフル:ABR 512kbps /Stereo
Command0=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_0.wav""
Command1=""<%AppPath%>\cores\ffmpeg" -y -f image2 -loop -shortest -i "<%AppPath%>\cores\soundonly_%02d.jpg" -bitexact -vcodec mpeg4 -s 176x144 -r 1 -b 8 -f 3g2 "<%TemporaryFile%>_1.3g2" -i "<%TemporaryFile%>_0.wav" -timestamp "<%TimeStamp%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
Command2=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -2pass -lc -br 512000 -of "<%TemporaryFile%>_1.aac""
Command3=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.3g2" -add "<%TemporaryFile%>_1.aac" -new "<%TemporaryFile%>_2.3g2""
Command4=""<%AppPath%>\cores\QT3GPPFlatten" "<%TemporaryFile%>_2.3g2" "<%TemporaryFile%>_1.3g2" -c QT_3GPP2_QVGA_AAC.ini"
Command5=""<%AppPath%>\cores\bit_ch48k" "<%TemporaryFile%>_1.3g2" "<%TemporaryFile%>_2.3g2""
Command6=""<%AppPath%>\cores\ATOMChanger" "<%TemporaryFile%>_2.3g2" "<%OutputFile%>.3g2" "Camouflage_MOVIE_for_W21SA.ini""
Command7="cmd /c "del "<%TemporaryFile%>*.*"""

ffmpeg rev.41062使用 CASIO用高音質設定 (VGA再生可能な機種も含む)


  • m2tsファイルの音声部分を変換中に、プログレスバーが"0%"のままになっていても気にしないで待っていて下さい。

  • 映像部分の変換を開始すると表示されるようになります。

    [Info]
    Title=機種別設定:au by CASIO
    Description=ffmpeg rev.41062使用 CASIO用高音質設定

    [Item0]
    Title=16:9 ---> 640x480 XviD /音声 :ABR 512kbps Stereo
    Command0=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
    Command1=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -an -vcodec libxvid -vf "scale=640:360,pad=0:480:0:60:0x000000" -r 24 -b 2000k -deinterlace -top 1 -aspect 4:3 -f 3g2 "<%TemporaryFile%>_1.3g2""
    Command2=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -2pass -lc -br 512000 -of "<%TemporaryFile%>_1.aac""
    Command3=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.3g2" -add "<%TemporaryFile%>_1.aac" -new "<%TemporaryFile%>_2.3g2""
    Command4=""<%AppPath%>\cores\QT3GPPFlatten" "<%TemporaryFile%>_2.3g2" "<%TemporaryFile%>_1.3g2" -c QT_3GPP2_QVGA_AAC.ini"
    Command5=""<%AppPath%>\cores\bit_ch48k" "<%TemporaryFile%>_1.3g2" "<%TemporaryFile%>_2.3g2""
    Command6=""<%AppPath%>\cores\ATOMChanger" "<%TemporaryFile%>_2.3g2" "<%OutputFile%>.3g2" "Camouflage_MOVIE_for_W21SA.ini""
    Command7="cmd /c "del "<%TemporaryFile%>*.*"""

    [Item1]
    Title=4:3 ----> 640x480 XviD /音声 :CBR 512kbps Stereo
    Command0=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
    Command1=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -an -vcodec libxvid -s 640x480 -r 24 -b 2000k -deinterlace -top 1 -aspect 4:3 -f 3g2 "<%TemporaryFile%>_1.3g2""
    Command2=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -lc -cbr 512000 -of "<%TemporaryFile%>_1.aac""
    Command3=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.3g2" -add "<%TemporaryFile%>_1.aac" -new "<%TemporaryFile%>_2.3g2""
    Command4=""<%AppPath%>\cores\QT3GPPFlatten" "<%TemporaryFile%>_2.3g2" "<%TemporaryFile%>_1.3g2" -c QT_3GPP2_QVGA_AAC.ini"
    Command5=""<%AppPath%>\cores\bit_ch48k" "<%TemporaryFile%>_1.3g2" "<%TemporaryFile%>_2.3g2""
    Command6=""<%AppPath%>\cores\ATOMChanger" "<%TemporaryFile%>_2.3g2" "<%OutputFile%>.3g2" "Camouflage_MOVIE_for_W21SA.ini""
    Command7="cmd /c "del "<%TemporaryFile%>*.*"""

    [Item2]
    Title=16:9 ---> 320x240 XviD /音声 :ABR 512kbps Stereo
    Command0=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
    Command1=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -an -vcodec libxvid -vf "scale=320:180,pad=0:240:0:30:0x000000" -r 24 -b 250k -aspect 4:3 -f 3g2 "<%TemporaryFile%>_1.3g2""
    Command2=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -2pass -lc -br 512000 -of "<%TemporaryFile%>_1.aac""
    Command3=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.3g2" -add "<%TemporaryFile%>_1.aac" -new "<%TemporaryFile%>_2.3g2""
    Command4=""<%AppPath%>\cores\QT3GPPFlatten" "<%TemporaryFile%>_2.3g2" "<%TemporaryFile%>_1.3g2" -c QT_3GPP2_QVGA_AAC.ini"
    Command5=""<%AppPath%>\cores\bit_ch48k" "<%TemporaryFile%>_1.3g2" "<%TemporaryFile%>_2.3g2""
    Command6=""<%AppPath%>\cores\ATOMChanger" "<%TemporaryFile%>_2.3g2" "<%OutputFile%>.3g2" "Camouflage_MOVIE_for_W21SA.ini""
    Command7="cmd /c "del "<%TemporaryFile%>*.*"""

    [Item3]
    Title=4:3 ----> 320x240 XviD /音声 :CBR 512kbps Stereo
    Command0=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
    Command1=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -an -vcodec libxvid -s 320x240 -r 24 -b 250k -aspect 4:3 -f 3g2 "<%TemporaryFile%>_1.3g2""
    Command2=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -lc -cbr 512000 -of "<%TemporaryFile%>_1.aac""
    Command3=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.3g2" -add "<%TemporaryFile%>_1.aac" -new "<%TemporaryFile%>_2.3g2""
    Command4=""<%AppPath%>\cores\QT3GPPFlatten" "<%TemporaryFile%>_2.3g2" "<%TemporaryFile%>_1.3g2" -c QT_3GPP2_QVGA_AAC.ini"
    Command5=""<%AppPath%>\cores\bit_ch48k" "<%TemporaryFile%>_1.3g2" "<%TemporaryFile%>_2.3g2""
    Command6=""<%AppPath%>\cores\ATOMChanger" "<%TemporaryFile%>_2.3g2" "<%OutputFile%>.3g2" "Camouflage_MOVIE_for_W21SA.ini""
    Command7="cmd /c "del "<%TemporaryFile%>*.*"""

PC用設定 (参考)


[Item4]
Title=1920x1080 m2ts / mkv ---> 1280x720 h264 mp4 /音声 :CBR 512kbps Stereo
Command0=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
Command1=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -an -vcodec libx264 -s 1280x720 -r 29.97 -b 2500k -mixed-refs 1 -mbtree 1 -partitions pi4x4,pp8x8,pp4x4 -deinterlace -top 1 -aspect 16:9 -f mp4 "<%TemporaryFile%>_1.mp4""
Command2=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -lc -cbr 512000 -of "<%TemporaryFile%>_1.aac""
Command3=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.mp4" -add "<%TemporaryFile%>_1.aac" -new "<%OutputFile%>.mp4""
Command4="cmd /c "del "<%TemporaryFile%>*.*"""

[Item5]
Title=1920x1080 m2ts / mkv ---> 1280x720 XviD mp4 /音声 :CBR 512kbps Stereo
Command0=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -acodec pcm_s16le -ac 2 -f wav "<%TemporaryFile%>_1.wav""
Command1=""<%AppPath%>\cores\ffmpeg41062" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -an -vcodec libxvid -s 1280x720 -r 29.97 -b 2500k -deinterlace -top 1 -aspect 16:9 -f mp4 "<%TemporaryFile%>_1.mp4""
Command2=""<%AppPath%>\cores\Nero\neroAacEnc" -if "<%TemporaryFile%>_1.wav" -lc -cbr 512000 -of "<%TemporaryFile%>_1.aac""
Command3=""<%AppPath%>\cores\MP4Box" -add "<%TemporaryFile%>_1.mp4" -add "<%TemporaryFile%>_1.aac" -new "<%OutputFile%>.mp4""
Command4="cmd /c "del "<%TemporaryFile%>*.*"""

コメント欄

お名前:

コメントはありません。 コメント/CA004?


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2012-11-19 (月) 10:09:01 (2577d)