Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mavericks help #20

Closed
dvdgorila opened this issue Oct 28, 2013 · 7 comments
Closed

mavericks help #20

dvdgorila opened this issue Oct 28, 2013 · 7 comments

Comments

@dvdgorila
Copy link

I am having issues setting this up w/ Mavericks.

I've tried installing ffmpeg with brew, however it appears that brew doesn't fully support the Xcode version that ships with mavericks.

Error: Homebrew doesn't know what compiler versions ship with your version of
Xcode.

I found a precompiled version of ffmpeg but apparently its not compiled with fdk_aac
http://ffmpegmac.net ffmpeg pre compiled

I receive the following in the ffmpeg log while trying to play any stream via wallop...

[mpeg2video @ 0x7f9c7501d200] Invalid frame dimensions 0x0.
Last message repeated 8 times
Unknown encoder 'libfdk_aac'

If anyone has had luck compiling ffmpeg in Mavericks can you point me in the right direction.

Thanks in advance!!

@tmm1
Copy link
Collaborator

tmm1 commented Oct 28, 2013

You'll need to install the command line utils. Try xcode-select --install

@dvdgorila
Copy link
Author

ok, ive made progress by reinstalling brew and running the command line tools but now libacc gives me an error

/autogen.sh --disable-dependency-tracking --prefix=/usr/local/Cellar/libaacplus/2.0.2 --disable-libtool-lock
==> make
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [aacplusenc] Error 1

@maddox
Copy link
Owner

maddox commented Oct 30, 2013

Yup, I got that too. I'll investigate.

@maddox
Copy link
Owner

maddox commented Oct 30, 2013

==> Installing ffmpeg dependency: libaacplus
==> Downloading http://217.20.164.161/~tipok/aacplus/libaacplus-2.0.2.tar.gz
######################################################################## 100.0%
==> Patching
patching file configure.ac
==> ./autogen.sh --disable-dependency-tracking --prefix=/usr/local/Cellar/libaacplus/2.0.2 --disable
==> make
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [aacplusenc] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

@maddox
Copy link
Owner

maddox commented Oct 30, 2013

Building from scratch failed too.

wget http://217.20.164.161/~tipok/aacplus/libaacplus-2.0.2.tar.gz
tar xzf libaacplus-2.0.2.tar.gz
cd libaacplus-2.0.2
# libtool on osx is quite different from the gnu libtool, which is called glibtool on osx
sed -i '.bck' -e 's/libtool/glibtool/' autogen.sh
./autogen.sh
make && make install
main.c:89:46: warning: data argument not used by format string [-Wformat-extra-args]
      fprintf(stdout,"setting cfg failed\n", ret);
                     ~~~~~~~~~~~~~~~~~~~~~~  ^
1 warning generated.
mv -f .deps/main.Tpo .deps/main.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o aacplusenc main.o ../src/libaacplus.la -lm 
libtool: link: gcc -g -O2 -o .libs/aacplusenc main.o  ../src/.libs/libaacplus.dylib -lm
Undefined symbols for architecture x86_64:
  "_AuChannelOpen", referenced from:
      _main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [aacplusenc] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

@maddox
Copy link
Owner

maddox commented Oct 30, 2013

👍👍👍

@iommi1
Copy link

iommi1 commented Oct 30, 2013

Thanks! works great!

druu added a commit to druu/homebrew-liquidsoap that referenced this issue Apr 24, 2016
fixes libaacplus build by omitting the frontend binaries

see maddox/wallop#20 (reference)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants