Re: [Audacity-devel] FFmpeg, Flac Export, WindowsXP
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: LRN <lr...@gm...> - 2008-06-28 15:36:01
|
LRN wrote: > > > On Fri, Jun 27, 2008 at 9:34 PM, James Crook <cr...@in... > <mailto:cr...@in...>> wrote: > > Hi LRN, > > Just tried FFmpeg export for the first time for me (on windows). > I used > the Gpl/bin dlls from your site and put the unpacked files in a folder > on my desktop. Used preferences to tell Audacity where to find > avcodec.dll. > > Tried export, got the list with lots of FFmpeg exporters, so far > so good, > chose Flac (ffmpeg) and got a avutil-49.dll not found. > > So I'm guessing that the code relies on the path. Either needs to be > able to use these dlls in odd places, or 'find library' concept needs > modifying. > > No, it works as it should. > While you can point where avformat.dll is, the avformat.dll itself > only looks for dependences in path and in Audacity directory, but > never in the same directory where it is located itself. > "Find library" is intended to be used with statically-linked dlls, > which are self-sufficient. When using shared dlls, you *must* place > them either in path or in Audacity directory, you can't load them from > arbitrary place. > Maybe it is possible to work around it. Like, modifying environment > variables on the fly, or using SetDllDirectory() and analogues. I'm > not sure any of these is portable, though. > Committed the "modifying environment variables on the fly" solution. Works on Windows. Testing on Linux/Mac is required, though i just won't work at worst case. |