Specific libVLC compilation

This forum is about all development around libVLC.
TomasValenta
Blank Cone
Blank Cone
Posts: 15
Joined: 23 May 2015 15:43

Specific libVLC compilation

Postby TomasValenta » 11 Sep 2015 16:41

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Specific libVLC compilation

Postby Rémi Denis-Courmont » 11 Sep 2015 22:28

To some extent, but it is irrelevant. You are better off only taking the plugins that you actually need, after compilation.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TomasValenta
Blank Cone
Blank Cone
Posts: 15
Joined: 23 May 2015 15:43

Re: Specific libVLC compilation

Postby TomasValenta » 13 Sep 2015 00:34

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"?

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Specific libVLC compilation

Postby Rémi Denis-Courmont » 13 Sep 2015 11:25

Those are not the files that you get out of a LibVLC build.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TomasValenta
Blank Cone
Blank Cone
Posts: 15
Joined: 23 May 2015 15:43

Re: Specific libVLC compilation

Postby TomasValenta » 13 Sep 2015 13:23

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Specific libVLC compilation

Postby Rémi Denis-Courmont » 13 Sep 2015 14:06

You are building the JNI wrapper for LibVLC on Android, not LibVLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TomasValenta
Blank Cone
Blank Cone
Posts: 15
Joined: 23 May 2015 15:43

Re: Specific libVLC compilation

Postby TomasValenta » 13 Sep 2015 18:23

Ok,
sorry for that, my mistake ;) So, is there a way to customize this build?

TomasValenta
Blank Cone
Blank Cone
Posts: 15
Joined: 23 May 2015 15:43

Re: Specific libVLC compilation

Postby TomasValenta » 28 Sep 2015 22:16

No idea how to customize the JNI wrapper for LibVLC?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Specific libVLC compilation

Postby Jean-Baptiste Kempf » 08 Oct 2015 16:23

Yes, but it's a bit complex.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 26 guests