wingchunnt Posted October 2, 2015 Share Posted October 2, 2015 I'm wondering if it's possible to place an automatic audio tag of my choosing ontop of every .mp3 file uploaded to a mp3 player that will be displayed on my page.For example, lets say you are on my site and you'd like to hear a file that another user uploaded to the mp3 player. So, you press play. Well as you're listening to it, I want my sites audio tag/watermark to play with ontop of every audio file in 30 sec. intervals.If this is possible how can I go about doing this? Quote Link to comment https://forums.phpfreaks.com/topic/298412-i-need-a-unique-solution/ Share on other sites More sharing options...
wingchunnt Posted October 2, 2015 Author Share Posted October 2, 2015 just to make it clear, I'd like this feature to be automatically placed on every upload to an mp3 player. Quote Link to comment https://forums.phpfreaks.com/topic/298412-i-need-a-unique-solution/#findComment-1522160 Share on other sites More sharing options...
scootstah Posted October 3, 2015 Share Posted October 3, 2015 I don't believe that is possible with PHP. You're going to want to find some kind of command line library that can process and encode MP3's. You can then call that from PHP. Quote Link to comment https://forums.phpfreaks.com/topic/298412-i-need-a-unique-solution/#findComment-1522163 Share on other sites More sharing options...
seandisanti Posted October 3, 2015 Share Posted October 3, 2015 You may be able to use LAME: http://lame.sourceforge.net/about.php It may take a little work and some back end processing, but I think you may be able use the streaming encoding of lame via PHPLAME https://github.com/b-b3rn4rd/phplame Quote Link to comment https://forums.phpfreaks.com/topic/298412-i-need-a-unique-solution/#findComment-1522170 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.