Audacity and FFMPEG on Mac

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
reemas
Posts: 1
Joined: Fri Jan 09, 2009 4:21 am
Operating System: Please select

Re: Does ffmpeg feature not work on Mac?

Post by reemas » Fri Jan 09, 2009 4:23 am

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.

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

Re: Does ffmpeg feature not work on Mac?

Post by Gale Andrews » Sat Jan 10, 2009 8:01 am

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

stratiegery01
Posts: 2
Joined: Wed Aug 12, 2009 10:43 am
Operating System: Please select

Re: Does ffmpeg feature not work on Mac?

Post by stratiegery01 » Wed Aug 12, 2009 10:45 am

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?

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Does ffmpeg feature not work on Mac?

Post by steve » Wed Aug 12, 2009 3:57 pm

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
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

stratiegery01
Posts: 2
Joined: Wed Aug 12, 2009 10:43 am
Operating System: Please select

Re: Does ffmpeg feature not work on Mac?

Post by stratiegery01 » Thu Aug 13, 2009 4:21 am

Perfect! I downloaded 1.3.8b and it works fine now.

Thanks for your help.

fleason
Posts: 1
Joined: Sat Sep 05, 2009 12:59 pm
Operating System: Please select

Re: Does ffmpeg feature not work on Mac?

Post by fleason » Sat Sep 05, 2009 1:43 pm

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

Locked