$ /Users/ageha07/Desktop/ffmpeg_SVN-r8028u
FFmpeg version SVN-r8028, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --cross-compile --arch=powerpc --cpu=G4 --enable-static --disable-shared
--enable-gpl --disable-vhook --disable-ffserver --disable-ffplay --enable-amr_nb --enable-amr_wb
--enable-pp --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libdts --enable-liba52
--enable-libogg --enable-libvorbis --enable-libtheora --enable-xvid --enable-x264
libavutil version: 49.3.0
libavcodec version: 51.33.0
libavformat version: 51.10.0
built on Feb 20 2007 05:58:55, gcc: 4.0.1 (Apple Computer, Inc. build 5367)
usage: ffmpeg [[infile options] -i infile]... {[outfile options] outfile}...
Hyper fast Audio and Video encoder
-L | ライセン スを表示 |
-h | help を表示(*オプション抜き実行で出る*) |
-version | version を表示 |
-formats | 利 用できるformats, codecs, protocols, ...などを表示 |
-f fmt | 特 定フォーマットの使用を強制 |
-i filename | 入 力ファイル名 |
-y | 出 力ファイルを上書き |
-t duration | 録 画時間(*recording time*)を指定 |
-fs limit_size | ファイルサイズの上限を指定 |
-ss time_off | 開始時刻のオフセットを指定 |
-itsoffset time_off | set the input ts offset(*不詳*) |
-title string | タイトルを文字列で指定 |
-timestamp time | タイムスタンプを指定 |
-author string | 著作者を文字列で指定 |
-copyright string | コピーライトを文字列で指定 |
-comment string | コメントを文字列で指定 |
-album string | アルバム名を文字列で指定 |
-v verbose | ロ グ表示の量を指定 |
-target type | ターゲットファイルタイプを指定 ("vcd", "svcd", "dvd", "dv", "dv50", "pal-vcd", "ntsc-svcd", ...) |
-dframes number | recordするデータフレームの数を指定 |
-scodec codec | 特定の字幕コデックを強制 ('copy' to copy stream) |
-newsubtitle | 現在の出力ストリームに新しい字幕ストリームを追加 |
-slang code | 現 在の字幕ストリームにISO 639 language code (3 letters) を指定 |
-vframes number | record するビデオフレーム数の指定 |
-r rate | フ
レームレートの指定 (Hz value, 分数,または簡略形 (*29.97 などを正確な分数値に内部変換するとおもわれ*) ) |
-s size | フ レームサイズの指定 (WxH または簡略形) |
-aspect aspect | アスペクトレシオ指定 (4:3, 16:9 or 1.3333, 1.7777) |
-croptop size | クロップ幅上 (in pixels) |
-cropbottom size | クロップ幅下 (in pixels) |
-cropleft size | クロップ幅左 (in pixels) |
-cropright size | クロップ幅右 (in pixels) |
-padtop size | set top pad band size (in pixels)(*不詳*) |
-padbottom size | set bottom pad band size (in pixels)(*不詳*) |
-padleft size | set left pad band size (in pixels)(*不詳*) |
-padright size | set right pad band size (in pixels)(*不詳*) |
-padcolor color | set color of pad bands (Hex 000000 thru FFFFFF)(*不詳*) |
-vn | ビ デオのdisable |
-vcodec codec | 特定コデックの強制 ('copy' to copy stream) |
-sameq | 素 材に等しい画質にする (VBRになる) |
-pass n | pass 番号の選択 (1 or 2) |
-passlogfile file | 2パスログファイル名の指定 |
-newvideo | 現 在の出力ストリームに新しいビデオストリームを追加 |
-pix_fmt format | ピ クセル・フォーマットの指定(*不詳*) |
-intra | イ ントラフレーム(*Iフレーム*)し か使わない |
-vdt n | discard threshold(*閾値を破棄?*) |
-qscale q | 映 像を固定量子化エンコード (VBR) |
-qdiff q | max difference between the quantizer scale (VBR)(*量子化スケールの最大幅?*) |
-rc_eq equation | レートコントロール方式を式で指定 |
-rc_override override | rate control override for specific intervals(*不詳*) |
-me method | 動 き予測方式の選択 |
-me_threshold | 動き予測の閾値 |
-strict strictness | 規格適合性を尊重する度合い |
-deinterlace | インターレース解除 |
-psnr | 圧 縮されたフレームのPSNRを算出 |
-vstats | 映 像符号化の統計をファイルにダンプ |
-vhook module | insert video processing module(*不詳*) |
-intra_matrix matrix | specify intra matrix coeffs |
-inter_matrix matrix | specify inter matrix coeffs |
-top | top=1/bottom=0/auto=-1 field first(*インターレースの フィールドオーダー指定?*) |
-dc precision | intra_dc_precision(*不詳*) |
-vtag fourcc/tag | force video tag/fourcc(*ビデオタグまたはfourccの強制*) |
-qphist | QP ヒストグラムの表示 |
-vbsf | bitstream filter (*不詳*) |
-aframes number | record するオーディオ・フレーム数を指定 |
-ab bitrate | オー ディオ・ビットレートを指定 (in kbit/s) |
-aq quality | オー ディオの品質を指定 (各codecによる) |
-ar rate | サ ンプリング・レートを指定 (in Hz) |
-ac channels | 音声チャンネル数の指定 |
-an | オー ディオをdisable |
-acodec codec | 音声コデックの強制 ('copy' to copy stream) |
-vol volume | 音 声ボリュームの変更 (256=normal) |
-newaudio | 現 在の出力ストリームに新しいオーディオストリームを追加 |
-alang code | 現在のオーディオストリームにISO 639 language code (3 letters)を指定 |
-atag fourcc/tag | オー ディオタグ/fourccの強制 |
-absf | bitstream filter(*不詳*) |
-scodec codec | 字 幕コデックの強制 ('copy' to copy stream) |
-newsubtitle | 現在の出力ストリームに新しい字幕ストリームを追加 |
-slang code | 現 在の字幕ストリームにISO 639 language code (3 letters) を指定 |
-vc channel | ビデオ・グラブ・チャンネルの指定 (DV1394 only) |
-tvstd standard | テレビ規格の指定 (NTSC, PAL (SECAM)) |
-isync | sync read on input |
-map file:stream[:syncfile:syncstream] | 入力ストリームのマッピングを指定 |
-map_meta_data outfile:infile | 入力ファイルをもとに出力ファイルに書き込むメタデータ情報を指定 |
-benchmark | add timings for benchmarking(* どう訳すのだこれわ*) |
-dump | 各 入力パケットをダンプ |
-hex | パ ケットをダンプする際にペイロードもダンプ |
-re | 入 力をネイティブ・フレームレートで読み込む |
-loop_input | ルー プ(今のところ静止画のみ対応) |
-loop_output | ループをサポートしているフォーマットでループ回数を指定(0で無限ループ) |
-threads count | thread count(*不詳*) |
-vsync | ビ デオ同期方式 |
-async | オー ディオ同期方式 |
-vglobal | ビ デオのグローバルヘッダの保存タイプ |
-copyts | タ イムスタンプのコピー |
-shortest | finish encoding within shortest input(* 不詳*) |
-dts_delta_threshold | timestamp discontinuity delta threshold(*不詳*) |
-ps size | パ ケットサイズを指定。単位bits |
-muxdelay seconds | demux-decode delayの最大値指定 |
-muxpreload seconds | demux-decode delayのイニシャル値指定 |
※各AVコデック固有と思しきオプションがフラットに並んでいる。Advanced Video options:を含め、重複もある。各規格・符号化理論・数学に精通してないと厳しい印象(携帯動画変換君のプリセットは2chの総当たり戦の成果)。
※手許で重視しているx264オプションのうち、(no)b_adapt、(no)bime、(no)dct_decimate、cqm相当品が見当たらない。
オプション | 指定値 | 用途 | 説明 | メモ | -x264encopts |
-b | <int> | E.VA. | set video bitrate (in bits/s) ビデオビットレートの指定 |
bitrate | |
-bt | <int> | E.V.. | set video bitrate tolerance (in bits/s) | ||
-flags | <flags> | EDVA. | |||
mv4 | E.V.. | use four motion vector by macroblock (mpeg4) | |||
obmc | E.V.. | use overlapped block motion compensation (h263+) オーバーラップド・マクロブロック補償 |
|||
qpel | E.V.. | use 1/4 pel motion compensation 1/4ピクセル精度動き補償 |
|||
loop | E.V.. | use loop filter ループフィルタ |
(no)deblock | ||
gmc | E.V.. | use gmc グローバル動き補償 |
|||
mv0 | E.V.. | always try a mb with mv=<0,0> | |||
part | E.V.. | use data partitioning | |||
gray | EDV.. | only decode/encode grayscale グレイスケールのエンコード/デコード |
|||
psnr | E.V.. | error[?] variables will be set during encoding | *意味不明* 説明が間違いか、PSNRベースのレートコントロールなら無意味なハズだが? | (no)psnr | |
naq | E.V.. | normalize adaptive quantization 適応的量子化のノーマライズ |
|||
ildct | E.V.. | use interlaced dct インターレース対応DCT |
|||
low_delay | EDV.. | force low delay | |||
alt | E.V.. | enable alternate scantable (mpeg2/mpeg4) | |||
trell | E.V.. | use trellis quantization 適応量子化の一種 |
trellisは後でもういっこ出て来る | trellis | |
bitexact | EDVAS | use only bitexact stuff (except (i)dct) | 携帯電話で必要(MPEG ExporterTNGブログ )、うまくいくためのおまじないのようなもの(携帯動画変換君wiki)、なんらかの誤差を産む要素を完全に除外するデバッグ目的のもの(自分の印象) | ||
aic | E.V.. | h263 advanced intra coding / mpeg4 ac prediction | |||
umv | E.V.. | use unlimited motion vectors 無限モーションベクトル |
|||
cbp | E.V.. | use rate distortion optimization for cbp cbpのrdo |
|||
qprd | E.V.. | use rate distortion optimization for qp selection qp選択にrdoを使う |
|||
aiv | E.V.. | h263 alternative inter vlc | |||
slice | E.V.. | ||||
ilme | E.V.. | interlaced motion estimation | |||
scan_offset | E.V.. | will reserve space for svcd scan offset user data | |||
cgop | E.V.. | closed gop クローズドGOP |
|||
-me_method | <int> | E.V.. | set motion estimation method 動き予測の方式を指定 |
me | |
-g | <int> | E.V.. | set the group of picture size GOPサイズの指定 |
||
-cutoff | <int> | E..A. | set cutoff bandwidth | ||
-frame_size | <int> | E..A. | |||
-qcomp | <float> | E.V.. | video quantizer scale compression (VBR) 量子化スケーリングの圧縮 |
qcomp | |
-qblur | <float> | E.V.. | video quantizer scale blur (VBR) 量子化値の変動幅調整(なだらかにしたり急激にしたり) |
qblur | |
-qmin | <int> | E.V.. | min video quantizer scale (VBR) 最小量子化値 |
qp_min | |
-qmax | <int> | E.V.. | max video quantizer scale (VBR) 最大量子化値 |
qp_max | |
-qdiff | <int> | E.V.. | max difference between the quantizer scale (VBR) 量子化スケールの最大幅 |
qp_stepか? | |
-bf | <int> | E.V.. | use frames' B frames Bフレーム数 |
bframes | |
-b_qfactor | <float> | E.V.. | qp factor between p and b frames PとBの量子化値の換算係数(比率) |
-b_qoffsetも参照 | pb_factor |
-rc_strategy | <int> | E.V.. | ratecontrol method レートコントロールの方式 |
||
-b_strategy | <int> | E.V.. | strategy to choose between I/P/B-frames I/P/B選択の方針 |
||
-hurry_up | <int> | .DV.. | |||
-bug | <flags> | .DV.. | workaround not auto detected encoder bugs 自動検出できないエンコーダのバグをなんとかする弥縫策 |
||
autodetect | .DV.. | ||||
old_msmpeg4 | .DV.. | some old lavc generated msmpeg4v3 files (no autodetection) | |||
xvid_ilace | .DV.. | Xvid interlacing bug (autodetected if fourcc==XVIX) | |||
ump4 | .DV.. | (autodetected if fourcc==UMP4) | |||
no_padding | .DV.. | padding bug (autodetected) | |||
amv | .DV.. | ||||
ac_vlc | .DV.. | illegal vlc bug (autodetected per fourcc) | |||
qpel_chroma | .DV.. | ||||
std_qpel | .DV.. | old standard qpel (autodetected per fourcc/version) | |||
qpel_chroma2 | .DV.. | ||||
direct_blocksize | .DV.. | direct-qpel-blocksize bug (autodetected per fourcc/version) | |||
edge | .DV.. | edge padding bug (autodetected per fourcc/version) | |||
hpel_chroma | .DV.. | ||||
dc_clip | .DV.. | ||||
ms | .DV.. | workaround various bugs in microsofts broken decoders | |||
-lelim | <int> | E.V.. | single coefficient elimination threshold for luminance (negative values also consider dc coefficient) | 所謂サイコビジュアルエンハンスメント | |
-celim | <int> | E.V.. | single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) | 同上 | |
-strict | <int> | .DVA. | how strictly to follow the standards どの程度規格を遵守するか |
||
very | E.V.. | strictly conform to a older more strict version of the spec or reference software | |||
strict | E.V.. | strictly conform to all the things in the spec no matter what consequences | |||
normal | E.V.. | ||||
inofficial | E.V.. | allow inofficial extensions 非公式な拡張を許容 |
|||
experimental | E.V.. | allow non standarized experimental things 規格化されていない試験的機能を許容 |
|||
-b_qoffset | <float> | E.V.. | qp offset between p and b frames PとBの量子化値のオフセット(量子化値) |
-b_qfactorも参照 | |
-er | <int> | .DVA. | set error resilience strategy エラー対処方針 |
||
careful | .DV.. | ||||
compliant | .DV.. | ||||
aggressive | .DV.. | ||||
very_aggressive | .DV.. | ||||
-mpeg_quant | <int> | E.V.. | use MPEG quantizers instead of H.263 | ||
-qsquish | <float> | E.V.. | how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) | ||
-rc_qmod_amp | <float> | E.V.. | experimental quantizer modulation | ||
-rc_qmod_freq | <int> | E.V.. | experimental quantizer modulation | ||
-rc_eq | <string> | E.V.. | set rate control equation | *x264cliのrceq | |
-maxrate | <int> | E.V.. | set max video bitrate tolerance (in bits/s) | ||
-minrate | <int> | E.V.. | set min video bitrate tolerance (in bits/s) | ||
-bufsize | <int> | E.V.. | set ratecontrol buffer size (in bits) | vbv_bufsizeか? | |
-rc_buf_aggressivity | <float> | E.V.. | currently useless | ||
-i_qfactor | <float> | E.V.. | qp factor between p and i frames I-P間の量子化値換算係数(比率) |
ip_factor | |
-i_qoffset | <float> | E.V.. | qp offset between p and i frames I-P間の量子化値オフセット(量子化値) |
||
-rc_init_cplx | <float> | E.V.. | initial complexity for 1-pass encoding | ||
-dct | <int> | E.V.. | DCT algorithm DCT計算方式 |
理想的には無限小数計算 | |
auto | E.V.. | autoselect a good one (default) | |||
fastint | E.V.. | fast integer 高速な整数計算 |
|||
int | E.V.. | accurate integer 正確な整数計算 |
|||
mmx | E.V.. | ||||
mlib | E.V.. | ||||
altivec | E.V.. | ||||
faan | E.V.. | floating point AAN DCT | |||
-lumi_mask | <float> | E.V.. | compresses bright areas stronger than medium ones | 所謂サイコビジュアルエンハンスメント | |
-tcplx_mask | <float> | E.V.. | temporal complexity masking | ||
-scplx_mask | <float> | E.V.. | spatial complexity masking | ||
-p_mask | <float> | E.V.. | inter masking | ||
-dark_mask | <float> | E.V.. | compresses dark areas stronger than medium ones | 所謂サイコビジュアルエンハンスメント | |
-idct | <int> | EDV.. | select IDCT implementation | イントラDCT? | |
auto | EDV.. | ||||
int | EDV.. | ||||
simple | EDV.. | ||||
simplemmx | EDV.. | ||||
libmpeg2mmx | EDV.. | ||||
ps2 | EDV.. | プレステ2? | |||
mlib | EDV.. | ||||
arm | EDV.. | ||||
altivec | EDV.. | ||||
sh4 | EDV.. | ドリキャス? | |||
simplearm | EDV.. | ||||
simplearmv5te | EDV.. | ||||
h264 | EDV.. | ||||
vp3 | EDV.. | ||||
ipp | EDV.. | ||||
xvidmmx | EDV.. | ||||
-ec | <flags> | .DV.. | set error concealment strategy エラー封じ込め方針 |
||
guess_mvs | .DV.. | iterative motion vector (MV) search (slow) | |||
deblock | .DV.. | use strong deblock filter for damaged MBs | |||
-pred | <int> | E.V.. | prediction method | ||
left | E.V.. | ||||
plane | E.V.. | ||||
median | E.V.. | ||||
-aspect | <rational> | E.V.. | sample aspect ratio サンプルアスペクトレシオ |
*x264cliの―sar? | |
-debug | <flags> | EDVAS | print specific debug info | ffdshowのフレームタイプ視覚化はこれがベースか? | |
pict | .DV.. | picture info | |||
rc | E.V.. | rate control | |||
bitstream | .DV.. | ||||
mb_type | .DV.. | macroblock (MB) type | |||
qp | .DV.. | per-block quantization parameter (QP) | |||
mv | .DV.. | motion vector | |||
dct_coeff | .DV.. | ||||
skip | .DV.. | ||||
startcode | .DV.. | ||||
pts | .DV.. | ||||
er | .DV.. | error resilience | |||
mmco | .DV.. | memory management control operations (H.264) | |||
bugs | .DV.. | ||||
vis_qp | .DV.. | visualize quantization parameter (QP), lower QP are tinted greener | |||
vis_mb_type | .DV.. | visualize block types | |||
-vismv | <int> | .DV.. | visualize motion vectors (MVs) | ffdshowのフレームタイプ視覚化はこれがベースか? | |
pf | .DV.. | forward predicted MVs of P-frames | |||
bf | .DV.. | forward predicted MVs of B-frames | |||
bb | .DV.. | backward predicted MVs of B-frames | |||
-mb_qmin | <int> | E.V.. | obsolete, use qmin旧式 | ||
-mb_qmax | <int> | E.V.. | obsolete, use qmax旧式 | ||
-cmp | <int> | E.V.. | full pel me compare function フルピクセル精度の動き比較関数 |
指定値は様々な値の算出に使う数学的な計算方法と思われ | |
sad | E.V.. | sum of absolute differences, fast (default) | |||
sse | E.V.. | sum of squared errors | |||
satd | E.V.. | sum of absolute Hadamard transformed differences | |||
dct | E.V.. | sum of absolute DCT transformed differences | |||
psnr | E.V.. | sum of squared quantization errors (avoid, low quality) | |||
bit | E.V.. | number of bits needed for the block | |||
rd | E.V.. | rate distortion optimal, slow | |||
zero | E.V.. | 0 | |||
vsad | E.V.. | sum of absolute vertical differences | |||
vsse | E.V.. | sum of squared vertical differences | |||
nsse | E.V.. | noise preserving sum of squared differences | |||
w53 | E.V.. | 5/3 wavelet, only used in snow | Snow | ||
w97 | E.V.. | 9/7 wavelet, only used in snow | Snow | ||
dctmax | E.V.. | ||||
chroma | E.V.. | ||||
-subcmp | <int> | E.V.. | sub pel me compare function ハーフピクセル精度の動き比較関数 |
||
sad | E.V.. | sum of absolute differences, fast (default) | |||
sse | E.V.. | sum of squared errors | |||
satd | E.V.. | sum of absolute Hadamard transformed differences | |||
dct | E.V.. | sum of absolute DCT transformed differences | |||
psnr | E.V.. | sum of squared quantization errors (avoid, low quality) | |||
bit | E.V.. | number of bits needed for the block | |||
rd | E.V.. | rate distortion optimal, slow | |||
zero | E.V.. | 0 | |||
vsad | E.V.. | sum of absolute vertical differences | |||
vsse | E.V.. | sum of squared vertical differences | |||
nsse | E.V.. | noise preserving sum of squared differences | |||
w53 | E.V.. | 5/3 wavelet, only used in snow | |||
w97 | E.V.. | 9/7 wavelet, only used in snow | |||
dctmax | E.V.. | ||||
chroma | E.V.. | ||||
-mbcmp | <int> | E.V.. | macroblock compare function フルピクセルマクロブロックの比較関数 |
||
sad | E.V.. | sum of absolute differences, fast (default) | |||
sse | E.V.. | sum of squared errors | |||
satd | E.V.. | sum of absolute Hadamard transformed differences | |||
dct | E.V.. | sum of absolute DCT transformed differences | |||
psnr | E.V.. | sum of squared quantization errors (avoid, low quality) | |||
bit | E.V.. | number of bits needed for the block | |||
rd | E.V.. | rate distortion optimal, slow | |||
zero | E.V.. | 0 | |||
vsad | E.V.. | sum of absolute vertical differences | |||
vsse | E.V.. | sum of squared vertical differences | |||
nsse | E.V.. | noise preserving sum of squared differences | |||
w53 | E.V.. | 5/3 wavelet, only used in snow | |||
w97 | E.V.. | 9/7 wavelet, only used in snow | |||
dctmax | E.V.. | ||||
chroma | E.V.. | ||||
-ildctcmp | <int> | E.V.. | interlaced dct compare function インターレースドDCTの比較関数 |
||
sad | E.V.. | sum of absolute differences, fast (default) | |||
sse | E.V.. | sum of squared errors | |||
satd | E.V.. | sum of absolute Hadamard transformed differences | |||
dct | E.V.. | sum of absolute DCT transformed differences | |||
psnr | E.V.. | sum of squared quantization errors (avoid, low quality) | |||
bit | E.V.. | number of bits needed for the block | |||
rd | E.V.. | rate distortion optimal, slow | |||
zero | E.V.. | 0 | |||
vsad | E.V.. | sum of absolute vertical differences | |||
vsse | E.V.. | sum of squared vertical differences | |||
nsse | E.V.. | noise preserving sum of squared differences | |||
w53 | E.V.. | 5/3 wavelet, only used in snow | |||
w97 | E.V.. | 9/7 wavelet, only used in snow | |||
dctmax | E.V.. | ||||
chroma | E.V.. | ||||
-dia_size | <int> | E.V.. | diamond type & size for motion estimation | ||
-last_pred | <int> | E.V.. | amount of motion predictors from the previous frame | ||
-preme | <int> | E.V.. | pre motion estimation | ||
-precmp | <int> | E.V.. | pre motion estimation compare function | ||
sad | E.V.. | sum of absolute differences, fast (default) | |||
sse | E.V.. | sum of squared errors | |||
satd | E.V.. | sum of absolute Hadamard transformed differences | |||
dct | E.V.. | sum of absolute DCT transformed differences | |||
psnr | E.V.. | sum of squared quantization errors (avoid, low quality) | |||
bit | E.V.. | number of bits needed for the block | |||
rd | E.V.. | rate distortion optimal, slow | |||
zero | E.V.. | 0 | |||
vsad | E.V.. | sum of absolute vertical differences | |||
vsse | E.V.. | sum of squared vertical differences | |||
nsse | E.V.. | noise preserving sum of squared differences | |||
w53 | E.V.. | 5/3 wavelet, only used in snow | |||
w97 | E.V.. | 9/7 wavelet, only used in snow | |||
dctmax | E.V.. | ||||
chroma | E.V.. | ||||
-pre_dia_size | <int> | E.V.. | diamond type & size for motion estimation pre-pass | ||
-subq | <int> | E.V.. | sub pel motion estimation quality サブペル動き予測の精度 |
サブペルはフルピクセルより小さい精度で行う計算(ハーフペルとqpel)の総称っぽい | subq |
-me_range | <int> | E.V.. | limit motion vectors range (1023 for DivX player) モーションベクトルの範囲 |
me_range | |
-ibias | <int> | E.V.. | intra quant bias | ||
-pbias | <int> | E.V.. | inter quant bias | ||
-coder | <int> | E.V.. | |||
vlc | E.V.. | variable length coder / huffman coder | nocabac | ||
ac | E.V.. | arithmetic coder | cabac | ||
-context | <int> | E.V.. | context model | ||
-mbd | <int> | E.V.. | macroblock decision algorithm (high quality mode) | ||
simple | E.V.. | use mbcmp (default) | |||
bits | E.V.. | use fewest bits | |||
rd | E.V.. | use best rate distortion | |||
-sc_threshold | <int> | E.V.. | scene change threshold シーンチェンジ判定の閾値 |
scenecut | |
-lmin | <int> | E.V.. | min lagrange factor (VBR) | ラグランジュ係数? | |
-lmax | <int> | E.V.. | max lagrange factor (VBR) | ||
-nr | <int> | E.V.. | noise reduction ノイズリダクション |
nr | |
-rc_init_occupancy | <int> | E.V.. | number of bits which should be loaded into the rc buffer before decoding starts デコード開始前にレートコントロールバッファを満たすべきbitの数 |
||
-inter_threshold | <int> | E.V.. | |||
-flags2 | <flags> | EDVA. | |||
fast | E.V.. | allow non spec compliant speedup tricks | |||
sgop | E.V.. | strictly enforce gop size | |||
noout | E.V.. | skip bitstream encoding | |||
local_header | E.V.. | place global headers at every keyframe instead of in extradata | noglobal_headerか? | ||
bpyramid | E.V.. | allows B-frames to be used as references for predicting Bフレームを参照フレームに使う |
(no)b_pyramid | ||
wpred | E.V.. | weighted biprediction for b-frames (H.264) Bの適応重み付け量子化 |
(no)weight_b | ||
mixed_refs | E.V.. | one reference per partition, as opposed to one reference per macroblock マクロブロック単位ではなく、マクロブロック・パーティション単位で参照対象を選ぶ |
(no)mixed_refs | ||
8x8dct | E.V.. | high profile 8x8 transform (H.264) High profileの8x8変換 |
(no)8x8dct | ||
fastpskip | E.V.. | fast pskip (H.264) Pのマクロブロック・タイプ=skipの検出を速い段階で行う |
x264最大の弱点「フレーム単位でぱたぱたと動く闇階調のブロックノイズ」の原因 | (no)fast_pskip | |
aud | E.V.. | access unit delimiters (H.264) | アクセス・ユニットの先頭に付ける開始符号。 | MPEG-2システムに収納する際に必要な模様。 | |
brdo | E.V.. | b-frame rate-distortion optimization BのRDO(レート歪み最適化) |
(no)brdo |
||
skiprd | E.V.. | RD optimal MB level residual skiping | |||
ivlc | E.V.. | intra vlc table | |||
drop_frame_timecode | E.V.. | ||||
-error | <int> | E.V.. | |||
-antialias | <int> | .DV.. | MP3 antialias algorithm MP3のアンチエイリアス・アルゴリズム |
||
auto | .DV.. | ||||
fastint | .DV.. | ||||
int | .DV.. | ||||
float | .DV.. | ||||
-qns | <int> | E.V.. | quantizer noise shaping | ||
-threads | <int> | EDV.. | threads | ||
-mb_threshold | <int> | E.V.. | macroblock threshold | ||
-dc | <int> | E.V.. | intra_dc_precision | ||
-nssew | <int> | E.V.. | nsse weight | ||
-skip_top | <int> | .DV.. | number of macroblock rows at the top which are skipped | ||
-skip_bottom | <int> | .DV.. | number of macroblock rows at the bottom which are skipped | ||
-profile | <int> | E.VA. | |||
unknown | E.VA. | ||||
-level | <int> | E.VA. | level_idcか? | ||
unknown | E.VA. | ||||
-lowres | <int> | .DV.. | decode at 1= 1/2, 2=1/4, 3=1/8 resolutions | ||
-skip_threshold | <int> | E.V.. | frame skip threshold | ||
-skip_factor | <int> | E.V.. | frame skip factor | ||
-skip_exp | <int> | E.V.. | frame skip exponent | ||
-skipcmp | <int> | E.V.. | frame skip compare function | ||
sad | E.V.. | sum of absolute differences, fast (default) | |||
sse | E.V.. | sum of squared errors | |||
satd | E.V.. | sum of absolute Hadamard transformed differences | |||
dct | E.V.. | sum of absolute DCT transformed differences | |||
psnr | E.V.. | sum of squared quantization errors (avoid, low quality) | |||
bit | E.V.. | number of bits needed for the block | |||
rd | E.V.. | rate distortion optimal, slow | |||
zero | E.V.. | 0 | |||
vsad | E.V.. | sum of absolute vertical differences | |||
vsse | E.V.. | sum of squared vertical differences | |||
nsse | E.V.. | noise preserving sum of squared differences | |||
w53 | E.V.. | 39205 wavelet, only used in snow | |||
w97 | E.V.. | 39332 wavelet, only used in snow | |||
dctmax | E.V.. | ||||
chroma | E.V.. | ||||
-border_mask | <float> | E.V.. | increases the quantizer for macroblocks close to borders | ||
-mblmin | <int> | E.V.. | min macroblock lagrange factor (VBR) | ||
-mblmax | <int> | E.V.. | max macroblock lagrange factor (VBR) | ||
-mepc | <int> | E.V.. | motion estimation bitrate penalty compensation (1.0 = 256) | ||
-bidir_refine | <int> | E.V.. | refine the two motion vectors used in bidirectional macroblocks | ||
-brd_scale | <int> | E.V.. | downscales frames for dynamic B-frame decision | ||
-crf | <float> | E.V.. | enables constant quality mode, and selects the quality (x264) 固定品質モード |
crf | |
-cqp | <int> | E.V.. | constant quantization parameter rate control method | ||
-keyint_min | <int> | E.V.. | minimum interval between IDR-frames (x264) 最小IDR間隔 |
keyint_min | |
-refs | <int> | E.V.. | reference frames to consider for motion compensation (Snow) 複数参照(任意距離参照) |
Snowにもあるという意味か | frameref |
-chromaoffset | <int> | E.V.. | chroma qp offset from luma 輝度と彩度で量子化値を変える |
白黒で有効か | chroma_qp_offset |
-bframebias | <int> | E.V.. | influences how often B-frames are used Bの挿入性向 |
(no)b_bias | |
-trellis | <int> | E.VA. | rate-distortion optimal quantization | trellis | |
-directpred | <int> | E.V.. | direct mv prediction mode - 0 (none), 1 (spatial), 2 (temporal) | direct_pred | |
-complexityblur | <float> | E.V.. | reduce fluctuations in qp (before curve compression) curve compressionの前に量子化値の変動(幅?)を減らす。 |
cplx_blur | |
-deblockalpha | <int> | E.V.. | in-loop deblocking filter alphac0 parameter | deblock=<-6-6>,<-6-6> | |
-deblockbeta | <int> | E.V.. | in-loop deblocking filter beta parameter | 同上 | |
-partitions | <flags> | E.V.. | macroblock subpartition sizes to consider | partitions | |
parti4x4 | E.V.. | 細かいディテイルに有効 | |||
parti8x8 | E.V.. | 8x8dct抜きでは意味が無い | |||
partp4x4 | E.V.. | p4x4推奨はsubq=5以上、かつ、低解像度の場合のみ。 | |||
partp8x8 | E.V.. | ||||
partb8x8 | E.V.. | ||||
-sc_factor | <int> | E.V.. | multiplied by qscale for each frame and added to scene_change_score | ||
-mv0_threshold | <int> | E.V.. | |||
-b_sensitivity | <int> | E.V.. | adjusts sensitivity of b_frame_strategy 1 | ||
-compression_level | <int> | E.VA. | |||
-use_lpc | <int> | E..A. | sets whether to use LPC mode (FLAC) | ||
-lpc_coeff_precision | <int> | E..A. | LPC coefficient precision (FLAC) | ||
-min_prediction_order | <int> | E..A. | |||
-max_prediction_order | <int> | E..A. | |||
-prediction_order_method | <int> | E..A. | search method for selecting prediction order | ||
-min_partition_order | <int> | E..A. | |||
-max_partition_order | <int> | E..A. | |||
-timecode_frame_start | <int> | E.V.. | GOP timecode frame start number, in non drop frame format |
pass:0 changed:1914 (15%) 0.93fps Trem: 0min 0mb A-V:0.000 [0:0]ドモホルンリンクル♪。
pass:1 changed:589
pass:2 changed:140
pass:3 changed:31
pass:4 changed:5
pass:5 changed:4
pass:6 changed:1
pass:7 changed:0
pass:4mv changed:1624
#!/bin/bash関連記事
# x264 lossless_mcdeint=2
# 070502,charset="UTF-8",LF
# PowerMac G5 2Ghzx2, MacOSX 10.4.9
# MEncoder dev-SVN-r23259-4.0.1 (C) 2000-2007 MPlayer Team
for x in `ls *.mpeg`;do
echo "----"
echo "${x}"
echo "${x%.mpeg}".mp4
echo "START; `date +%m/%d" "%H:%M.%S`"
START_SEC=`date +%s`
mencoder "${x}" \
-vfm ffmpeg \
-nosound \
-ovc x264 -x264encopts \
qp=0:\
bframes=1:\
keyint=0:\
keyint_min=0:\
nodeblock:\
nocabac:\
subq=1:\
nointerlaced:\
threads=16 \
-vf yadif=3,mcdeint=2,framestep=2,scale=640:480:::3,hqdn3d=2:1:2,harddup \
-sws 9 -zoom \
-fps 30000/1001 \
-ofps 30000/1001 \
-of lavf -lavfopts format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames \
-o "${x%.mpeg}"_.mp4
expr `date +%s` - "${START_SEC}"
echo "END; `date +%m/%d" "%H:%M.%S`"
done