このエントリーをはてなブックマークに追加

ドロップFFMpegで使用しているオープンソースソフト FFmpegコマンドの一覧を載せておきます。

MS-DOSから実行します。本来ダブルコーテションが不要な部分もダブルコーテションが付いています。


FFMpegはrev.13283から15413(akJ BetasとFFMpegとの相性や不具合)をお奨めします


2つ並んでいる場合は、1つめは、ffmpegレビジョン 9133用で、

2つめがffmpegのレビジョン10000ぐらい以降用です。


(携帯動画変換君付属のffmpegでは動作しないと思ってください)


書き換えが必要場所

"c:\ffmpegフォルダー\ffmpeg.exe" をffmpeg.exeが実際にあるパスに

"c:\入力.flv" を入力元の動画や音声ファイル名に

"c:\出力.flv" を出力先のファイル名に拡張子に注意


コマンド一覧

FLV1

400kbps/96kbps

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-ab" "96k" "-r" "29.97" "-ac" "2" "-ar" "44100" "-b" "400k" "-s" "320x240" "c:\出力.flv" 

DVD 4:3

5000kbps MPEG2/AC3

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "ac3" "-vcodec" "mpeg2video" "-ab" "256k" "-r" "29.97" "-aspect" "4:3" "-vcodec" "mpeg2video" "-b" "5000k" "-ar" "48000" "-ac" "2" "-acodec" "ac3" "-s" "720x480" "c:\出力.vob" 

DVD 16:9

5000kbps MPEG2/AC3

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "ac3" "-vcodec" "mpeg2video" "-ab" "256k" "-aspect" "16:9" "-r" "29.97" "-vcodec" "mpeg2video" "-ac" "2" "-ar" "48000" "-b" "5000k" "-acodec" "ac3" "-s" "720x480" "c:\出力.vob" 

MPEG1

9000kbps MPEG1/MP2

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "mp2" "-ab" "256k" "-r" "29.97" "-b" "9000k" "-ar" "48000" "-ac" "2" "-acodec" "mp2" "-s" "640x480" "c:\出力.mpg" 

Avi(xvid) 640x480

1536kbps/128kbps

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "mp3" "-vcodec" "xvid" "-ab" "128k" "-vcodec" "xvid" "-vtag" "XVID" "-b" "1536k" "-ar" "48000" "-ac" "2" "-acodec" "mp3" "-s" "640x480" "c:\出力.avi" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "libmp3lame" "-vcodec" "libxvid" "-ab" "128k" "-vcodec" "libxvid" "-vtag" "XVID" "-b" "1536k" "-ar" "48000" "-ac" "2" "-acodec" "libmp3lame" "-s" "640x480" "c:\出力.avi" 

Avi(xvid) 640x480

3072kbps/256kbps

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "mp3" "-vcodec" "xvid" "-ab" "256k" "-vcodec" "xvid" "-vtag" "XVID" "-b" "3072k" "-ar" "48000" "-ac" "2" "-acodec" "mp3" "-s" "640x480" "c:\出力.avi" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "libmp3lame" "-vcodec" "libxvid" "-ab" "256k" "-vcodec" "libxvid" "-vtag" "XVID" "-b" "3072k" "-ar" "48000" "-ac" "2" "-acodec" "libmp3lame" "-s" "640x480" "c:\出力.avi" 

Avi(msmpeg4v2) 640x480

3072kbps/256kbps

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "wmav2" "-vcodec" "msmpeg4v2" "-ab" "256k" "-vcodec" "msmpeg4v2" "-b" "3072k" "-ar" "48000" "-ac" "2" "-acodec" "wmav2" "-s" "640x480" "c:\出力.avi" 

Avi(Huffyuv) 640x480

Uncompressed for edit

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "pcm_s16le" "-vcodec" "huffyuv" "-vcodec" "huffyuv" "-ac" "2" "-ar" "48000" "-acodec" "pcm_s16le" "-s" "640x480" "c:\出力.avi" 

WMV 640x480

