Page 1 of 1

Specific libVLC compilation

Posted: 11 Sep 2015 16:41
by TomasValenta
Hello,

it's possible to compile only part of libVLC, eg. only "some specific codecs"? Because I need only support RTSP, HLS and MPEG-2 TS. It's this possible?

Thank you

Re: Specific libVLC compilation

Posted: 11 Sep 2015 22:28
by Rémi Denis-Courmont
To some extent, but it is irrelevant. You are better off only taking the plugins that you actually need, after compilation.

Re: Specific libVLC compilation

Posted: 13 Sep 2015 00:34
by TomasValenta
Ok,

please tell me how? The compiled archive has these libraries inside:
Image

and only libvlcjni.so has 18,2MB size. So how you mean "only taking the plugins that you actually need"?

Re: Specific libVLC compilation

Posted: 13 Sep 2015 11:25
by Rémi Denis-Courmont
Those are not the files that you get out of a LibVLC build.

Re: Specific libVLC compilation

Posted: 13 Sep 2015 13:23
by TomasValenta
I use this "How-to" to compile libVLC and the output is libvlc-3.0.0.aar archive (../android/libvlc/build/outputs/aar). The image above are the libraries inside the archive. I have included this library/archive in my project and it's working fine, but is little bit big for my purpose, because I need support only for some specific codecs. So what files you mean?

Re: Specific libVLC compilation

Posted: 13 Sep 2015 14:06
by Rémi Denis-Courmont
You are building the JNI wrapper for LibVLC on Android, not LibVLC.

Re: Specific libVLC compilation

Posted: 13 Sep 2015 18:23
by TomasValenta
Ok,
sorry for that, my mistake ;) So, is there a way to customize this build?

Re: Specific libVLC compilation

Posted: 28 Sep 2015 22:16
by TomasValenta
No idea how to customize the JNI wrapper for LibVLC?

Re: Specific libVLC compilation

Posted: 08 Oct 2015 16:23
by Jean-Baptiste Kempf
Yes, but it's a bit complex.