What is the good process to compile vlc & co on ubuntu 10.04

*nix specific usage questions
IMS77
Blank Cone
Blank Cone
Posts: 13
Joined: 06 Jul 2011 16:38
Location: France

What is the good process to compile vlc & co on ubuntu 10.04

Postby IMS77 » 29 Aug 2011 11:09

Hi, I've tryed to compile vlc 1.2 with x264, ffmpeg and live555... from the git and svn in a virtualbox all the last week without success.
I want to test on an ubuntu server 10.04 without X screen the last versions and see if my problems are still here.
I'm merging a video record in h264 format and a wav record in one record with video and audio but I have some already known problems of synchronization with the v1.1.11. I'm working with libvlc and not with the graphical interface.
When the v1.2 is plan to be published ?

I'm not a beginner with linux but not comfortable with all the process to compile vlc. I have read many doc about but it's always changing. What is the last process in my case to have the be able to compile the very last version. How to apply patches, which patches need to be applyed...
This is the procedure i use to do it. Can someone tell me what's wrong ?

Code: Select all

1 - External libraries ======================= Get : - Autoconf version 2.60 or later - Automake version 1.9 or later - gettext version 0.16.1 or later - pkg-config - libtool - git - subversion sudo apt-get install libtool automake autoconf gettext subversion With ubuntu 10.10 : sudo apt-get install git With ubuntu 10.04 : sudo apt-get install git-core 2- Dependencies ======================= sudo apt-get build-dep vlc 3- Other libraires in case of 10.04 ======================= sudo apt-get -y install yasm faac libfaac-dev lame libmp3lame-dev lua5.1 4- Get VLC ======= git clone git://git.videolan.org/vlc.git cd vlc ./bootstrap 5- Get x264 =================== cd extras; git clone git://git.videolan.org/x264.git x264-trunk cd x264-trunk ./configure --prefix=/usr make 6- Get live555 ======================= Take the one from contrib to be compatible : ftp://ftp.videolan.org/pub/videolan/contrib/ Else to get the last from the official site cd extras; wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz tar xvzf live555-latest.tar.gz cd live sh genMakefiles linux; make 7- Get ffmpeg ======================= cd extras; svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg cd ffmpeg ./configure --prefix=/usr --enable-gpl --enable-pthreads --enable-libmp3lame --enable-libfaac --enable-nonfree make sudo make install 8- Compile VLC ============ On ubuntu 10.10 : mkdir build && cd build ../configure --prefix=/usr --enable-live555 --with-live555-tree=../extras/live --enable-x264 --with-x264-tree=../extras/x264-trunk --enable-run-as-root make sudo make install On ubuntu 10.04 : mkdir build && cd build ../configure --prefix=/usr --enable-live555 --with-live555-tree=../extras/live --enable-x264 --with-x264-tree=../extras/x264-trunk --enable-run-as-root --disable-vorbis --disable-mkv --disable-xcb make sudo make install

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: What is the good process to compile vlc & co on ubuntu 1

Postby Jean-Baptiste Kempf » 29 Aug 2011 11:59

It seems mostly fine...
However, if you want 1.2, I would suggest to use a newer ubuntu.
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.

IMS77
Blank Cone
Blank Cone
Posts: 13
Joined: 06 Jul 2011 16:38
Location: France

Re: What is the good process to compile vlc & co on ubuntu 1

Postby IMS77 » 29 Aug 2011 14:15

Thanks for your response. I can't update to a newer ubuntu.
What about vlc v1.2 and patches ?
I will try again to compile from the beginning... hope it will work this time !

IMS77
Blank Cone
Blank Cone
Posts: 13
Joined: 06 Jul 2011 16:38
Location: France

Re: What is the good process to compile vlc & co on ubuntu 1

Postby IMS77 » 30 Aug 2011 10:07

So it's done. All is compile again but I still have my problem with the live555 library.

Code: Select all

[0x96c4cd0] main demux debug: looking for access_demux module: 1 candidate [0x96c4cd0] main demux warning: cannot load module `/usr/lib/vlc/plugins/demux/liblive555_plugin.so' (/usr/lib/vlc/plugins/demux/liblive555_plugin.so: undefined symbol: _ZN10RTSPClient23sendGetParameterCommandER12MediaSessionPFvPS_iPcEPKcP13Authenticator) [0x96c4cd0] main demux error: corrupt module: /usr/lib/vlc/plugins/demux/liblive555_plugin.so [0x96c4cd0] main demux debug: no access_demux module matching "rtsp" could be loaded [0x96c4cd0] main demux debug: TIMER module_need() : 19.598 ms - Total 19.598 ms / 1 intvls (Avg 19.598 ms) [0x96cf828] main input debug: creating access 'rtsp' location='192.168.49.73/x=10.180.0.180', path='(null)' [0x96c4f40] main access debug: looking for access module: 0 candidates [0x96c4f40] main access debug: no access module matched "rtsp" [0x96c4f40] main access debug: TIMER module_need() : 0.769 ms - Total 0.769 ms / 1 intvls (Avg 0.769 ms) [0x96cf828] main input error: open of `rtsp://192.168.49.73/x=10.180.0.180' failed [0x96cf828] main input error: Your input can't be opened [0x96cf828] main input error: VLC is unable to open the MRL 'rtsp://192.168.49.73/x=10.180.0.180'. Check the log for details.
As i said, I get the library from contrib but with the last version of vlc 1.2 from git I've got this problem. What can I do ?

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

