Page 1 of 1

Extracting audio from video

Posted: 12 Sep 2017 21:04
by weallblind
Hi,
I managed to play video files
with mobileVlcKit.
What I really need to do is
get audio tracks extracted from
Video file such as avi, mkv..

I could do this for apple supported
Format (like mp4) with AvAsset exportsession,
But I cant with other unaupported video.

Vlckit doesnt have that feature?

Re: Extracting audio from video

Posted: 13 Sep 2017 11:33
by fkuehne
No, there is no way to get raw audio samples from VLCKit at this point. This is absolutely doable, but no-one contributed such a patch so far.

Re: Extracting audio from video

Posted: 14 Sep 2017 03:30
by weallblind
No, there is no way to get raw audio samples from VLCKit at this point. This is absolutely doable, but no-one contributed such a patch so far.
Thanks..
There's still no way even if it doesn't have to be raw samples ?.
i.e any audio that can be playable (mp3, m4a..) should be good enough.

I know I can simply do it with command line,
but as it's mobile app I'm making, it's not available.

Re: Extracting audio from video

Posted: 14 Sep 2017 14:05
by fkuehne
Sorry, but this is not supported with MobileVLCKit at this point. You can of course use the command-line Interface as a hack through media playback options, but this is no supported scenario.