
Psi. Psi.FileName = this._processorExecutable ProcessStartInfo psi = new ProcessStartInfo() Path.GetTempPath(), inputFileName.Substring(inputFileName.LastIndexOf("\\")+1)) Internal void ConvertFile(string inputFileName, Guid taskID) Here is a sample of the actual ffmpeg call (note that I download the exe from a blob storage, to avoid bloating my azure package with external exe files, and to easily update the ffmpeg.exe when required): install OBS Studio on Ubuntu via the official PPA: sudo add-apt-repository ppa:obsproject/obs-studio sudo apt update sudo apt install ffmpeg obs-studio. You will find a lot of useful code there. Side note is that you can also use the Path.GetTempFileName() to get a temporary file name for your AAC / MP3 files, but I don't encourage to do so (even if I've done it before).Īs for the actuall ffmpeg running, you might want to browse the code for AzureVideoConv, which I've built some time ago. I suggest that you use a Local Storage Resource for your webrole where you can download the AAC files from the blob storage, and have them converted to MP3.
