ビデオフィルタで、ビデオストリームとそのプロパティを調整する事ができます。
書式は以下の通り:
パラメータは未指定でも動くものが多く、その場合はデフォルト値が適用されます。明示的にデフォルト値を使うには、パラメータ指定を '-1' にします。w:h はピクセルで測った width x height、x:y はフレームの左上を起点とするxy座標です。
NOTE: 使用できるビデオフィルタのリストを見るには -vf help を見て下さい。
ビデオフィルタはリストで管理します。フィルタリストの管理コマンドが若干あります。
-vf-add <filter1[,filter2,...]>フィルタの中にはパラメータに名前でアクセスできるものがあります。
-vf <filter>=helpVideo filters allow you to modify the video stream and its properties.
The syntax is:
-vf <filter1[=parameter1:parameter2:...],filter2,...>
Setup a chain of video filters.
Many parameters are optional and set to default values if omitted. To
explicitly use a default value set a parameter to '-1'. Parameters w:h
means width x height in pixels, x:y means x;y position counted from the
upper left corner of the bigger image.
NOTE: To get a full list of available video filters, see -vf help.
Video filters are managed in lists. There are a few commands to manage
the filter list.
-vf-add <filter1[,filter2,...]>
Appends the filters given as arguments to the filter list.
-vf-pre <filter1[,filter2,...]>
Prepends the filters given as arguments to the filter list.
-vf-del <index1[,index2,...]>
Deletes the filters at the given indexes. Index numbers start
at 0, negative numbers address the end of the list (-1 is the
last).
-vf-clr
Completely empties the filter list.
With filters that support it, you can access parameters by their name.
-vf <filter>=help
Prints the parameter names and parameter value ranges for a par-
ticular filter.
-vf <filter=named_parameter1=value1[:named_parameter2=value2:...]>
Sets a named parameter to the given value. Use on and off or
yes and no to set flag parameters.
Available filters are:
*ビデオフィルタは書いた順に適用される。適用順番で効果が変わるものがあるので注意。
*ターミナルのログ表示では逆順に表示される。
*旧い書式では -vf
ではなく、-vop
で指定した。これは書いた順とは逆に尻から適用される。てのが前はあったんだけど消えてますね。