Re: What is the good process to compile vlc & co on ubuntu 1

Postby Rémi Denis-Courmont » 30 Aug 2011 10:57

Either you live555 version is buggy or you did not compile live555 correctly.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

IMS77
Blank Cone
Blank Cone
Posts: 13
Joined: 06 Jul 2011 16:38
Location: France

Re: What is the good process to compile vlc & co on ubuntu 1

Postby IMS77 » 30 Aug 2011 11:22

Maybe, where do you get your live555 library ?
I've tryed with the version from ftp (ftp://ftp.videolan.org/pub/videolan/contrib/) and from wget http://www.live555.com/liveMedia/public ... est.tar.gz

To compile live555 I just do this

Code: Select all

tar xvzf live555-latest.tar.gz cd live sh genMakefiles linux; make
And to configure vlc with live555 :

Code: Select all

../configure --prefix=/usr --enable-run-as-root --enable-shared \ --enable-live555 --with-live555-tree=../extras/live \ --enable-x264 --with-x264-tree=../extras/x264-trunk \ --disable-mkv --disable-xcb
I apply no patch, do I need ?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: What is the good process to compile vlc & co on ubuntu 1

Postby Sébastien Escudier » 30 Aug 2011 11:41

works fine here with http://www.live555.com/liveMedia/public ... est.tar.gz
without any patch.

IMS77
Blank Cone
Blank Cone
Posts: 13
Joined: 06 Jul 2011 16:38
Location: France

Re: What is the good process to compile vlc & co on ubuntu 1

Postby IMS77 » 30 Aug 2011 13:07

Thanks for you response !
I'm compiling this live555
Do I need to configure & compile again vlc after that ?
I've read on the live555 web site that maybe I need to copy in /usr/lib the directory live, do you ?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: What is the good process to compile vlc & co on ubuntu 1

Postby Sébastien Escudier » 30 Aug 2011 13:13

you need to reconfigure if you change the directory of live555
no need to copy in /usr/lib

IMS77
Blank Cone
Blank Cone
Posts: 13
Joined: 06 Jul 2011 16:38
Location: France

Re: What is the good process to compile vlc & co on ubuntu 1

Postby IMS77 » 30 Aug 2011 14:07

Ok so i still have my error.

live555 should be ok (I've downloaded it from the link above)
vlc is configure with this option :

Code: Select all

../configure --prefix=/usr --enable-run-as-root --enable-shared \ --enable-live555 --with-live55cd ../ --enable-x264 --with-x264-tree=../extras/x264-trunk \ --disable-mkv --disable-xcb
Then make and make install.

I can see that /usr/lib/vlc/plugins/demux/liblive555_plugin.so is up to date !
But when I run the application i still have :

Code: Select all

cannot load module `/usr/lib/vlc/plugins/demux/liblive555_plugin.so' (/usr/lib/vlc/plugins/demux/liblive555_plugin.so: undefined symbol: _ZN10RTSPClient23sendGetParameterCommandER12MediaSessionPFvPS_iPcEPKcP13Authenticator)
Are you sure there is no modification on this part ???
May be I missing some option with the configure, no ?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: What is the good process to compile vlc & co on ubuntu 1

Postby Sébastien Escudier » 30 Aug 2011 14:13

An error in live555 compilation, or I don't know...

ximoed
New Cone
New Cone
Posts: 2
Joined: 28 May 2012 15:30

Re: What is the good process to compile vlc & co on ubuntu 1

Postby ximoed » 28 May 2012 15:37

I am meeting the same question right now.... Have you found a way to solve it?

Code: Select all

[0x8e7c1b8] main demux warning: cannot load module `/usr/local/lib/vlc/plugins/demux/liblive555_plugin.so' (/usr/local/lib/vlc/plugins/demux/liblive555_plugin.so: undefined symbol: _ZN10RTSPClient23sendGetParameterCommandER12MediaSessionPFvPS_iPcEPKcP13Authenticator) [0x8e7c1b8] main demux error: corrupt module: /usr/local/lib/vlc/plugins/demux/liblive555_plugin.so [0x8e7c1b8] mod demux debug: MOD validation failed (ext=sdp)

IMS77
Blank Cone
Blank Cone
Posts: 13
Joined: 06 Jul 2011 16:38
Location: France

Re: What is the good process to compile vlc & co on ubuntu 1

Postby IMS77 » 29 May 2012 09:36

Sorry I don't remember exactly but I think no. I've tried many process and finish by installing vlc from the ppa from https://launchpad.net/~n-muench/+archive/vlc

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: What is the good process to compile vlc & co on ubuntu 1

Postby kmf31 » 29 May 2012 20:31

When you compile/install live555 you need to be careful to distinguish between 64 and 32 linux when creating the makefile using the script genMakefiles, i.e. either you do:

./genMakefiles linux

or

./genMakefiles linux-64bit

but I am not sure if this is the problem. I would also advise to try an older version of live555. However, officially the older versions are not available unless you find some rpm source package for some older linux (redhat or suse) or similar. For example
here:
http://download.videolan.org/pub/vlc/SuSE/12.1/src/
you find a version of live555 slightly older than the most recent one from their website and which works also for vlc 2.0 and I believe some older versions.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests