You could try the MP3 Class on PHPClasses. It features the following example:
require_once './class.mp3.php';
$mp3 = new mp3;
$mp3->cut_mp3('input.mp3', 'output.mp3', 0, -1, 'frame', false);
In this case, the 'frame' can be substituted with 'second' to base the cut on a time-frame.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…