Add visual overlays

Using Microsoft Expression Encoder, you can insert a visual overlay for your video. A visual overlay is a static or moving image that is displayed on top of your video as the video plays.

Usually, visual overlays are small enough not to interfere with the action of the video, but they are readable, and they are displayed in the lower corner of a video file. Overlays are often company logos, station identifiers, or short advertisements, but they can be any recognizable graphic that you want to add to your video for any purpose. Designers also use semi-transparent overlays to watermark their videos.

For overlays, Expression Encoder recognizes both still and moving image source files. Still image files must be formatted as .jpg, .bmp, .gif, or .png files (.png files usually produce the highest quality overlays). Moving image files can either be WPF canvas XAML animations or movie files such as .wmv and .mov files. Expression Encoder also supports movie files rendered with alpha channels, such as QuickTime alpha files.

Make sure that you don't create a file that is so large that it obscures the video action. Also, make sure that you create a file that is large enough to read, if legibility is your intent. You can put the overlay anywhere on the image, and also specify its opacity, when it appears, and the amount of time that it is displayed. You can create your still image overlays in most drawing applications.

Timeline (blue) with visual (orange) and audio (green) overlays
Ee341426.75bb66bb-d0de-472f-966c-9d0500e8756d(en-us,Expression.30).png

To add a visual overlay

  1. In the Media Content panel, select the video to which you want to add the overlay. You can add an overlay to only one video at a time.

  2. If you can't see the Enhance panel, on the Window menu, click Enhance to select it. If the panel is selected but not visible, on the right side of the application, click the Enhance tab.

  3. In the Visual Overlay category, select the Add Overlay check box.

  4. Navigate to a video file and, when you locate the file, click Open. The visual overlay appears in the Viewer pane with green lines bordering it, and orange bars appear in the Timeline over your media content, indicating that you have placed a visual overlay there.

  5. To adjust the left, top, width, and height dimensions, and to retain the aspect ratio of the original file as you adjust the overlay, click Maintain Aspect Ratio, and then do one of the following:

    • In the appropriate boxes, type the dimensions or locations that you want the overlay to have.

    • In the appropriate boxes, drag the value to the right or up to increase the value, or drag it to the left or down to decrease the value.

    • In the Viewer pane, drag one of the four green corner points around the overlay image to resize it. Drag the image to reposition it.

    Tip

    You can resize the overlay image as the main video plays.

  6. To adjust the image transparency, in the Overlay section, do one of the following:

    • Click the Opacity box and type a new value.

    • Drag the opacity value to the right or up to increase the value, or drag it to the left or down to decrease the value.

  7. If your image is on a solid background, select Use Transparent Background to make the background transparent. This command samples the pixel color at the 0,0 coordinates of your image, which is in the upper-left corner, and removes that color from the image.

  8. Drag the Volume value to the right to increase the volume, or drag it to the left to decrease the volume.

    Note

    This volume value applies to the audio track of the visual overlay file. To adjust the original audio file for the video, see Set pre-processing options.

  9. If necessary, click Show advanced propertiesEe341426.2f8a79a9-68d2-4878-8b75-c76ceb921b3b(en-us,Expression.30).png to access the remaining options.

  10. Set the Duration options according to the following instructions:

    • On the Apply to menu, click Whole Sequence to apply the overlay to the entire video, including leaders and trailers. Click Custom to set a specific duration for the overlay to be displayed.

    • If you chose to specify a custom duration, in the Start and End boxes, enter the respective times (relative to the video duration) at which you want the overlay to appear. Alternatively, in the viewing area, you can drag the playhead to a location on the Timeline, and then, in the Duration section, click the respective Update button to set the time to the playhead location.

    • Select Loop Overlay if you want the overlay to play back from the beginning once it reaches the end of its duration. The overlay will continue to loop for the length of the video. To specify a time between each loop of the overlay, enter a length in the Overlay Looping Gap box.

  11. If you want the overlay to fade in and out, enter the appropriate duration in the Fade Duration section. Alternatively, in the viewing area, you can drag the playhead to a location on the Timeline, and then, in the Fade Duration section, click the respective Update button to set the time to the playhead location. The application calculates the fade relative to the start and end times of the overlay.

  12. Click Reset to return to the settings that appeared on importing the overlay image.

To replace a visual overlay

  1. In the Media Content panel, select the video that includes the overlay that you want to replace.

  2. If you can't see the Enhance panel, on the Window menu, click Enhance to select it. If the panel is selected but not visible, on the right side of the application, click the Enhance tab.

  3. In the Visual Overlay category, in the File box, type the path where the overlay graphic is located, or click BrowseEe341426.1abd50b6-f3d3-4903-b72a-b0807daa7755(en-us,Expression.30).png to browse to the file.

  4. When you locate the file, click Open to replace the existing file. Expression Encoder retains the settings that you chose for the previous overlay.