|
From: Chris B. <ch...@cn...> - 2008-03-14 16:00:48
|
Michael Harville wrote:. > My ffmpeg build was configured to use all sorts of other > codecs (e.g. ogg, vorbis, x264, etc.) and none of these were > being included on the link line above. To fix the problem, > I reconfigured sox as follows, adding one extra step > at the start: > > autoreconf -i > export FFMPEG_LIBS="-lz -logg -lx264 -lfaac -lfaad -lmp3lame > -lmp4v2 -lvorbis -lvorbisenc -lvorbisfile" > configure --with-ffmpeg=yes > make > > That works! Please fix the configure/Makefiles, though, in Sox if > you can, to pull in the necessary libs. I do not know if that > is possible... > > I will be working on this next. Basically, I need to move to querying pkg-config to find out what libraries are required for FFMPEG_LIBS since its unpredictable what features the user will have linked into ffmpeg. I haven't compiled on OS X yet... do you have pkg-config available on that platform? Also, slightly related was a bug tracker just submitted. Linking in the static version of ffmpeg has issues. There is duplication between its GSM symbols and libsox's GSM symbols. Not sure how I'll detect and fix that off hand. Chris |