1500k/128k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "wmav2" "-vcodec" "wmv2" "-ab" "128k" "-vcodec" "wmv2" "-b" "1536k" "-ar" "48000" "-ac" "2" "-acodec" "wmav2" "-s" "640x480" "c:\出力.wmv" 

MPEG-4 AAC for PSP

128k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-ab" "128k" "-ac" "2" "-ar" "48000" "c:\出力.m4a" 

Advanced Audio Codec

128k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-ab" "128k" "-ac" "2" "-ar" "48000" "c:\出力.aac" 

MP2 Audio

256k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-ab" "256k" "-ar" "48000" "-ac" "2" "c:\出力.mp2" 

AC3 Audio

256k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-ab" "256k" "-ar" "48000" "-ac" "2" "c:\出力.ac3" 

LPCM 48khz 2ch


"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "s16le" "-vn" "-ar" "48000" "-ac" "2" "-vn" "c:\出力.lpcm" 

wma2 128k


"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "wmav2" "-vn" "-ab" "128k" "-ar" "48000" "-ac" "2" "-vn" "-acodec" "wmav2" "c:\出力.wma" 

wma1 128k


"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "wmav1" "-vn" "-ab" "128k" "-ar" "48000" "-ac" "2" "-vn" "-acodec" "wmav1" "c:\出力.wma" 

MP3 128kbps


"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-ab" "128k" "-ar" "48000" "-ac" "2" "c:\出力.mp3" 

Wav 48000kz 2ch


"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-ac" "2" "-ar" "48000" "c:\出力.wav" 

PSP ニコニコ低品質

H264 386k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "21" "-vcodec" "h264" "-b" "386k" "-ac" "1" "-bufsize" "4000k" "-ab" "96k" "-coder" "1" "-maxrate" "4000k" "-flags" "bitexact" "-ar" "24000" "-acodec" "aac" "-s" "320x240" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "21" "-vcodec" "libx264" "-b" "386k" "-ac" "1" "-bufsize" "4000k" "-ab" "96k" "-coder" "1" "-maxrate" "4000k" "-flags" "bitexact" "-ar" "24000" "-acodec" "libfaac" "-s" "320x240" "c:\出力.mp4" 

PSP ニコニコ中品質

H264 520k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "h264" "-ac" "1" "-qcomp" "0.60" "-qmin" "7" "-refs" "3" "-deblockbeta" "0" "-flags" "bitexact" "-ar" "48000" "-deblockalpha" "0" "-acodec" "aac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "520k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "368x272" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "libx264" "-ac" "1" "-qcomp" "0.60" "-qmin" "7" "-refs" "3" "-deblockbeta" "0" "-flags" "bitexact" "-ar" "48000" "-deblockalpha" "0" "-acodec" "libfaac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "520k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "368x272" "c:\出力.mp4" 

PSP ニコニコ高品質

H264 768k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "h264" "-ac" "2" "-qcomp" "0.60" "-qmin" "7" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "aac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "368x272" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "libx264" "-ac" "2" "-qcomp" "0.60" "-qmin" "7" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "libfaac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "368x272" "c:\出力.mp4" 

PSP Youtube

xvid 386k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "xvid" "-vcodec" "xvid" "-b" "384k" "-ac" "1" "-ab" "96k" "-coder" "1" "-flags" "bitexact" "-vtag" "mp4v" "-ar" "24000" "-acodec" "aac" "-s" "320x240" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libxvid" "-vcodec" "libxvid" "-b" "384k" "-ac" "1" "-ab" "96k" "-coder" "1" "-flags" "bitexact" "-vtag" "mp4v" "-ar" "24000" "-acodec" "libfaac" "-s" "320x240" "c:\出力.mp4" 

PSP TV高品質

h264 1536k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "h264" "-ac" "2" "-qcomp" "0.60" "-qmin" "7" "-refs" "3" "-bufsize" "10000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "10000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "aac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "1536k" "-keyint_min" "25" "-ab" "192k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "368x272" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "libx264" "-ac" "2" "-qcomp" "0.60" "-qmin" "7" "-refs" "3" "-bufsize" "10000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "10000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "libfaac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "1536k" "-keyint_min" "25" "-ab" "192k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "368x272" "c:\出力.mp4" 

