ffmpeg problem with libavformat.so

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
urbansond
Blank Cone
Blank Cone
Posts: 22
Joined: 26 May 2004 04:10

ffmpeg problem with libavformat.so

Postby urbansond » 26 May 2004 04:37

  • I have been trying to do streaming with ffmpeg for some time, but their last stable version, where the server works, is not up to speed with CVS, where the server is broken, still.

    I installed vlc-0.7.2, onto Linux 2.4, Slackware 9.1

    Since ffmpeg was pre-existing but not setup as shared, I went back in and re-configured ffmpeg as follows...

    ./configure --enable-shared --enable-mp3lame --disable-ffplay --enable-pp

    My ffmpeg is located in /home/ffmpeg-0.4.8

    I installed /home/libdvdcss-1.2.8, m4-1.4 and libmpeg2 at /usr/local/lib

    I then installed vls as follows ...

    ./configure --enable-v4l --disable-mad --with-ffmpeg-tree=/home/ffmepg-0.4.8

    When I launched VLS, I get back "vlc: error while loading shared libraries: libavformat.so: cannot .... No such file or directory"

    :?: Is there another manner by which I have to point VLS to ffmpeg at my home directory? libavformat.so does exist in the libavformat subdirectory.

    Thank you in advance,

    Mike

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 26 May 2004 12:52

Are you using VLC or VLS?

And the problem comes from the fact that you have ffmpeg installed on your OS and at the same time are telling VLC to look for it in /home/ffmpeg.

however libraries in /usr/local/lib take precedence over those in /home/ffmpeg therfore you get versioning conflicts between the two ffmpeg's.
Don't use PMs for support questions.

urbansond
Blank Cone
Blank Cone
Posts: 22
Joined: 26 May 2004 04:10

That's a little confusing

Postby urbansond » 26 May 2004 15:47

Thank you Jd, I'm using VLC, (Doah!)

It seems, the error messages is correct when it says "No such file", as libavformat.so, does not appear in /usr/local/lib. Is that because of the explicite tree command I configured it with, pointing it directly to ffmpeg, in home? I'm pretty sure one of the docs said to do this.
./configure --enable-v4l --disable-mad --with-ffmpeg-tree=/home/ffmepg-0.4.8
Since that time, I configured and made, but did not install, the current cvs of ffmpeg, under the vlc directory and pointed tree to that, also to no avail, same error.

What do you recommend, I should do differently? Moving a copy of libavformat.so into /usr/local/lib did not help.

I was under the impression the vlc system required ffmpeg. Are you suggesting to uninstall ffmpeg from the system and just place the stated libraries as part of the vlc installation?

I do use ffmpeg on occassion for certain things I will be doing, so your advise on how to correct the problem with an active install of ffmpeg or and indication of what other data you would need, would help.

If you need me to strip the installs completely and reconfigure, I can do that, but it seems I'm not understanding the process, completely from the installation guides.

Please clarify, thank you.

Mike

urbansond
Blank Cone
Blank Cone
Posts: 22
Joined: 26 May 2004 04:10

Resolved

Postby urbansond » 26 May 2004 19:57

Issue closed, solution was found as follows...

Unistalled older last stable version of ffmpeg.
Reinstalled newer cvs ffmpeg, in subdir of vlc, make install fully
recompiled vlc as ...

./configure --enable-v4l --disable-ogg --disable-vorbis--enable-alsa --with-ffmpeg-mp3lame, make and make install.

Explicite pointer to ffmpeg was removed from the prior configure cmdline, = working now.

Thank you, JD

On to testing - Mike


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests