Combine/Concatenate MP3s on Server Using PHP

前端 未结 4 579
抹茶落季
抹茶落季 2020-12-11 06:59

I have a site that will be hosting small MP3 files.

I want to create a utility that will allow me to combine the mp3 files together to create a single MP3 file.

4条回答
  •  心在旅途
    2020-12-11 07:32

    There is an library called getID3. It has the ability to join multiple MP3 files into one , although I have never used this functionality. There is an demo available at the Source Forge site of getID3 here http://getid3.sourceforge.net/source/demo.joinmp3.phps. It seems that it works around without using any command line system calls.

    I have used this library for getting lengths and other data from various media formats. It worked like a charm. However, as said, I have not tested the CombineMultipleMP3sTo() function in it...

    You should test this as if it would work for you it would be a far easier option than LAME (which is powerful yet rather complicated to use in my opinion).

提交回复
热议问题