I've got a lot of videos on a video platform called Brightcove. I can programmatically download them through an API into my web application. How can I programmatically create an image of a soundwave for the audio tracks in a movie? Are there open source libraries to do this? I'm using Linux, Apache, MySQL and PHP.
Additional Notes
Also, my videos can be in a wide range of formats...avi, mpg, mp4, flv etc...