Jump to content

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


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/

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.