PSP ニコニコ高音質

h264 386k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "21" "-vcodec" "h264" "-b" "384k" "-ac" "2" "-ab" "320k" "-coder" "1" "-flags" "bitexact" "-ar" "48000" "-acodec" "aac" "-s" "320x240" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "21" "-vcodec" "libx264" "-b" "384k" "-ac" "2" "-ab" "320k" "-coder" "1" "-flags" "bitexact" "-ar" "48000" "-acodec" "libfaac" "-s" "320x240" "c:\出力.mp4" 

PSP TV

xvid 768k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "xvid" "-vcodec" "xvid" "-b" "768k" "-ac" "2" "-ab" "96k" "-coder" "1" "-flags" "bitexact" "-vtag" "mp4v" "-ar" "48000" "-acodec" "aac" "-s" "320x240" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libxvid" "-vcodec" "libxvid" "-b" "768k" "-ac" "2" "-ab" "96k" "-coder" "1" "-flags" "bitexact" "-vtag" "mp4v" "-ar" "48000" "-acodec" "libfaac" "-s" "320x240" "c:\出力.mp4" 

PSP DVD

h264 768k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "h264" "-ac" "2" "-qcomp" "0.60" "-qmin" "7" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "aac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "480x272" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "libx264" "-ac" "2" "-qcomp" "0.60" "-qmin" "7" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "libfaac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "480x272" "c:\出力.mp4" 

PSP 変換速度重視

xvid 386k

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "xvid" "-vcodec" "xvid" "-b" "384k" "-ac" "1" "-ab" "64k" "-coder" "1" "-flags" "bitexact" "-vtag" "mp4v" "-ar" "48000" "-acodec" "aac" "-s" "160x128" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libxvid" "-vcodec" "libxvid" "-b" "384k" "-ac" "1" "-ab" "64k" "-coder" "1" "-flags" "bitexact" "-vtag" "mp4v" "-ar" "48000" "-acodec" "libfaac" "-s" "160x128" "c:\出力.mp4" 

PSP Zoomed(640x480用)高画質

640x480(4:3) --> 640x360(16:9) -->480x270

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "h264" "-croptop" "60" "-ac" "2" "-cropbottom" "60" "-qmin" "7" "-qcomp" "0.60" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "aac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "480x270" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "libx264" "-croptop" "60" "-ac" "2" "-cropbottom" "60" "-qmin" "7" "-qcomp" "0.60" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "libfaac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "480x270" "c:\出力.mp4" 

PSP Zoomed(512x384用)高画質

512x384(4:3) --> 512x288(16:9) -->480x270

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "h264" "-croptop" "48" "-ac" "2" "-cropbottom" "48" "-qmin" "7" "-qcomp" "0.60" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "aac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "480x270" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "libx264" "-croptop" "48" "-ac" "2" "-cropbottom" "48" "-qmin" "7" "-qcomp" "0.60" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "libfaac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "480x270" "c:\出力.mp4" 

PSP Zoomed(320x240用)高画質

320x240(4:3) --> 320x180(16:9) -->480x270

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "h264" "-croptop" "30" "-ac" "2" "-cropbottom" "30" "-qmin" "7" "-qcomp" "0.60" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "aac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "480x270" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "30" "-sc_threshold" "40" "-partitions" "partp8x8+partb8x8" "-me_range" "21" "-subq" "6" "-vcodec" "libx264" "-croptop" "30" "-ac" "2" "-cropbottom" "30" "-qmin" "7" "-qcomp" "0.60" "-refs" "3" "-bufsize" "4000k" "-deblockbeta" "0" "-flags" "bitexact" "-maxrate" "4000k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "libfaac" "-chroma" "1" "-rc_eq" "blurCplx^(1-qComp)" "-slice" "2" "-me" "umh" "-g" "250" "-b" "768k" "-keyint_min" "25" "-ab" "128k" "-brdo" "1" "-coder" "1" "-loop" "1" "-qmax" "35" "-s" "480x270" "c:\出力.mp4" 

