Page 2 of 2

Re: FFmpeg library error

Posted: Fri Mar 01, 2013 8:08 pm
by xxjack12xx
I tried with --enable-dynamic-loading=no and only enabling ffmpeg and got this compile error.
audacity.txt
(604.71 KiB) Downloaded 107 times
config.log
(102.34 KiB) Downloaded 110 times
ffmpeg --version
ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 28 2013 18:48:28 with gcc 4.2.1 20070831 patched [FreeBSD]
configuration: --enable-x11grab --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --cc=cc --extra-cflags='-I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --enable-libaacplus --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libcelt --enable-libdirac --enable-libfaac --enable-libfreetype --enable-frei0r --enable-libgsm --enable-libmp3lame --enable-libopencv --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree --enable-version3
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.123. 0 / 52.123. 0
libavformat 52.111. 0 / 52.111. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0

Maybe it's how ffmpeg was configured? What are the default configure flags for ffmpeg on your build that works?

Re: FFmpeg library error

Posted: Sat Mar 02, 2013 2:43 am
by Gale Andrews
You don't as far as I know have to disable dynamic loading to link Audacity properly to FFmpeg.
xxjack12xx wrote:What are the default configure flags for ffmpeg on your build that works?

Code: Select all

--disable-ffplay --disable-ffprobe --disable-ffserver  --disable-avdevice  --disable-debug --disable-decoder=amrnb --disable-decoder=amrwb --disable-static  --disable-doc --enable-gpl --enable-nonfree --enable-version3  --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-pthreads --enable-libspeex  --enable-libgsm --enable-libmp3lame --enable-memalign-hack  --enable-shared
I thought libfaac was ripped out of FFmpeg now?

Basically if you are locally modifying anything for FreeBSD purposes you can break building or linking. For example has GCC been custom-patched as it appears?

What happens if you build FFmpeg 0.5?


Gale

Re: FFmpeg library error

Posted: Fri Oct 11, 2013 10:03 pm
by pcbsd64
ffmpeg version 0.7.13

I believe this the problem. I built ffmpeg version 0.10.8 with this Makefile. I also had to downgrade from x264-0.136.2358 to x264-0.125.2201 as a dep.

Then Audacity worked when linked to FFmpeg Library Version: F(53.32.100),C(53.61.100),U(51.35.100) in /usr/local/lib.

Re: FFmpeg library error

Posted: Sun Oct 13, 2013 3:43 am
by Gale Andrews
Thanks. It's noted in the Manual http://manual.audacityteam.org/o/man/fa ... html#linff that you may not be able to build Audacity against greater than FFmpeg 0.8.

We hope to be supporting a later FFmpeg version in the Audacity version after next (2.0.6) but it depends on the developer time that is available.


Gale