FFmpeg library error

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
xxjack12xx
Posts: 23
Joined: Fri Nov 16, 2007 5:48 am
Operating System: Please select

Re: FFmpeg library error

Post by xxjack12xx » Fri Mar 01, 2013 8:08 pm

I tried with --enable-dynamic-loading=no and only enabling ffmpeg and got this compile error.
audacity.txt
(604.71 KiB) Downloaded 106 times
config.log
(102.34 KiB) Downloaded 108 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?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: FFmpeg library error

Post by Gale Andrews » Sat Mar 02, 2013 2:43 am

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

pcbsd64
Posts: 2
Joined: Fri Oct 11, 2013 9:50 pm
Operating System: Please select

Re: FFmpeg library error

Post by pcbsd64 » Fri Oct 11, 2013 10:03 pm

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.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: FFmpeg library error

Post by Gale Andrews » Sun Oct 13, 2013 3:43 am

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply