Answer the question
In order to leave comments, you need to log in
How to merge many MP3 files into one in PHP?
Hello! There are several MP3 files. The task is to "glue" them into one long MP3 file. How can this be done in PHP?
Answer the question
In order to leave comments, you need to log in
Rough and ancient, but working version
pastebin.com/c27w6E2J
When you try - the main thing is to edit these lines do not forget
$mp3 = new mp3('1.mp3');
$mp3->striptags();
// Second file
$second = new mp3("2.mp3");
$mp3->mergeBehind($second);
$mp3->striptags();
$mp3->output('word.mp3');
And opening an mp3 file as a binary one and slowly merging data from all files into one will not work?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question