Page 1 of 1

libvlc disable features?

Posted: 03 May 2017 01:22
by 8eios
Hello,

I have successfully managed to compile libvlc for android. I plan to use it only for online mp3 streaming. How can I disable features during compiling and reduce library size?
Has anyone done that before for this use? Will I see a significant size change?

Thank you.

Re: libvlc disable features?

Posted: 17 May 2017 18:01
by ssbmaccom
When you built it as static library, the linker will discard unreferenced object files inside libVLC.
In my case(using VLCKit statically linked for tvOS for video playback) the final App is about 40 MByte in size - libVLC/VLCKit as static library is much bigger (~400 MByte).

Just check the final App size.

Re: libvlc disable features?

Posted: 30 May 2017 10:07
by KrisMar
I think you should check compile libvlc sh where you'll find --enable/disable-this-and-that,
I havent tried changing anything, but I bet thats what it's there for :)