Conversion M4A, MOV to MP3 file
Closed this issue · 0 comments
KkishanN commented
Currently my solution is working fine with video formats(mp4, wmv) and audio format(aac). I have a requirement to convert M4A and MOV file format to mp3. I'm using FFMPeg and FFMPegCore do perform these operation.
using FFMpegCore.Pipes;
using FFMpegCore;
await FFMpegArguments.FromUrlInput(new Uri(name))
.OutputToPipe(new StreamPipeSink(outputStream), options =>
options.ForceFormat("mp3").WithAudioCodec(FFMpegCore.Enums.AudioCodec.LibMp3Lame)).ProcessAsynchronously();
Currently I'm getting empty file with no data.
Expecting a valid mp3 file
conversion is working for both M4A and MOV files if it is local path but not for Url and stream