Layer markers and composition markers



Use composition markers and layer markers to store comments and other metadata and mark important times in a composition or layer. Composition markers appear in the time ruler for the composition, whereas layer markers each appear on the duration bar of a specific layer. Both kinds of markers can hold the same information.

Markers can refer to a single point in time or to a duration.

Composition markers in After Effects correspond to sequence markers in Adobe Premiere Pro. Layer markers in After Effects correspond to clip markers in Adobe Premiere Pro.

When you render a composition that contains markers, the markers can be converted to web links, chapter links (chapter points), cue points, or Clip Notes comments, depending on the output format and values that you set in the marker dialog box. Markers can also be exported as XMP metadata. (See XMP metadata.)

The default comment for a composition marker is a number, whereas the default comment for a layer marker is nothing.

A marker that contains link or cue point data has a small dot in its icon.

A.
composition marker with duration of 1 second

B.
composition marker with cue-point data

C.
layer marker with duration of 2 seconds

D.
layer marker with cue-point data

Markers make it easier to align layers or the current-time indicator with specific points in time: When you drag a keyframe, the current-time indicator, or a layer duration bar in the Timeline panel, hold down Shift to snap these items to markers.

You can add markers during a RAM preview or audio-only preview, which allows you to place markers at significant points in the audio track of a layer.

  • To view or edit a data for a marker, double-click the marker, or right-click (Windows) or Control-click (Mac OS) the marker and choose Settings.

  • To move a marker to a different time, drag the marker or double-click it and enter a time in the dialog box.

  • To automatically create layer markers for a layer based on the temporal metadata in the layer’s source file, select the Create Layer Markers From Footage XMP Metadata preference in the Media & Disk Cache preferences category. This preference is on by default.

  • To resynchronize layer markers on a precomposition layer to corresponding composition markers for the source composition, right-click (Windows) or Control-click (Mac OS) a layer marker and choose Update Markers From Source. This command also removes any markers that you have added to the layer.

    Note: If the layer uses a file (rather than a composition) as its source, this command restores the layer markers to those representing the temporal XMP metadata for the source file.

If you add one composition to another, the original composition becomes nested as a layer in the containing composition. All of the composition markers from the nested composition become layer markers in the timeline of the containing composition. These markers are not linked to the original composition markers. Changes that you make to the composition markers in the original composition do not affect layer markers in the nested composition. For example, if you remove one of the original composition markers, the corresponding layer marker for the nested composition remains in place.

Scripts and expressions can read and use data stored in markers. Because XMP metadata for source footage items can be converted to layer markers, expressions and scripts can work with XMP metadata.

To view video tutorials on working with markers, cue points, and XMP metadata go to the Adobe website:

Composition markers

Composition markers appear as small triangles in the time ruler in the Timeline panel. You can have any number of composition markers in a composition.

If you remove a numbered composition marker, the other markers remain numbered as they were. If you change the comment from the default number, that number may be reused by a composition marker created later.

When you render a composition for comments using Adobe Clip Notes, the comments in composition markers are included as comments in the Clip Notes PDF. When you import the comments from a Clip Notes review back into After Effects, the reviewers’ PDF comments are converted back to composition markers.

There can be at most one composition marker beginning at each time. If you add or move a composition marker to start at the same point in time as another composition marker, the added or moved marker replaces the other marker. When Clip Notes comments are imported, if a comment begins at the same time as an existing composition marker, the comment is appended to the existing composition marker, rather than overwriting it.

  • To add a blank composition marker at the current time, make sure that no layer is selected, and choose Layer > Add Marker or press * (multiply) on the numeric keypad.
    Note: Pressing * during a RAM preview or audio-only preview adds a marker at the current time without interrupting the preview.
  • To add a composition marker at the current time and open the marker dialog box, make sure that no layer is selected, and press Alt+* (Windows) or Option+* (Mac OS) on the numeric keypad.
  • To add a composition marker from the bin, drag the marker from the Comp Marker Bin  button.
    Dragging a composition marker from the bin.

  • To add a numbered composition marker at the current time, press Shift + a number key (0–9) on the main keyboard.
    Note: If the number you press is already used by another composition marker, After Effects does not create a new marker. Instead, it moves the existing marker with that number to the new position.
  • To remove a composition marker, drag the marker to the Comp Marker Bin button or Ctrl-click (Windows) or Command-click (Mac OS) the marker.
  • To lock all composition markers on a composition, right-click (Windows) or Control-click (Mac OS) a marker on the composition, and choose Lock Markers.

Layer markers

Layer markers appear as small triangles on the duration bar of a layer. You can have any number of layer markers on a layer.

