- 追加された行はこの色です。
- 削除された行はこの色です。
*FFMPEG USAGE [#t3e6154f]
少しずつ日本語化してます。ご協力をお願いします。
詳しい方、どんな効果があるとかオプションの引数の型とか付け足してくれるとありがたいです。
参考資料:[[FFmpeg Documentation:http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html]] [[日本語訳:http://www.himco.jp/articles/pdf/FFmpegDoc.swf]]
利用可能なフォーマット、コーデック、プロトコル &ref(format.txt);(-formats の出力ママです)
*メインオプション [#u2be261b]
[[FFMPEG USAGE]]
使い方: ffmpeg [[infile options] -i infile]... {[outfile options] outfile}...
:-L |ライセンスを表示
:-h |ヘルプを表示
:-version |バージョンを表示
:-formats |利用可能なフォーマット、コーデック、プロトコルを表示 &ref(FFMPEG USAGE/format.txt);
:-f <fmt> |強制的にfmtで指定したフォーマットを適用する
:-img <img_fmt> |強制的にimg_fmtで指定したイメージフォーマットを適用する
:-i <filename> |インプットファイル名を指定する
:-y |同名ファイルがあった場合アウトプットファイルを上書きする
:-t <duration> |変換する時間(長さ)を指定する(hh:mm:ss.ms 又は、s)
:-fs <limit_size> |ファイルサイズを制限する
:-ss <time_off> |変換開始時間をセットする(hh:mm:ss.ms 又は、s)
:-itsoffset <time_off> |インプットファイルのオフセットを指定する(±hh:mm:ss.ms 又は、±s)
:-title <string> |タイトルをセットする
:-timestamp <time> |タイムスタンプをセットする
:-author <string> |著作者名
:-copyright <string> |著作権表示
:-comment <string> |コメント
:-v <verbose> |出力されるログがとても詳細になる? ([[FFmpeg Documentation:http://ffmpeg.sourceforge.net/ffmpeg-doc.html]]にはこのオプションがないような…)
このオプションを追加すると処理状況のパーセンテージの表示が止まることがあります。
(処理はちゃんと続いています。)
:-target <type> |ターゲットのファイルタイプを指定 ("vcd", "svcd", "dvd", "dv", "pal-vcd", "ntsc-svcd", ...)
:-dframes <number> |変換するフレーム数を指定する
:-hq |ハイクオリティセッティングを有効にする
〜作者さんの意向で、各ページの最大サイズは8388608バイト規制となっているため、各オプションごとにページを分けてあります。〜
*高度なオプション [#y5365718]
-[[メインオプション:http://www.nurs.or.jp/~calcium/wiki/index.php?FFMPEG%2F%A5%E1%A5%A4%A5%F3]]
-[[ビデオオプション:http://www.nurs.or.jp/~calcium/wiki/index.php?FFMPEG%2F%A5%D3%A5%C7%A5%AA]]
-[[オーディオオプション:http://www.nurs.or.jp/~calcium/wiki/index.php?FFMPEG%2F%A5%AA%A1%BC%A5%C7%A5%A3%A5%AA]]
:-map <file:stream> |set input stream mapping (直訳:入力ストリームマッピングをセット)
:-map_meta_data <outfile:infile> |set meta data information of outfile from infile (直訳:入力Fileから出力Fileへメタ情報をセット)
:-debug |print specific debug info (直訳:正確なデバッグ情報を出力)
***コメント欄 [#xf2f5825]
:-vismv |motion vector を視覚化する(デバッグ用)
-- 1:visualize forward predicted MVs of P frames &br;2:visualize forward predicted MVs of B frames &br;4:visualize backward predicted MVs of B frames
-- 使用しません
#pcomment(below)
:-benchmark |add timings for benchmarking (直訳:ベンチマーク用にタイミングを付加する)
:-dump |dump each input packet (直訳:各入力パケットをダンプ)
:-hex |when dumping packets, also dump the payload (直訳:パケットのダンプ時にペイロードもダンプ)
-- (ペイロード:パケットからヘッダ部分を除いた、データ本体の事を指す)
:-bitexact |only use bit exact algorithms (for codec testing)
:-re |read input at native frame rate
:-loop |loop (current only works with images)
:-threads <count> |thread count(Core 2 DuoやHT対応Pentium4などマルチスレッドに対応したCPUでH264エンコードする時に効率が上がります)
:-vsync <int> |ビデオ同期方法(引数:整数。これを使ってるのみたことない)
:-async <int> |オーディオ同期方法(引数:整数。1とか1000とかがよく使われる模様)
-async 1 は特別なケースらしいのですが詳細は分かりません。分かる方は編集をお願いします。
:-copyts |入力されたファイルのタイムスタンプをそのまま出力します。
:-shortest |finish encoding within shortest input
:-ps <size> |パケットのサイズをbit単位で指定する。
:-error <rate> |指定したパケット毎にエラーを発生させる(通常は使用しません)
:-muxrate <rate> |set mux rate
:-packetsize <size> |パケットのサイズを指定する(mux)
:-muxdelay <seconds> |set the maximum demux-decode delay
:-muxpreload <seconds> |set the initial demux-decode delay
:-muxab <bitrate> |mux tag にあるオーディオのビットレート値を書き換える (in kbit/s)
機種によっては(PSPなど)このオプションによってエラーを回避できるかも知れません。
:-muxvb <bitrate> |mux tag にあるビデオのビットレート値を書き換える(in kbit/s)
機種によっては(PSPなど)このオプションによってエラーを回避できるかも知れません。
[[FFMPEG USAGE]]