
doc.transformers.se_tpb_dtbAudioEncoder.html Maven / Gradle / Ivy
The newest version!
se_tpb_dtbAudioEncoder
Transformer documentation: se_tpb_dtbAudioEncoder
Transformer Purpose
The purpose of this transformer is to encode WAVE files (*.wav) into MP3 file (*.mp3)
in a DAISY/NISO 2005 or Daisy 2.02 DTB.
Input Requirements
A DAISY/NISO 2005 or Daisy 2.02 fileset.
Output
On success
A DAISY/NISO 2005 or Daisy 2.02 fileset, with all WAVE files converted into MP3.
On error
On error, this transformer will throw an exception and abort execution.
Configuration/Customization
Parameters (tdf)
- manifest
- Path to a Daisy 2.02 (ncc.html) or DAISY/NISO 2005 (.opf) manifest file.
- outDir
- The output directory.
- bitrate
- The bitrate of the encoded files. (default 32 kbit/s)
- stereo
- The stereo mode of the encoded files. (default mono)
- freq
- The sample rate of the encoded files. (default 22050 Hz)
- filesetType
- Specifies the type of the input fileset. (default Daisy 2.02)
Further development
This transformer could be extended to support multiple input and output audio formats.
The possibility to select a target fileset size instead of bitrate and frequency configuration
is another possible further development.
Dependencies
This transformer uses LAME for MP3 encoding. Refer to the LAME installation instructions
for information on how to install and configure LAME.
Author
Linus Ericson, TPB
Licensing
LGPL
© 2015 - 2025 Weber Informatics LLC | Privacy Policy