build vlc-2.2 with own live555

This forum is about all development around libVLC.
simon.roehrl
New Cone
New Cone
Posts: 4
Joined: 18 Aug 2016 13:46

build vlc-2.2 with own live555

Postby simon.roehrl » 18 Aug 2016 14:24

Hey,

I would like to build a minimal vlc to just play a h264 RTP stream. I'm using vlc-2.2 from git (4f12d2a2fd664c63da5cbd60f264167521a926d3). I configure with pretty much everything disabled. I enabled:

Code: Select all

--enable-live555 --enable-avcodec --enable-swscale --enable-xcb
When installing these dependencies from my distribution (kubuntu 16.04) everything works as expected.
My next step is to use my own version of live555. I built live555 with

Code: Select all

./genMakefiles linux make DESTDIR="/home/devel/live555/install" make install
To point vlc to use my own version I called configure with:

Code: Select all

--with-contrib=/home/devel/live555/install/usr/local
.
When I run ./configure it says that live555 is not present:

Code: Select all

checking for LIVE555... no configure: WARNING: No package 'live555' found. checking for live555 version 1324598400 or later... no configure: WARNING: live555 is missing or its installed version is too old: Version 2011.12.23 or later is required to proceed. You can get an updated one from http://www.live555.com/liveMedia . configure: error: Update live555 or pass --disable-live555 to disable RTSP input support.
I think I figured out why. configure.ac, line 1612:

Code: Select all

AS_IF([test -f "${CONTRIB_DIR}/include/UsageEnvironment.hh"], [
But the file UsageEnvironment.hh is located in another subfolder UsageEnvironment:

Code: Select all

${CONTRIB_DIR}/include/UsageEnvironment/UsageEnvironment.hh
When I change this, the output of ./configure is:

Code: Select all

checking for LIVE555... no configure: WARNING: No package 'live555' found. checking for live555 version 1324598400 or later... yes checking for main in -lliveMedia_pic... no checking for main in -lliveMedia... yes
I'm not sure if this is OK? Anyway, my application won't play the stream.

There are two questions:
1 Is this a bug in configure.ac?
2 What do I need to do to successfully build libvlc with my own copy of live555 library?

Kind Regards,
Simon

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

Re: build vlc-2.2 with own live555

Postby Rémi Denis-Courmont » 18 Aug 2016 14:44

It means you don't have the live555.pc file, so configure went through the legacy fallback for live555 detection. It's not an issue.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

simon.roehrl
New Cone
New Cone
Posts: 4
Joined: 18 Aug 2016 13:46

Re: build vlc-2.2 with own live555

Postby simon.roehrl » 18 Aug 2016 15:43

Thank you for your fast reply. Using the contrib-method for live555 ./configure shows the same message:

Code: Select all

checking for LIVE555... no configure: WARNING: No package 'live555' found. checking for live555 version 1324598400 or later... yes checking for main in -lliveMedia_pic... no checking for main in -lliveMedia... yes
And, again, no stream receive is possible. Do you have any idea? live555 is supposed to be statically linked to a vlc plugin (access/liblive555_plugin.so) using this method, right?

The first questions is answered, the second is not. I learned that either I need to use my distrubutors version or use the "contrib-method": https://wiki.videolan.org/UnixCompile#T ... .22_method

Cheers,
Simon

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

Re: build vlc-2.2 with own live555

Postby Rémi Denis-Courmont » 18 Aug 2016 16:52

I think you have answered the second question yourself, is all.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

simon.roehrl
New Cone
New Cone
Posts: 4
Joined: 18 Aug 2016 13:46

Re: build vlc-2.2 with own live555

Postby simon.roehrl » 18 Aug 2016 17:37

Well, yes. Building libvlc was successful.
Then another question arises: Why isn't working? And what do I have to do to get it working?

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

Re: build vlc-2.2 with own live555

Postby Rémi Denis-Courmont » 18 Aug 2016 18:04

I can't answer that question. Look at the logs, traces, debugger...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

simon.roehrl
New Cone
New Cone
Posts: 4
Joined: 18 Aug 2016 13:46

Re: build vlc-2.2 with own live555

Postby simon.roehrl » 25 Aug 2016 16:58

Thank you for your replies. Unsurprisingly it was my mistake. IP-Addresses have been wrong.
Cheers Simon

The topic may be closed.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 28 guests