PSP Zoomed(640x480用)

640x480(4:3) --> 640x360(16:9) -->480x270

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "21" "-r" "29.97" "-vcodec" "h264" "-croptop" "60" "-b" "768k" "-ac" "2" "-cropbottom" "60" "-bufsize" "224k" "-ab" "128k" "-coder" "1" "-flags" "+bitexact" "-maxrate" "768k" "-ar" "48000" "-acodec" "aac" "-s" "480x270" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "21" "-r" "29.97" "-vcodec" "libx264" "-croptop" "60" "-b" "768k" "-ac" "2" "-cropbottom" "60" "-bufsize" "224k" "-ab" "128k" "-coder" "1" "-flags" "+bitexact" "-maxrate" "768k" "-ar" "48000" "-acodec" "libfaac" "-s" "480x270" "c:\出力.mp4" 

PSP Zoomed(512x384用)

512x384(4:3) --> 512x288(16:9) -->480x270

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "21" "-r" "29.97" "-vcodec" "h264" "-croptop" "48" "-b" "768k" "-ac" "2" "-cropbottom" "48" "-bufsize" "224k" "-ab" "128k" "-coder" "1" "-flags" "+bitexact" "-maxrate" "768k" "-ar" "48000" "-acodec" "aac" "-s" "480x270" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "21" "-r" "29.97" "-vcodec" "libx264" "-croptop" "48" "-b" "768k" "-ac" "2" "-cropbottom" "48" "-bufsize" "224k" "-ab" "128k" "-coder" "1" "-flags" "+bitexact" "-maxrate" "768k" "-ar" "48000" "-acodec" "libfaac" "-s" "480x270" "c:\出力.mp4" 

PSP Zoomed(320x240用)

320x240(4:3) --> 320x180(16:9) -->480x270

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "aac" "-vcodec" "h264" "-level" "21" "-r" "29.97" "-vcodec" "h264" "-croptop" "30" "-b" "768k" "-ac" "2" "-cropbottom" "30" "-bufsize" "224k" "-ab" "128k" "-coder" "1" "-flags" "+bitexact" "-maxrate" "768k" "-ar" "48000" "-acodec" "aac" "-s" "480x270" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "21" "-r" "29.97" "-vcodec" "libx264" "-croptop" "30" "-b" "768k" "-ac" "2" "-cropbottom" "30" "-bufsize" "224k" "-ab" "128k" "-coder" "1" "-flags" "+bitexact" "-maxrate" "768k" "-ar" "48000" "-acodec" "libfaac" "-s" "480x270" "c:\出力.mp4" 

16:9を4:3変換;720x480(16:9) ->(PAD)->640x480(4:3)

XVID 3000kbps/256kbps

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "mp3" "-vcodec" "xvid" "-vcodec" "xvid" "-b" "3072k" "-ac" "2" "-ab" "256k" "-padtop" "60" "-vtag" "XVID" "-ar" "48000" "-padbottom" "60" "-acodec" "mp3" "-s" "640x360" "c:\出力.avi" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "libmp3lame" "-vcodec" "libxvid" "-vcodec" "libxvid" "-b" "3072k" "-ac" "2" "-ab" "256k" "-padtop" "60" "-vtag" "XVID" "-ar" "48000" "-padbottom" "60" "-acodec" "libmp3lame" "-s" "640x360" "c:\出力.avi" 

16:9を4:3変換;720x480(16:9) ->(Crop)-> 640x480(4:3)

XVID 3000kbps/256kbps

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "mp3" "-vcodec" "xvid" "-cropright" "88" "-vcodec" "xvid" "-cropleft" "88" "-ac" "2" "-b" "3072k" "-ab" "256k" "--s 640x480" "1" "-vtag" "XVID" "-ar" "48000" "-acodec" "mp3" "c:\出力.avi" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "libmp3lame" "-vcodec" "libxvid" "-cropright" "88" "-vcodec" "libxvid" "-cropleft" "88" "-ac" "2" "-b" "3072k" "-ab" "256k" "--s 640x480" "1" "-vtag" "XVID" "-ar" "48000" "-acodec" "libmp3lame" "c:\出力.avi" 

