性質:MPlayer/MEncoderに比べると、
MEncoderの-lavcoptsが手がかりになると思われる。
MPlayer/MEncoderと共同でlinux上の動画環境の血液という印象。
$ ffmpeg ffmpeg version CVS, build 4759, Copyright (c) 2000-2004 Fabrice Bellard configuration: ./configure --enable-mp3lame --enable-faac --enable-faad --enable-amr_nb --disable-ffplay --enable-small --enable-memalign-hack --enable-gpl --enable-xvid --enable-dts --enable-a52 --disable-vhook --enable-pthread --enable-x264 built on Nov 8 2005 22:36:20, gcc: 4.0.0 (Apple Computer, Inc. build 5026) usage: ffmpeg [[infile options] -i infile]... {[outfile options] outfile}... Hyper fast Audio and Video encoder
show license
show help
*コマンド一覧と同じものが出る。
show version
show available formats, codecs, protocols, ...
force format
対応フォーマットは、-formats?参照。
force image format
input file name
overwrite output files
set the recording time
set the limit file size
set the start time offset
set the input ts offset
set the title
set the timestamp
set the author
set the copyright
set the comment
control amount of logging
specify target file type ("vcd", "svcd", "dvd", "dv", "pal-vcd", "ntsc-svcd", ...)
set the number of data frames to record
activate high quality settings
force subtitle codec ('copy' to copy stream)
add a new subtitle stream to the current output stream
set the ISO 639 language code (3 letters) of the current subtitle stream
set video bitrate (in kbit/s)
set the number of video frames to record
set frame rate (Hz value, fraction or abbreviation)
set max frame rate (Hz value, fraction or abbreviation)
set frame size (WxH or abbreviation)
set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)
fix aspect ratio
set top crop band size (in pixels)
set bottom crop band size (in pixels)
set left crop band size (in pixels)
set right crop band size (in pixels)
set top pad band size (in pixels)
set bottom pad band size (in pixels)
set left pad band size (in pixels)
set right pad band size (in pixels)
set color of pad bands (Hex 000000 thru FFFFFF)
disable video
set video bitrate tolerance (in kbit/s)
set max video bitrate tolerance (in kbit/s)
set min video bitrate tolerance (in kbit/s)
set ratecontrol buffer size (in kByte)
force video codec ('copy' to copy stream)
use same video quality as source (implies VBR)
select the pass number (1 or 2)
select two pass log file name
add a new video stream to the current output stream
set pixel format
set the group of picture size
use only intra frames
discard threshold
use fixed video quantiser scale (VBR)
min video quantiser scale (VBR)
max video quantiser scale (VBR)
min video lagrange factor (VBR)
max video lagrange factor (VBR)
min macroblock quantiser scale (VBR)
max macroblock quantiser scale (VBR)
max difference between the quantiser scale (VBR)
video quantiser scale blur (VBR)
how to keep quantiser between qmin and qmax (0 = clip, 1 = use differentiable function)
video quantiser scale compression (VBR)
initial complexity for 1-pass encoding
qp factor between p and b frames
qp factor between p and i frames
qp offset between p and b frames
qp offset between p and i frames
intra quant bias
inter quant bias
set rate control equation
rate control override for specific intervals
set motion estimation method
set dct algo
set idct algo
motion estimaton threshold
macroblock threshold
set error resilience
set error concealment
use 'frames' B frames
macroblock decision
macroblock compare function
ildct compare function
subpel compare function
fullpel compare function
pre motion estimation compare function
pre motion estimation
single coefficient elimination threshold for luminance (negative values also consider DC coefficient)
single coefficient elimination threshold for chrominance (negative values also consider DC coefficient)
luminance masking
darkness masking
spatial complexity masking
temporal complexity masking
inter masking
use four motion vector by macroblock (MPEG4)
use overlapped block motion compensation (h263+?)
オーバーラップしたブロックの動き補償(h263+?)
マクロブロックの境目を目立たないようにする方式の一つ。マクロブロックを碁盤の目のようにきっちり切るのでなく、各ブロックを少しずつ(上下左右斜めの8方向とも)重ねる。
AVC/H.264ではきっちり区切った上で、インループフィルタを使う。
参考;
use loop filter (h263+)
use data partitioning (MPEG4)
workaround not auto detected encoder bugs
how strictly to follow the standards
規格適合性の強度。どのくらい厳格に規格を守るかを指定。指定値不明。
deinterlace pictures
映像のデインターレース。
mencoderの-vf pp=fdが相当するハズだが、こちらの方が若干良い
force interlaced dct support in encoder (MPEG2/MPEG4)
force interlaced me support in encoder (MPEG2/MPEG4)
calculate PSNR of compressed frames
dump video coding statistics to file
insert video processing module
enable Advanced intra coding (h263+)
enable Alternative inter vlc (h263+)
enable Unlimited Motion Vector (h263+)
enable Slice Structured mode (h263+)
enable alternate scantable (MPEG2/MPEG4)
enable trellis quantization
try to encode each MB with MV=<0,0> and choose the better one (has no effect if mbd=0)
normalize adaptive quantization
closed gop
strict gop
skip bitstream encoding
enable SVCD Scan Offset placeholder
enable 1/4-pel
specify intra matrix coeffs
specify inter matrix coeffs
top=1/bottom=0/auto=-1 field first
noise reduction
quantization noise shaping
scene change threshold
limit motion vectors range (1023 for DivX player)
intra_dc_precision
coder type
context model
prediction method
profile
level
weight
motion estimation bitrate penalty compensation
force video tag/fourcc
frame skip threshold
frame skip factor
frame skip exponent
frame skip compare function
encode/decode grayscale
set the number of audio frames to record
set audio bitrate (in kbit/s)
set audio sampling rate (in Hz)
set number of audio channels
disable audio
force audio codec ('copy' to copy stream)
change audio volume (256=normal)
add a new audio stream to the current output stream
set the ISO 639 language code (3 letters) of the current audio stream
force audio tag/fourcc
force subtitle codec ('copy' to copy stream)
add a new subtitle stream to the current output stream
set the ISO 639 language code (3 letters) of the current subtitle stream
set video grab device
set video grab channel (DV1394 only)
set television standard (NTSC, PAL (SECAM))
set audio device
request grabbing using
set grab device
set input stream mapping
set meta data information of outfile from infile
print specific debug info
visualize motion vectors
add timings for benchmarking
dump each input packet
when dumping packets, also dump the payload
only use bit exact algorithms (for codec testing)
read input at native frame rate
loop (current only works with images)
number of times to loop output in formats that support looping (0 loops forever)
thread count
video sync method
audio sync method
video global header storage type
copy timestamps
finish encoding within shortest input
dynamic b frame selection strategy
動的なBフレーム選択の方式(の指定)
MEncoder -x264の(no)b_adaptが相当か?
set packet size in bits
error rate
set mux rate
set packet size
set the maximum demux-decode delay
set the initial demux-decode delay
set the audio bitrate in mux tag (in kbit/s)
set the video bitrate in mux tag (in kbit/s)