Layer markers are retained when you render and export a movie to an AVI or QuickTime container.

  • To add a layer marker to selected layers at the current time, choose Layer > Add Marker or press * (multiply) on the numeric keypad.
    Note: Pressing * during a RAM preview or audio-only preview adds a marker at the current time without interrupting the preview.
  • To add a layer marker at the current time and open the marker dialog box, press Alt+* (Windows) or Option+* (Mac OS) on the numeric keypad.
  • To remove a layer marker, Ctrl-click (Windows) or Command-click (Mac OS) the marker.
  • To remove all layer markers from selected layers, right-click (Windows) or Control-click (Mac OS) a marker, and choose Delete All Markers.
  • To lock all layer markers on a layer, right-click (Windows) or Control-click (Mac OS) a marker on the layer, and choose Lock Markers.
  • To replace all layer markers with markers containing temporal metadata from the source file for the layer, right-click (Windows) or Control-click (Mac OS) a layer marker and choose Update Markers From Source.

Web links, chapter links, cue points, and markers

You can associate a Uniform Resource Locator (URL) with a marker to create an automatic link to the site at that address. After Effects embeds this information within certain kinds of movies, including SWF, Windows Media, and QuickTime movies. When these movies are played in a web browser, the embedded URL is recognized, initiating a jump to the specified URL. You can target a specific frame in the site. For example, you can have specific web pages open when an instructional video reaches specific points in the movie. (See Render and export a composition as a SWF file.)

You can also associate a chapter reference point with a marker. Chapter links are similar to chapters used in CD‑ROM and DVD discs. Like the chapters of a book, a chapter link divides a movie into segments. Chapter links are supported in QuickTime and Windows Media movies.
Adobe Encore can read chapter references in After Effects layer markers when you export to the AVI or MPEG-2 file format or use Dynamic Link. To be compatible with DVD format, make sure that markers are at least 15 frames apart.

Cue points in FLV files can each have any number of parameters, each with a name and a value. You can only add three parameters using the marker dialog box. To work with more than three parameters, use the scripting interface.

To convert selected properties to cue point parameters in layer markers, choose File > Scripts > Convert Selected Properties To Markers.jsx. This script adds a layer marker on the layer at the same time as each keyframe for each selected property. The markers’ cue point parameters indicate the name of the property and its value at that time. If the selected property has an expression, a marker is created for each frame, with the values sampled at each frame.

On his blog on the Adobe website, Michael Coleman provides a demonstration of how to convert tracking data in After Effects into cue point data for use in Flash.

To create a web link, chapter link, or cue point from a marker, do the following:

  1. Double-click a marker to open the marker dialog box.
  2. Enter information in the appropriate boxes in the marker dialog box:
    • To create a web link, enter a Uniform Resource Locator in the URL box in the Chapter And Web Links area of the marker dialog box. To activate a specific frame in a site, enter the filename of the frame for Frame Target.

    • Enter the chapter name and number (if available) in the Chapter box in the Chapter And Web Links area of the marker dialog box.

    • Enter a name for the cue point, and names and values for any parameters. Select Event or Navigation to determine what kind of cue point to create.

Scripts and utilities for working with markers

Paul Tuersley provides a script on the AE Enhancers forum for splitting layers at layer markers.

Lloyd Alvarez provides scripts on the After Effects Scripts website that do the following:

  • Magnum, the Edit Detector automatically detects edits in a footage layer and places a layer marker at each edit (or splits the layer into a separate layer for each edit).

  • Zorro, the Layer Tagger allows you to tag layers and then select, shy, and solo layers according to their tags. The tags are appended to comments in the Comments column in the Timeline panel and can also be added as layer markers.

  • Layer Marker Rename and Number renames and numbers all markers on selected layers.

Jeff Almasol provides scripts on his redefinery website that do the following:

  • rd_CopyMarkers copies layer markers from one layer to any number of other layers.

  • rd_KeyMarkers creates new layer markers (either on the selected layer or on a new null layer) with comments that provide information about keyframes at the same times.

  • rd_MapTextFileToMarkers sets keyframes for the Source Text property of a text layer and sets the values to text from a text file. The keyframes are placed at times specified by layer markers on the text layer.

  • rd_MarkerNavigator creates a panel that makes navigating to markers and viewing their comments and other values very convenient.

  • rd_RemoveMarkers automatically removes markers from selected layers based on specified criteria (e.g., all markers in work area).

  • rd_Scooter creates a panel with controls for moving various combinations of items in time, including layer In point, layer Out point, layer source frames, keyframes, and markers.

  • rd_CountMarkers shows the number of markers on the selected layer.