LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with FFMPEG - please help (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-ffmpeg-please-help-4175468670/)

Guldstrand 07-06-2013 05:41 AM

Problem with FFMPEG - please help
 
I can't understand what's happend, but i can't use FFMPEG anymore. :(
I'm getting the following errors all the time:
Quote:

ffmpeg: relocation error: /usr/local/lib/libswresample.so.0: symbol av_get_packed_sample_fmt, version LIBAVUTIL_51 not defined in file libavutil.so.51 with link time reference
I hope that someone have some time to try helping me sort this out.

Thanks in advance...

eklavya 07-06-2013 08:40 AM

You haven't mentioned your distro but according to your details I am taking as you are using debian.

Quote:

$ sudo apt-get remove ffmpeg x264 libx264-dev
$ sudo apt-get install ffmpeg x264 libx264-dev
Now run this in your source directory of ffmpeg.
Quote:

./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab --enable-libxvid --enable-libvpx

Guldstrand 07-06-2013 12:27 PM

Sorry about that. Yes, i'm running Debian.
I've tried what you suggested, but i'm still getting the same error.
Quote:

ffmpeg: relocation error: /usr/local/lib/libswresample.so.0: symbol av_get_packed_sample_fmt, version LIBAVUTIL_51 not defined in file libavutil.so.51 with link time reference

John VV 07-06-2013 01:24 PM

from this
Quote:

/usr/local/lib/libswresample.so.0
with it in /usr/local it looks like you built it from the source code

if so
what options did you pass to it
-- the full build line you used would be helpful

Guldstrand 07-06-2013 01:37 PM

Quote:

Originally Posted by John VV (Post 4985293)
from this

with it in /usr/local it looks like you built it from the source code

if so
what options did you pass to it
-- the full build line you used would be helpful

I'm not sure what i did, and if i did anything.
I think the problem with FFMPEG occur, when i upgraded from Debian 6 to 7.

Can you, (or maybe someone else) please guide me on how to completely remove all instances av ffmpeg, and then install the very latest version?

Guldstrand 07-09-2013 09:33 AM

Can someone please, please explain how i can remove ALL instances of FFMPEG, and then install the very latest, (with support for most formats)?
A big thanks in advance!

eklavya 07-10-2013 12:38 AM

http://askubuntu.com/questions/16274...install-ffmpeg
http://ubuntuforums.org/showthread.php?t=1027724

If you have installed this using the guide
http://ffmpeg.org/trac/ffmpeg/wiki/U...mpilationGuide

See while updating the ffmpeg, they first remove it completely.


All times are GMT -5. The time now is 05:42 AM.