[FFmpeg-user] unable to compile with libaacplus and libfdk-aac
bat guano
batguano999 at hotmail.com
Wed Oct 17 03:19:22 CEST 2012
> >
> > I suppose the following is unavoidable?
> >
>
> Hi
> It's a Windows thing.
> Linux FFmpeg builds OK with libaacplus and libfdk-aac
>
> @ubuntu:~$ ffmpeg
> ffmpeg version git-2012-10-05-cf5a98b Copyright (c) 2000-2012 the FFmpeg developers
> built on Oct 5 2012 04:00:15 with gcc 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
> configuration: --enable-gpl --enable-libaacplus --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree --enable-version3 --enable-x11grab
>
>
Hi
I have tested this too.
Cross-compiled FFmpeg with mingw-w64-i686.
libaacplus won't let FFmpeg build with libfdk-aac or libvo-aacenc. :-(
libaacplus lets FFmpeg build OK with libfaac though. :-)
@xubuntu:~/Desktop$ wine ./ffmpeg
ffmpeg version git-2012-10-16-24d6af0 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 16 2012 22:53:08 with gcc 4.7.1 (GCC)
configuration: --pkg-config=pkg-config --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --disable-w32threads --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --enable-gpl --enable-nonfree --enable-version3 --enable-libaacplus --enable-libfaac
libavutil 51. 76.100 / 51. 76.100
libavcodec 54. 66.100 / 54. 66.100
libavformat 54. 32.101 / 54. 32.101
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 19.103 / 3. 19.103
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.10
As I said previously, this is not a problem when compiling for Linux.
Just when cross-compiling for Windows.
Is the problem the fault of the libaacplus encoder?
Or is there something that can be done with FFmpeg to fix it?
It fails at the very end....
LD ffmpeg_g.exe
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x0): multiple definition of `bookSbrNoiseBalanceL11T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x11c4): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x20): multiple definition of `bookSbrNoiseBalanceC11T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x11e0): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0xa0): multiple definition of `v_Huff_NoiseLevelL11T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1260): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0xe0): multiple definition of `v_Huff_NoiseLevelC11T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x12a0): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x1dc): multiple definition of `bookSbrEnvBalanceL11F'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x139c): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x200): multiple definition of `bookSbrEnvBalanceC11F'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x13c0): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x264): multiple definition of `bookSbrEnvBalanceL11T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1424): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x280): multiple definition of `bookSbrEnvBalanceC11T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1440): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x300): multiple definition of `v_Huff_envelopeLevelL11F'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x14c0): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x340): multiple definition of `v_Huff_envelopeLevelC11F'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1500): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x440): multiple definition of `v_Huff_envelopeLevelL11T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1600): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x480): multiple definition of `v_Huff_envelopeLevelC11T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1640): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x580): multiple definition of `bookSbrEnvBalanceL10F'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1740): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x5c0): multiple definition of `bookSbrEnvBalanceC10F'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1780): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x6a0): multiple definition of `bookSbrEnvBalanceL10T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1860): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x6e0): multiple definition of `bookSbrEnvBalanceC10T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x18a0): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x7c0): multiple definition of `v_Huff_envelopeLevelL10F'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1980): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0x840): multiple definition of `v_Huff_envelopeLevelC10F'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1a00): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0xa40): multiple definition of `v_Huff_envelopeLevelL10T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1c00): first defined here
/home/user/builds/lib/libaacplus.a(sbr_rom.o):sbr_rom.c:(.rdata+0xac0): multiple definition of `v_Huff_envelopeLevelC10T'
/home/user/builds/lib/libfdk-aac.a(sbr_rom_enc.o):sbr_rom_enc.cpp:(.rdata+0x1c80): first defined here
collect2: error: ld returned 1 exit status
make: *** [ffmpeg_g.exe] Error 1
More information about the ffmpeg-user
mailing list