Extensions:2.6/Py/Scripts/Sequencer/Letterbox

提供: wiki
< Extensions:2.6‎ | Py‎ | Scripts‎ | Sequencer
2014年9月15日 (月) 02:30時点におけるwiki>Mutantbobによる版
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索
Letterbox
adds or adjusts Transform effects to create letterboxes on media that does not match the aspect ratio of the scene
UI location Group: Sequencer
Version 0.1 Author(s) Robert Forsman
Blender 2.71 License GPL


Executable information
File name letterbox.py
Current version download https://github.com/mutantbob/blender-letterbox


Links https://developer.blender.org/T41815


Instructions

Pick a Scene, Image, or Movie strip in the Video Sequence Editor, and use the Strip menu to find the Letterbox submenu. Then choose the letterbox option you prefer. A transform effect strip will be created to accomplish the effect.

If there is already a Transform strip pointing at the active strip, or if the active strip is a Transform strip, then it will be adjusted instead.

movie strip after Letterbox East

This addon has adjustable parameters, but they are only visible if you have a 3D view open with its toolbar open (which is unlikely if you are doing sequence editing; maybe blender will be upgraded to show the operator parameter panel in another spot one day). The one menu entry that is a plain "Letterbox" reuses the align parameters from the last completed letterbox operation. The rest start with parameters that are initialized to accomplish the operation on the label.

The biggest shortcoming of this addon is that for strips that don't include specific aspect ratio information it assumes the target strip has square pixels. (Scene strips do have aspect ratio information and this addon uses it). Non-square pixels are not that unusual (especially for DVD content which is routinely 720x480 pixels, but a 16:9 aspect ratio instead). Until blender is upgraded to extract this information and store it on a sequence property, you can kludge around it by adjusting the display aspect ratio property on the operator.