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.
Best method of using FFMpeg for IOS is the MobileFFMpeg Library.
Here is the source: https://github.com/tanersener/mobile-ffmpeg
It is available as a pod pod 'mobile-ffmpeg-full', '~> 4.3'
Make sure to get appropriate FFMpeg license. Different licenses have different libs
License to choose from: min min-gpl https https-gpl audio video full full-gpl