Jump to content

[SOLVED] converting mp3 to flv or swf on the server


thewooleymammoth

Recommended Posts

I have a music website where people can upload a mp3 and it will be displayed on thier profile page, similar to myspace music. My question is after they upload it is there a way to convert the mp3 to something more compatable with flash players, the main problem is this http://slocalmusic.com/view.php?n=The%20Usual%20Suspects2

the song on there is very scratchy sounding while the mp3 is not when its played in a non-flash program, if anyone could explain why that would be great, thanks

  • 3 weeks later...

Yes

Look at FFMPEG, LAME, Mencoder, Mplayer, etc

 

Google these. You will need to install the required apps on your server and learn to use them via command line. Conversion after upload will require the use of the exec() function to set off background processes so make sure your host allows this.

There are shared hosting packages available designed for media streaming with all the tools pre-installed if you have difficulty. Here are some http://phpmotion.com/content/view/43/189/

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.