Step audio-transcode {http://www.daisy.org/ns/pipeline/xproc}

Transcode audio files.

Defined in: http://www.daisy.org/pipeline/modules/audio-common/library.xpl

Input Ports

PortDescription
source primary

Input fileset.

Output Ports

PortDescription
result primary

Copy of the input fileset with all the audio files that are matched by the "media-types" and "not-media-types" filters replaced by transcoded versions of those files.

mapping

A d:fileset document that contains the mapping from the original audio files (@original-href) to the transcoded versions (@href). The d:file elements can have an optional d:clip child with attributes clipBegin, clipEnd, original-clipBegin and original-clipEnd, to indicate if the audio contained in the original audio file starts at an offset within the transcoded audio file. The attributes values are positive and are expressed in seconds (with millisecond precision).

Options

Local NameNamespace URIDefaultDescription
media-types'audio/*'

Space separated list of white-listed media types. Suppports the glob characters '*' and '?'.

Matched files are expected to be audio files and stored on disk.

not-media-types''

Space separated list of black-listed media types. Suppports the glob characters '*' and '?'.

new-audio-file-type required

The desired file type of the transcoded audio files, specified as a MIME type.

new-audio-dir''

URI of the folder within the output fileset that should contain the transcoded audio files.

If not specified or empty, will use the deepest common directory that contains all the matched files.

The actual files will be stored in a temporary location.

temp-dir''

If not empty, this directory will be used to store audio files. The directory must not exist yet.