I am trying to find a way to ensure that all the content uploaded by my companies customers is formatted properly for MMS messages.

audio is in the correct format - .amr? .mp3? whatever the standard is
video is in mp4 format
and images are sized properly (ImageMagick - Mogrify is a possible solution)

I plan on using PHP to write a script that checks the uploaded data and if it is not correctly formatted then performs the proper conversions.

I need to run the encoder/decoder through PHP but I cannot find a tool to use. I tried looking for MMSConverter but to no avail, and I am not sure that is the right tool for the job.

If anyone has any advice it would be greatly appreciated.


and Thanks in advance.