Step epub3-create-mediaoverlays {http://www.daisy.org/ns/pipeline/xproc}

Create SMIL documents from a set of HTML documents and audio clips.

Defined in: http://www.daisy.org/pipeline/modules/epub-utils/library.xpl

Input Ports

Port Description
source.fileset primary
source.in-memory sequence

The source fileset with HTML documents.

audio-map

The d:audio-clips document from the TTS step

Output Ports

Port Description
result.fileset primary
result.in-memory sequence

The result fileset with the SMIL and audio files.

original-audio.fileset

The original audio files

Copies of the audio files are added to "fileset.out". Later on, when the EPUB is stored, the document on this port can be passed to px:fileset-delete to clean up the original files (or skip it to keep the original files).

Options

Local Name Namespace URI Default Description
audio-dir

Directory for the audio files.

flatten true()

Whether to place audio files directly under audio-dir, or preserve the directory structure from the input. When set to false, the base URI of the audio-map input determines the base of the audio folder structure.

anti-conflict-prefix ''
mediaoverlay-dir

Directory for the SMIL files.