16:9を4:3変換;ニコニコ:512x288(16:9) ->(PAD)->512x384(4:3)

XVID 1536kbps/ MP3 128kbps

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "mp3" "-vcodec" "xvid" "-ab" "128k" "-padtop" "48" "-vcodec" "xvid" "-vtag" "XVID" "-padbottom" "48" "-ar" "48000" "-ac" "2" "-b" "1536k" "-acodec" "mp3" "c:\出力.avi" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "libmp3lame" "-vcodec" "libxvid" "-ab" "128k" "-padtop" "48" "-vcodec" "libxvid" "-vtag" "XVID" "-padbottom" "48" "-ar" "48000" "-ac" "2" "-b" "1536k" "-acodec" "libmp3lame" "c:\出力.avi" 

16:9を4:3変換;ニコニコ:512x288(16:9) ->(Crop)->384x288(4:3)

XVID 1536kbps/ MP3 128kbps

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "mp3" "-vcodec" "xvid" "-cropright" "64" "-ab" "128k" "-vcodec" "xvid" "-cropleft" "64" "-vtag" "XVID" "-b" "1536k" "-ar" "48000" "-ac" "2" "-acodec" "mp3" "c:\出力.avi" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "libmp3lame" "-vcodec" "libxvid" "-cropright" "64" "-ab" "128k" "-vcodec" "libxvid" "-cropleft" "64" "-vtag" "XVID" "-b" "1536k" "-ar" "48000" "-ac" "2" "-acodec" "libmp3lame" "c:\出力.avi" 

4:3を16:9変換:640x480(4:3) ->(PAD)->848x480(16:9)

XVID 3000kbps/256kbps

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "mp3" "-vcodec" "xvid" "-vcodec" "xvid" "-b" "3072k" "-ac" "2" "-ab" "256k" "-padleft" "104" "-vtag" "XVID" "-ar" "48000" "-padright" "104" "-acodec" "mp3" "-s" "640x480" "c:\出力.avi" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "libmp3lame" "-vcodec" "libxvid" "-vcodec" "libxvid" "-b" "3072k" "-ac" "2" "-ab" "256k" "-padleft" "104" "-vtag" "XVID" "-ar" "48000" "-padright" "104" "-acodec" "libmp3lame" "-s" "640x480" "c:\出力.avi" 

ファイル修復・簡易編集 Avi

映像・音声をCopyで修復・時間を指定して簡易編集

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "copy" "-vcodec" "copy" "-vcodec" "copy" "-acodec" "copy" "c:\出力.avi" 

ファイル修復・簡易編集 WMV

映像・音声をCopyで修復・時間を指定して簡易編集

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "copy" "-vcodec" "copy" "-vcodec" "copy" "-acodec" "copy" "c:\出力.wmv" 

ファイル修復・簡易編集 VOB/MPEG

映像・音声をCopyで修復・時間を指定して簡易編集

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "copy" "-vcodec" "copy" "-vcodec" "copy" "-acodec" "copy" "c:\出力.vob" 

ファイル修復・簡易編集 PSP(MP4)

映像・音声をCopyで修復・時間を指定して簡易編集

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "psp" "-acodec" "copy" "-vcodec" "copy" "-vcodec" "copy" "-acodec" "copy" "c:\出力.mp4" 

ファイル修復・簡易編集 MP3

映像・音声をCopyで修復・時間を指定して簡易編集

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "copy" "-vcodec" "copy" "-vcodec" "copy" "-acodec" "copy" "c:\出力.mp3" 

ipod h264 320x240( 768k)


