views:

42

answers:

2

I'm working on a project, using Python/Django running on a Virtual Private Server, which allows me a blank Linux server box that I can pretty much install whatever I need. The project must allow users to upload an uncompressed WAV file for others to download. These will most probably be served up using Amazon S3. I'm not expecting a massive amount of people to use this site, but obviously scalability is to be thought of.

I'm an intermediate developer, where wrapping my head around using Amazon S3 in Django has been a little bit of a struggle. So I'm looking for a simple and reliable as possible solution to my problem...

Once a user has uploaded an uncompressed WAV file, I would like something to convert this into an MP3 to be used as a preview on the site before another user choices to download it. I'm not really sure how to go about implementing such a feature... Like I say, a simple solution to this would be best for me. Something I can wrap my head around easily! (and to especially implement)

Could anyone offer a solution to this? I would appreciate a good explanation to the process so I can take it in the right direction. Any help is greatly appreciated.

A: 

gst can help you with the conversion, once the appropriate codecs are in place.

Ignacio Vazquez-Abrams
+1  A: 

Try ffmpeg e.g. something like this may work

$ ffmpeg -i audio.wav -acodec mp3 -ab 192k audio.mp3

See docs for more details

Anurag Uniyal
This could be the way to go actually... Thank you
littlejim84