Noctagon Posted August 14, 2008 Share Posted August 14, 2008 Hello everyone, I am looking for advice or suggestions on options for a system I am looking for. I am looking to have a whole stack of small audio files (probably mp3 format) on a server. I then need a system that creates an order of files to be joined (server side) then saved as a 1 merged file. As an example: Some code would take user input from a form and then generate a string that corresponds to files to be joined and in what order (File4, File23, File17, File7, etc). Then something server side would merge the files and save (as a new single file) the new file. Then, if at all possible, and I don't like my chances but you never know, that single merged file to be re-writen with another file merged to it on another audio track such that it complimented the existing file instead of being attached to the end of it. I look forward to any and all feedback and or suggestions. Cheers, Noc Quote Link to comment https://forums.phpfreaks.com/topic/119603-advice-needed-special-type-of-system-required/ Share on other sites More sharing options...
zq29 Posted August 14, 2008 Share Posted August 14, 2008 Assuming your running *NIX on the server, you can merge the mp3 files with the CLI tool sox, or more crudely with cat. Quote Link to comment https://forums.phpfreaks.com/topic/119603-advice-needed-special-type-of-system-required/#findComment-616301 Share on other sites More sharing options...
Daniel0 Posted August 14, 2008 Share Posted August 14, 2008 Are you sure it'd work with cat? What about the headers? Quote Link to comment https://forums.phpfreaks.com/topic/119603-advice-needed-special-type-of-system-required/#findComment-616371 Share on other sites More sharing options...
zq29 Posted August 14, 2008 Share Posted August 14, 2008 Are you sure it'd work with cat? What about the headers? Ah of course, cat doesn't work... My bad. Quote Link to comment https://forums.phpfreaks.com/topic/119603-advice-needed-special-type-of-system-required/#findComment-616378 Share on other sites More sharing options...
tibberous Posted August 14, 2008 Share Posted August 14, 2008 Memcoder and FFMPEG both do it with video, probably do it with audio too. I'd use one of those two, since you'll have the ability to do stuff later on like switch bit rates and convert between formats. I'd look at memcoder first. I used FFMPEG and couldn't find a way to suspend it - makes it pretty useless for AV encoding on the web. And if you figure out how to get it to encode audio, in the background, when a user views a web page, maybe you could post how here? Quote Link to comment https://forums.phpfreaks.com/topic/119603-advice-needed-special-type-of-system-required/#findComment-616414 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.