"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "aac" "-vcodec" "h264" "-level" "13" "-r" "29.97" "-vcodec" "h264" "-b" "768k" "-ac" "2" "-bufsize" "224k" "-ab" "128k" "-maxrate" "768k" "-ar" "48000" "-acodec" "aac" "-s" "320x240" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "13" "-r" "29.97" "-vcodec" "libx264" "-b" "768k" "-ac" "2" "-bufsize" "224k" "-ab" "128k" "-maxrate" "768k" "-ar" "48000" "-acodec" "libfaac" "-s" "320x240" "c:\出力.mp4" 

ipod xvid 320x240( 768k)


"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "aac" "-vcodec" "xvid" "-level" "13" "-r" "29.97" "-vcodec" "xvid" "-b" "768k" "-ac" "2" "-bufsize" "224k" "-ab" "128k" "-maxrate" "768k" "-ar" "48000" "-acodec" "aac" "-s" "320x240" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "libfaac" "-vcodec" "libxvid" "-level" "13" "-r" "29.97" "-vcodec" "libxvid" "-b" "768k" "-ac" "2" "-bufsize" "224k" "-ab" "128k" "-maxrate" "768k" "-ar" "48000" "-acodec" "libfaac" "-s" "320x240" "c:\出力.mp4" 

iPod h264 640x480(1500k)

変換後に、オープンソースソフト AtomicParsleyで更新する必要があります

thanks

https://help.ubuntu.com/community/iPodVideoEncoding

"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "mp4" "-acodec" "aac" "-vcodec" "h264" "-level" "30" "-sc_threshold" "40" "-partitions" "+parti4x4+partp8x8" "-max_b_frames" "0" "-me_range" "21" "-subq" "6" "-vcodec" "h264" "-i_qfactor" "0.71428572" "-ac" "2" "-qcomp" "0.7" "-refs" "1" "-bufsize" "224k" "-deblockbeta" "0" "-qdiff" "4" "-maxrate" "1500k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "aac" "-chroma" "1" "-rc_eq" ""blurCplx^(1-qComp)"" "-r" "ntsc" "-slice" "2" "-me" "full" "-g" "300" "-b" "1500k" "-keyint_min" "30" "-ab" "160k" "-aspect" "4:3" "-bt" "175k" "-loop" "1" "-cmp" "1" "-qmax" "51" "-s" "640x480" "c:\出力.mp4" 
"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-f" "mp4" "-acodec" "libfaac" "-vcodec" "libx264" "-level" "30" "-sc_threshold" "40" "-partitions" "+parti4x4+partp8x8" "-max_b_frames" "0" "-me_range" "21" "-subq" "6" "-vcodec" "libx264" "-i_qfactor" "0.71428572" "-ac" "2" "-qcomp" "0.7" "-refs" "1" "-bufsize" "224k" "-deblockbeta" "0" "-qdiff" "4" "-maxrate" "1500k" "-ar" "48000" "-deblockalpha" "0" "-acodec" "libfaac" "-chroma" "1" "-rc_eq" ""blurCplx^(1-qComp)"" "-r" "ntsc" "-slice" "2" "-me" "full" "-g" "300" "-b" "1500k" "-keyint_min" "30" "-ab" "160k" "-aspect" "4:3" "-bt" "175k" "-loop" "1" "-cmp" "1" "-qmax" "51" "-s" "640x480" "c:\出力.mp4" 

Gigabeat WMV

Gigabeatテスト用

変換後にasfbin.exeで以下のコマンドでindexします

asfbin -sionly -i 入力ファイル -o 出力ファイル


"c:\ffmpegフォルダー\ffmpeg.exe" "-y" "-i" "c:\入力.flv" "-acodec" "wmav2" "-vcodec" "wmv2" "-ab" "128k" "-vcodec" "wmv2" "-ac" "2" "-ar" "44100" "-b" "700k" "-acodec" "wmav2" "-s" "320x240" "c:\出力.wmv" 

サイト
Android情報サイト | Youtube サイト | Java サイト | Google 活用サイト | Google 情報サイト | 無料ソフト活用 サイト |写真活用のPicasa2 サイト |新サイト

Blog
Android ブログ


Copyright (c)2004 - 2012 Aki. All rights reserved.