problem with ffmpeg port

C. P. Ghost cpghost at cordula.ws
Tue Jul 27 01:28:22 UTC 2010


On Tue, Jul 27, 2010 at 1:07 AM, John Francis Lee <jfl at robinlea.com> wrote:
> Thanks... I did that and ffmpeg did install!
>
> But...
>
> [jfl at 28amen ~/www/robinlea.com]$ ffmpeg -i introduction.wav introduction.mp3
> FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
>  built on Jul 26 2010 22:42:00 with gcc 3.4.6 [FreeBSD] 20060305
>  configuration: --prefix=/usr/local --mandir=/usr/local/man
> --enable-shared --enable-gpl --enable-postproc --enable-avfilter
> --enable-avfilter-lavf --enable-pthreads --enable-x11grab
> --enable-memalign-hack --cc=cc
> --extra-cflags=-I/usr/local/include/vorbis -I/usr/local/include
> --extra-ldflags=-L/usr/local/lib --extra-libs=-pthread --disable-debug
> --disable-sse --disable-mmx --enable-libopencore-amrnb --enable-version3
> --enable-libopencore-amrwb --enable-version3 --enable-libdirac
> --enable-libfaac --enable-nonfree --enable-libfaad --enable-libfaadbin
> --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
> --enable-libschroedinger --enable-libspeex --enable-libtheora
> --enable-libvorbis --enable-libx264 --enable-libxvid
>  libavutil     50.15. 1 / 50.15. 1
>  libavcodec    52.72. 2 / 52.72. 2
>  libavformat   52.64. 2 / 52.64. 2
>  libavdevice   52. 2. 0 / 52. 2. 0
>  libavfilter    1.19. 0 /  1.19. 0
>  libswscale     0.11. 0 /  0.11. 0
>  libpostproc   51. 2. 0 / 51. 2. 0
> Bus error: 10 (core dumped)

Hmmm... did you get a ffmpeg.core? If so, what does
  $ gdb `which ffmpeg` ffmpeg.core
followed by 'bt' say? (backtrace)

(that's two backquotes around "which ffmeg")

You may also have some confusion w.r.t. shared libraries.
Have a look at
  $ ldd `which ffmpeg`
If you see one library with two different versions in this list,
your ffmpeg will likely dump core because it is linked
against incompatible libraries.

Of course, it could also be something entirely unrelated
and different.

> I had had a look at the manpage for portupgrade and saw a reference to
>
>  pkgdb -F
>
> So I ran that I and noticed a duplicated origin for archivers/xz :
>
>  Duplicated origin: archivers/xz - lzmautils-4.32.7 xz-4.999.9_1
>
> and so unregistered lzmautils-4.32.7
>
> then
>
>  cd /ports/multimedia/ffmpeg
>  sudo make deinstall
>  sudo make install

Have you recompiled ffmpeg after removing lzmautils-4.32.7?
In the listing above, it looks like you simply reinstalled the already
compiled ffmpeg (compiled prior to cleaning up lzmautils that is)?

> but ffmpeg still dumps core.
>
> Any further suggestions?
>

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/


More information about the freebsd-questions mailing list