ePages 7.1.0 - DE_EPAGES/Core/API/MP3.pm

Package DE_EPAGES::Core::API::MP3

Module with methods for MPEG 1 Layer 3 (mp3) audio files.

@EXPORT_OK
CutMp3

Functions

CutMp3

CutMp3

Extracts the given time segment from a mp3 (MPEG 1 Layer 3) file and writes the result into a target file.

Syntax
CutMp3($Mp3File, $TargetFile, $Start, $End, $DownloadProductMapObject);
Input
$Mp3File (string)
full file path and name to a mp3 audio file
$TargetFile (string)
full file path and name where to save the cut result
$Start (string)
start time in the mp3, in format 'MM.SS' (minutes.seconds)
$End (string)
end time in the mp3, in format 'MM.SS' (minutes.seconds)
$DownloadProductMapObject (object.ref)
reference to the according DownloadProductMap