AudioTranscodingFolderToFolder Workflow
This workflow reads audio files from a source folder and transcodes them to another folder.
The workflow is usually configured via a Workflow Folder Watcher. Please see Configuring Workflow Folder Watcher for more information.
Located in DpeTemplates 2.x under AllCustomers/AudioTranscoding/AudioTranscodingFolderToFolder.
Workflow Arguments
Name Type | Description |
---|---|
Arg_File System.String | Input file. |
TargetAudioDirectory System.String | Target directory for the converted audio file. |
TargetAudioFormat System.String | Audio format specified in Audio32 section string syntax. Default: "[FILETYPE]RAW[FORMAT]MPEG-LAYER3" |
TargetAudioExtension System.String | File extension (including leading dot) Default: .mp3 |
TargetReportDirectory System.String | Optional directory for report files. If unset no report file will be written. |
DeleteSource System.Boolean | Delete the source file after processing. Default: false |
OverwriteExisting System.Boolean | If true, overwrite existing files. If false the report file is stored with an additional date time part in the name. Default: true |
ErrorFailsWorkflow System.Boolean | If true, an error leads to setting the state of the workflow to failed. Default: true |
Report Format
Report filename body equals input filename body. Extension is ".xml". Encoding is UTF-8.
If OverwriteExisting is false and a report file exists already the report filename is extended with a date+time stamp, e.g. filenameBody_20200325_120039.xml.
<?xml version="1.0" encoding="utf-8"?>
<TranscodingJobResult>
<AudioFilename>\\vm-dpedemo\Pub\AudioOut1\test50mb.mp3</AudioFilename>
<Status>Ok</Status>
<Message></Message>
<Start>2020-03-25T09:26:56.6563874+01:00</Start>
<End>2020-03-25T09:27:21.8470589+01:00</End>
</TranscodingJobResult>
Example Config
Example Audio32 Formats
Name | Section String |
---|---|
HiRes 1 | [FILETYPE]WAV[FORMAT]LINEAR[SAMPLERATE]96000[RESOLUTION]24[MODE]STEREO |
HiRes 2 | [FILETYPE]WAV[FORMAT]LINEAR[SAMPLERATE]44100[RESOLUTION]16[MODE]STEREO |
LowRes 1 (Broadcast) | [FILETYPE]WAV[FORMAT]MPEG-LAYER2[SAMPLERATE]48000[BITRATE]384[MODE]STEREO |
LowRes 2 (Web) | [FILETYPE]MPEG4[FORMAT]AAC[SAMPLERATE]96000[BITRATE]192[MODE]STEREO |