

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 設定填充擴展
<a name="video-scaling-fill-ratio"></a>

如果您選擇**填補****擴展行為**，MediaConvert 會擴展輸入映像，直到填滿輸出解析度的維度，並裁剪任何超過輸出解析度維度的項目。

例如，如果您的輸入檔案是`200`像素乘`200`以像素，而您想要的輸出解析度是`300`像素乘以`400`像素，MediaConvert 會將輸入影像的大小增加為`400`像素乘以`400`像素，裁切出頂部和底部`50`像素，並傳回`300`像素乘以`400`像素檔案。當您選擇**填充**時，MediaConvert 不會將填補新增至輸出。

**索引鍵**

下列索引鍵圖形顯示輸入和輸出影像寬度、高度、裁切和填補。在此關鍵圖形中，輸入維度 （在頂部和左側） 為藍色，輸出維度 （在右側和底部） 為紅色。

![\[長寬比金鑰\]](http://docs.aws.amazon.com/zh_tw/mediaconvert/latest/ug/images/key.png)


下表顯示當您的輸入和輸出解析度不同時的範例影像擴展行為。如需關於讀取影像的詳細資訊，請參閱上一個索引鍵圖形。


|  條件  |  輸入  |  Output  | 
| --- | --- | --- | 
|  輸入寬度小於輸出寬度 輸入高度小於輸出高度  |  ![\[Blue user icon with dimensions labeled: 200x200 inner square, 300x400 outer rectangle.\]](http://docs.aws.amazon.com/zh_tw/mediaconvert/latest/ug/images/input1-thumb.png)  |  ![\[Blue figure icon with dimensions and sizing information overlaid on a checkered background.\]](http://docs.aws.amazon.com/zh_tw/mediaconvert/latest/ug/images/fill1-thumb.png)  | 
|  輸入寬度小於輸出寬度 輸入高度大於輸出高度  |  ![\[Blue pawn-shaped figure on a checkered background with red measurement lines.\]](http://docs.aws.amazon.com/zh_tw/mediaconvert/latest/ug/images/input2-thumb.png)  |  ![\[Diagram showing a blue figure with dimensions: 200 height, 300 width, 400 total height.\]](http://docs.aws.amazon.com/zh_tw/mediaconvert/latest/ug/images/fill2-thumb.png)  | 
|  輸入寬度大於輸出寬度 輸入高度小於輸出高度  |  ![\[Blue user icon centered within a rectangular frame with dimensions labeled.\]](http://docs.aws.amazon.com/zh_tw/mediaconvert/latest/ug/images/input3-thumb.png)  |  ![\[Blue hourglass-shaped icon with numerical values indicating dimensions around it.\]](http://docs.aws.amazon.com/zh_tw/mediaconvert/latest/ug/images/fill3-thumb.png)  | 
|  輸入寬度大於輸出寬度 輸入高度大於輸出高度  |  ![\[Blue silhouette icon of a person within a red square frame on a grid background.\]](http://docs.aws.amazon.com/zh_tw/mediaconvert/latest/ug/images/input4-thumb.png)  |  ![\[Blue 3D figure centered in a square frame with measurement indicators on the sides.\]](http://docs.aws.amazon.com/zh_tw/mediaconvert/latest/ug/images/fill4-thumb.png)  | 