noexcal Posted February 24, 2008 Share Posted February 24, 2008 Alright here is the deal. When a user uploads an mp3, I need php to check the bitrate. If the bitrate is bigger than 128kbps I need to reduce it to 128. Is this possible? well.. I know it is because other sites do it, But is it with php or something else. Quote Link to comment Share on other sites More sharing options...
tibiz Posted February 24, 2008 Share Posted February 24, 2008 maybe, you will need to learn the mp3 file format, and write an encoder / decoder in php Quote Link to comment Share on other sites More sharing options...
dave420 Posted February 25, 2008 Share Posted February 25, 2008 It's very easy to do this. You can use the open-source LAME utility to check the MP3 and to re-encode it if needed. It's pretty quick, too, and offers great results. Download it here: http://lame.sourceforge.net/download.php. If you're using Windows, get the binaries here: http://lame.bakerweb.biz/ Quote Link to comment 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.