libvlc disable features?

This forum is about all development around libVLC.
8eios
New Cone
New Cone
Posts: 1
Joined: 14 Apr 2017 04:26

libvlc disable features?

Postby 8eios » 03 May 2017 01:22

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.

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: libvlc disable features?

Postby ssbmaccom » 17 May 2017 18:01

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.

KrisMar
Blank Cone
Blank Cone
Posts: 12
Joined: 15 May 2017 23:26

Re: libvlc disable features?

Postby KrisMar » 30 May 2017 10:07

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 :)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 41 guests