Page 3 of 3

Re: Does ffmpeg feature not work on Mac?

Posted: Fri Jan 09, 2009 4:23 am
by reemas
might be a stupid question, but when i click on Find Library in the FFmpeg preference section of Audacity 1.3.6a6, I cannot go to the folder where FFmpeg was installed:
/usr/local/lib/audacity

How do I point it there, as it doesn't show up?

Also, of the several files in that folder, which is the correct FFmpeg one? Thanks in advance.

Re: Does ffmpeg feature not work on Mac?

Posted: Sat Jan 10, 2009 8:01 am
by Gale Andrews
reemas wrote:might be a stupid question, but when i click on Find Library in the FFmpeg preference section of Audacity 1.3.6a6, I cannot go to the folder where FFmpeg was installed:
/usr/local/lib/audacity

How do I point it there, as it doesn't show up?

Also, of the several files in that folder, which is the correct FFmpeg one?
I would do this with the latest 1.3.7a development build following these instructions. That version of Audacity will be looking for libavformat-52.dylib.


Gale

Re: Does ffmpeg feature not work on Mac?

Posted: Wed Aug 12, 2009 10:45 am
by stratiegery01
I need to export my audio as AAC file so i followed the instruction given in the program to download the FFmpeg plugin. I am using version 1.3.7 of Audacity and the installation said it was successful. In preferences i located the "libavformat.52.dylib" file and pressed ok. Still however the program says it cannot locate the library and i am unable to export. The file address location is correct! i have tried restarting the program and installing the plugin again, still nothing. What should i do?

Re: Does ffmpeg feature not work on Mac?

Posted: Wed Aug 12, 2009 3:57 pm
by steve
Audacity has been updated several times since Gale's post.
Try the latest version of Audacity from here: http://www.audacity.homerow.net/index.php?dir=mac%2F

Re: Does ffmpeg feature not work on Mac?

Posted: Thu Aug 13, 2009 4:21 am
by stratiegery01
Perfect! I downloaded 1.3.8b and it works fine now.

Thanks for your help.

Re: Does ffmpeg feature not work on Mac?

Posted: Sat Sep 05, 2009 1:43 pm
by fleason
Thank you Josh24 for your post. With your advice, I was able to get farther compiling ffmpeg than with anything I could Google on the web. My situation may be unique in that I am on PPC Tiger 10.4.11. As you can probably tell from my uninformed scatter-shot query, I hit the wall quickly when open-source downloads do not compile.

My question is: Is there some kind of option I can set, or some files I can modify in my ffmpeg-checkout-2009-09-03 directory that will allow me to push through the make?

ld error during make:

ld: -dylib_compatibility_version must be greater than zero
/usr/bin/libtool: internal link edit command failed
make: *** [libswscale/libswscale.0.dylib] Error 1

The command just preceeding:
gcc
-dynamiclib
-Wl,-single_module
-Wl,-install_name,/usr/local/lib/libswscale.dylib,-current_version,0.7.1,-compatibility_version,0
-Wl,-read_only_relocs,suppress
-L"/Users/blabla/desktop/ffmpeg-checkout-2009-09-03"/libavcodec
-L"/Users/blabla/desktop/ffmpeg-checkout-2009-09-03"/libavdevice
-L"/Users/blabla/desktop/ffmpeg-checkout-2009-09-03"/libavfilter
-L"/Users/blabla/desktop/ffmpeg-checkout-2009-09-03"/libavformat
-L"/Users/blabla/desktop/ffmpeg-checkout-2009-09-03"/libavutil
-L"/Users/blabla/desktop/ffmpeg-checkout-2009-09-03"/libpostproc
-L"/Users/blabla/desktop/ffmpeg-checkout-2009-09-03"/libswscale
-Wl,-dynamic,-search_paths_first
-o
libswscale/libswscale.0.dylib
libswscale/options.o
libswscale/rgb2rgb.o
libswscale/swscale.o
libswscale/yuv2rgb.o
libswscale/ppc/yuv2rgb_altivec.o
-lavutil
-lz
-lbz2
-lm
-lfaac
-lfaad
-lmp3lame
-lm

Other relevant data:
> echo $PATH
.:/usr/local/Trolltech/Qt-4.2.3/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/Applications/LilyPond.app/Contents/Resources/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/bin:/usr/bin:/usr/sbin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/bin:/sbin

> gcc --version powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5341)
> make --version GNU Make 3.81 This program built for powerpc-apple-darwin8.11.0
> ./configure --prefix=/usr/local --enable-shared --disable-static --enable-libfaac --enable-libfaad --enable-nonfree --enable-gpl --enable-libmp3lame --disable-swscale-alpha
install prefix /usr/local
source path /Users/blabla/desktop/ffmpeg-checkout-2009-09-03
C compiler gcc
.align is power-of-two yes
ARCH ppc (generic)

Thank you (or any other kind soul) in advance for any advice.

Fred Leason
fleason at me dot com