thewooleymammoth Posted January 19, 2009 Share Posted January 19, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/141400-solved-converting-mp3-to-flv-or-swf-on-the-server/ Share on other sites More sharing options...
JonnoTheDev Posted February 3, 2009 Share Posted February 3, 2009 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/ Quote Link to comment https://forums.phpfreaks.com/topic/141400-solved-converting-mp3-to-flv-or-swf-on-the-server/#findComment-753614 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.