I suggest you use Local Storage Resource for your website, where you can download AAC files from blob storage and convert them to MP3. Then upload back to blob repository.
Please note that you can also use Path.GetTempFileName () to get the temporary file name for your AAC / MP3 files, but I do not encourage it (even if I did it before).
As with ffmpeg, you can view the AzureVideoConv code I created a while ago. You will find a lot of useful code here.
Here is an example of the actual ffmpeg call (note that I download exe from the blob repository to avoid inflating my azure package with external exe files and easily update the ffmpeg.exe file if necessary):
internal void ConvertFile(string inputFileName, Guid taskID) { string tmpName = string.Format( "{0}\\{1}.flv", Path.GetTempPath(), inputFileName.Substring(inputFileName.LastIndexOf("\\")+1)); ProcessStartInfo psi = new ProcessStartInfo(); psi.FileName = this._processorExecutable; psi.Arguments = string.Format(@"-i ""{0}"" -y ""{1}""", inputFileName, tmpName); psi.CreateNoWindow = true; psi.ErrorDialog = false; psi.UseShellExecute = false; psi.WindowStyle = ProcessWindowStyle.Hidden; psi.RedirectStandardOutput = true; psi.RedirectStandardInput = false; psi.RedirectStandardError = true; try {
NOTE The last project check is performed using the Windows Azure SDK 1.3
source share