quertion for compiling VLC on ubuntu-0.9.4

*nix specific usage questions
eric.gl.CN
Blank Cone
Blank Cone
Posts: 51
Joined: 19 Mar 2009 03:18

quertion for compiling VLC on ubuntu-0.9.4

Postby eric.gl.CN » 04 Feb 2010 07:32

hi pals,
I have tried compile VLC player on ubuntu-0.94 myself, I use vlc-1.0.1.
at first I have download some tool like build-essential, automake, libtool......
then I have configure the VLC using this configure shell

Code: Select all

./configure \ --enable-live555 \ --enable-faad \ --disable-x264 \ --disable-qt4 \ --disable-x11 \ --disable-skins2 \ --disable-zvbi \ --disable-taglib \ --disable-activex \ --disable-sout \ --disable-lua \ --disable-httpd \ --disable-vlm \ --disable-taglib \ --disable-audioscrobbler \ --disable-dvdnav \ --disable-dvbpsi \ --disable-libcdio \ --disable-libcddb \ --disable-cdda \ --disable-dvb \ --disable-vcd \ --disable-mkv \ --disable-gme \ --disable-wma-fixed \ --disable-mad \ --disable-libtar \ --disable-libsysfs \ --disable-a52 \ --disable-libmpeg2 \ --disable-vorbis \ --disable-speex \ --disable-schroedinger \ --disable-fluidsynth \ --disable-telx \ --disable-xinerama \ --disable-opengl \ --disable-freetype \ --disable-fribidi \ --disable-fontconfig \ --disable-wince \ --disable-remoteosd


then I have download ffmpeg and compile it by support all the decoders and make install it to /usr/local/lib

Code: Select all

./configure \ --disable-mmx \ --enable-small \ --disable-debug \ --disable-stripping \ --enable-postproc \ --enable-gpl
it includes llibavcodec.a libacformat.a libavutil.a libswscale.a libpostproc.a. Cause I use the default confiugure, So it will have all the decoder that ffmpeg support.

then I go to /PATH/VLC/ and make, make install.
all thing is right.

then, I use the command : vlc rtsp://@172.21.2.131:554/rtsp_feed.avi to play the liveview
the problem comes, the vlc generate an error: no suitable decoder module for fourrc "mp4v".By the way , the audio is all right.
but I am sure to make the ffmpeg support MPEG4 when I config ffmpeg.The problem is headache, cause when I use libavcodec.a, libavformat.a which install through apt-get, VLC can play the liveview all right.

So , what is wrong when I compile the ffmpeg ? any one know it can help me?
Thanks a lot

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: quertion for compiling VLC on ubuntu-0.9.4

Postby Jean-Baptiste Kempf » 04 Feb 2010 12:02

Use PKG_CONFIG_PATH before configuring.
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.

eric.gl.CN
Blank Cone
Blank Cone
Posts: 51
Joined: 19 Mar 2009 03:18

Re: quertion for compiling VLC on ubuntu-0.9.4

Postby eric.gl.CN » 05 Feb 2010 03:37

Thanks for j-b,
the situation is:
I have already make and make install the ffmpeg source. the INSTALLDIR is /usr/local/lib and /usr/local/include
then I go on make the VLC using my compiled ffmpeg library, and it successful. VLC can find the lib and headers.

your means that what I do is not enough? I must export PKG_CONFIG_PATH before I configure ffmpeg?like
PKG_CONFIG_PATH=/usr/local/lib/pkg_config
exprot PKG_CONFIG_PATH
is this right?

but I have a question. VLC have already find the ffmpeg lib and header and it make successful, why I must have to use the PKG_CONFIG_PATH? PKG_CONFIG_PATH has relationship with this problem:" no suitable decoder module for fourrc "mp4v"

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: quertion for compiling VLC on ubuntu-0.9.4

Postby Jean-Baptiste Kempf » 05 Feb 2010 08:20

PKG_CONFIG_PATH=/usr/local/lib/pkg_config ./configure...

If you have the libavcodec.pc in /usr/local/lib/pkg_config
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.

eric.gl.CN
Blank Cone
Blank Cone
Posts: 51
Joined: 19 Mar 2009 03:18

Re: quertion for compiling VLC on ubuntu-0.9.4

Postby eric.gl.CN » 09 Feb 2010 04:32

Thanks for j-b.
I will try as you told. thaks.


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

Who is online

Users browsing this forum: No registered users and 30 guests