Preventing Distortion of Menu Background Images and Videos
Posted: Tue Jun 02, 2009 7:33 pm
UPDATE: 16:9 menu capability was added in CX2D version 4.1.13.356, versions before that could only generate 4:3 menus which require special considerations in some cases that are not covered here. Now menus are generated in the same aspect as that which the last titleset in a project will be converted to in v4, v5 generates menus in the same aspect as the first titleset. So menu backgrounds for the latest versions should generally be prepared with the same aspect as the generated menu.
Introduction
The current versions of CX2D will use all of any image or video used as a background. In other words, it will not crop any part of it as it did at times in the past in order to produce the correct menu aspect. That means that your background image or video should have the same aspect as the menu will be generated in.
How to Prepare Images and Videos for Backgrounds
Images and videos that do not already have the desired 4:3 or 16:9 aspect ratio should be altered before using them.
Still images should normally be cropped in a graphics editor to the desired aspect ratio - number of horizontal pixels divided by vertical pixels. Don't worry about the resolution of the cropped image (CX2D will resize it as needed) but the higher the better usually. Simply changing pixel dimensions (resizing) to change aspect will usually introduce distortion. Changing canvas size to the desired aspect can also be advantageous in some cases if you understand the concept and have an editor with that capability. That method will either crop part of the picture and/or add colored borders.
Changing the aspect of videos to use as backgrounds is a little more trouble because it is done by resizing in a program such as CX2D. You can cut short segments (make them at least as long as menu duration time) from long videos using an appropriate video editor in order to save time and then convert them beforehand to prepare them for background use.
Use any resize method except Stretch, but I prefer to eliminate the clutter of black bars. If your source does not already have black bars, you can do that by setting the converted aspect to what you want and then set the resize method to Pan-Scan. If your source already has black bars , you will have to eliminate them manually in the video resize editor. Equations are given in Calculating Crop/Pad Values for the Video Resize Editor in this forum that will help maintain the aspect ratio -- prevent distortion -- when doing manual resizing.
You can then use the VIDEO_TS.IFO from this mini conversion as the background for your main conversion.
Introduction
The current versions of CX2D will use all of any image or video used as a background. In other words, it will not crop any part of it as it did at times in the past in order to produce the correct menu aspect. That means that your background image or video should have the same aspect as the menu will be generated in.
How to Prepare Images and Videos for Backgrounds
Images and videos that do not already have the desired 4:3 or 16:9 aspect ratio should be altered before using them.
Still images should normally be cropped in a graphics editor to the desired aspect ratio - number of horizontal pixels divided by vertical pixels. Don't worry about the resolution of the cropped image (CX2D will resize it as needed) but the higher the better usually. Simply changing pixel dimensions (resizing) to change aspect will usually introduce distortion. Changing canvas size to the desired aspect can also be advantageous in some cases if you understand the concept and have an editor with that capability. That method will either crop part of the picture and/or add colored borders.
Changing the aspect of videos to use as backgrounds is a little more trouble because it is done by resizing in a program such as CX2D. You can cut short segments (make them at least as long as menu duration time) from long videos using an appropriate video editor in order to save time and then convert them beforehand to prepare them for background use.
Use any resize method except Stretch, but I prefer to eliminate the clutter of black bars. If your source does not already have black bars, you can do that by setting the converted aspect to what you want and then set the resize method to Pan-Scan. If your source already has black bars , you will have to eliminate them manually in the video resize editor. Equations are given in Calculating Crop/Pad Values for the Video Resize Editor in this forum that will help maintain the aspect ratio -- prevent distortion -- when doing manual resizing.
You can then use the VIDEO_TS.IFO from this mini conversion as the background for your main conversion.