Jump to content

PHP and audio


play_

Recommended Posts

I'd like to convert mp3's and possibly other audio formats into AAC, and clip/trim the audio file.

 

Should i use CGI for this or the exec() and pass the file to another program in the server that will do this?

 

Never really touched exec() but have heard horrible things about it.

 

Or is it possible to do this via PHP alone?

 

And, how can i check to verify the file is either mp3 (or WAV, for example)? Trying to check beyond the extension here. (i use exif_imagetype for images..wondering how to get the same kind of verification with audio)

 

thanks.

Link to comment
https://forums.phpfreaks.com/topic/193303-php-and-audio/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.