'How to use ffmpeg on iOS?

I have to use the following command for ffmpeg

ffmpeg -i "Video.mp4" -map 0:1 "AudioWithVocalfromStreamOne.mp3" -map 0:2 "AudioWithoutVocalfromStreamTwo.mp3"

I have successfully installed ffmpeg on my mac. I tried using FFMPEGWrapper, but it doesn't seem to take any such parameters for using "map".

I need to know how to extract the streams from a video. I already have access to the streams, as server side is providing it to me using ffprobe at their end.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source