Export (0) Print
Expand All

Add captions and other script commands

When you add script commands to your video, the Timeline expands to show you the locations of the commands. Each command type appears in its own row. For example, all captions have markers in a single row. If you enter a script command that instructs the video to open a URL on playback, this command will appear in another row. This method of display is a good way to visually track, and adjust the location of, every command in your video. This overview of your interactive elements can be very effective in precisely organizing the message or effect of your video, and can help you sharply refine the timing and presentation of any number of elements.

Each script command that you create has its own row. Within that row, you can drag the command markers to new times.

The Script Commands category displaying added script commands
Cc294717.64d37e79-9e82-4644-92f7-9a419e702b27(en-us,Expression.30).png

  1. In an open job, click the Metadata tab on the right side of the application. If you can't see the Metadata tab, on the View menu, click Metadata.

  2. On the Metadata tab, click the arrow next to Script Commands to expand the options.

  3. On the Timeline, drag the playhead to the point in the video where you want to add a script command.

  4. In the Script Commands category, click Add. The Timeline expands to reveal the marker in its own row at the playhead location.

  5. Do any of the following:

    • Double-click the words "Unknown Value" in the Type column to add a command type. If you want to create a caption, enter "caption." You can enter a maximum of 1,023 characters for this value. Each different type of script command that you create will appear in its own row underneath the Timeline.

    • Double-click the words "Unknown Value" in the Command column to type the command. If you are creating captions, type the caption that you want to display. During playback, the caption will display until playback reaches another marker, or the end of the video. You can type a maximum of 10,239 characters for this value.

  6. On the Save script commands in menu, click the location where you want Microsoft Expression Encoder to save your commands.

    Cc294717.alert_note(en-us,Expression.30).gifNote:

    Captions will appear in your video only after you encode and view it. For more information about encoding see Encoding your media.

Do any of the following:

  • To change the time that a command appears, drag the marker corresponding to that command.

  • In the Script Commands category (in the Metadata panel), locate the marker that you want to adjust and, in the Time column, double-click the value and type a new one.

  • In the Script Commands category (in the Metadata panel), select the row that corresponds to the marker that you want to move. On the Timeline, drag the playhead to new time. Then, in the Script Commands panel, click Update Time.

  1. In an open job, click the Metadata tab on the right side of the application. If you can't see the Metadata tab, on the View menu, click Metadata.

  2. On the Metadata tab, click the arrow next to Script Commands to expand the options.

  3. In the cog menu, click Import. Browse to a script file, and then click Open.

  • In the Script Commands category (in the Metadata panel), locate the command that you want to delete, and then click the Click to delete script commands button.

  • In the cog menu, click Export. Browse to a location to save the file, and then click Save.

    Cc294717.alert_note(en-us,Expression.30).gifNote:

    Expression Encoder exports script commands as an XML file only. To create a .sami, .smi, or .dxfp file, you must use a third-party application.

Community Additions

ADD
Show:
© 2014 Microsoft