黒帯を追加する。
<w>,<h>
黒帯追加後の幅と高さ。デフォルトは元の幅と高さ。
マイナスの値を指定すると、元の幅と高さに追加する幅、高さになる。
例 -vf expand=320:240 黒帯追加後の幅と高さを320ピクセル、240ピクセルにする。 例 -vf expand=0:-50 上下に25ピクセルずつ黒帯を追加。<x>,<y>
横と縦のオフセット。<w>,<h>で指定した領域のうち、<x>,<y>の位置に配置する。デフォルトは中央。
例 -vf expand=0:-50:0:0 下に50ピクセルの黒帯を追加。<o>
OSD/字幕の表示
0: なし (デフォルト)
1: 可能にする
<a>
比率指定。w,hの両方か一方が省略された場合、<a>の比率でwとhを決める。デフォルトは0。分数表記が使用可能。
例 -vf scale=320:180,expand=:::::4/3 映像部分320*180、画面を4:3のアスペクト比になるように黒帯を追加。<r>
幅と高さの値を、rの値で割り切れるようにする。デフォルトは1。たとえば、幅を319ピクセルと指定し、rを4とすると、4で割り切れる数字になるように幅が加算され、幅が320ピクセルになる。
Expands (not scales) movie resolution to the given value and places the unscaled original at coordi- nates x, y. Can be used for placing subtitles/OSD in the resulting black bands.
<w>,<h>
Expanded width,height (default: original width,height). Negative values for w and h are treated as offsets to the original size.
EXAMPLE:
ex- pand=0:-50:0:0
Adds a 50 pixel border to the bottom of the picture.
<x>,<y>
position of original image on the expanded image (default: center)
<o>
OSD/subtitle rendering
0: disable (default)
1: enable
<a>
Expands to fit an aspect instead of a reso- lution (default: 0).
EXAMPLE:
ex- pand=800::::3/4
Expands to 800x600, unless the source is higher resolution, in which case it expands to fill a 3/4 aspect.
<r>
Rounds up to make both width and height di- visible by <r> (default: 1).