Commit Graph

114 Commits

Author SHA1 Message Date
mchinen 816b58bc08 integrate OD FFmpeg to work with multiple formats, including wav
also move streamContext to ffmpeg.h to allow for refactoring of import code
2012-06-01 06:11:07 +00:00
lllucius b7406f91e3 Tying up another loose end...moving the Audacity libraries
to /Library/Application Support/audacity/libs to circumvent
Apple's propensity for thinking your system belongs to them.

I have sent the new installers to Gale and expect they will
go to Buanzo's site fairly soon.
2012-03-25 05:16:46 +00:00
mchinen 682759d965 Bug 467 (P3) fix - Audacity fails to build with latest FFmpeg/libav. Main patch by Leland Lucius with modification from Benjamin Drung. 2012-01-21 08:01:32 +00:00
lllucius f50be91900 Bug #176 - Support newer versions of FFmpeg.
Also includes Benjamin's ffmpeg-configure-v2.patch.
2011-04-02 02:10:50 +00:00
lllucius f88b7f67ab Fix bug #141 and correct monolithic test. 2011-03-06 20:30:10 +00:00
lllucius 07661c186f Fixes detection problems on Mac and possibly Windows (Bug #290)
This should fix the detection problems on the Mac and may even help with issues
on Windows and Linux.

On any of the platforms, the main issue is the search path for libraries and
how absolute path names are handled.  The Mac seems to be especially
susceptible since there isn't one concrete location where libraries are stored.

Windows handles absolute paths differently and allows runtime updates to the
environment variables (and if push comes to shove, provides the
SetDllDirectory() function), so if problems still exist, they should be easy to
circumvent.

This patch does three things:

1)  It adds a shell script on OSX that takes care of starting Audacity after
reassigning and clearing the DYLD_LIBRARY_PATH environment variable.  This will
allow loading of libraries from their absolute path rather than searching
DYLD_LIBRARY_PATH first.  This script should be transparent to the user, but it
will affect people running Audacity with gdb as they will have to specifically
target Audacity.app/Contents/MacOS/Audacity instead of the Audacity.app bundle.
 Not big deal really.  If ppl no enough to use gdb from the command line, they
should be able to figure it out.

2)  It corrects detection of a monolithic FFmpeg library.  This is one where
avformat, avcodec, and avutil have all been linked into one large library.  The
main issue here was that under OSX and Linux, looking for symbols that should
reside in avutil and avcodec, would always succeed since dlsym() on these
platforms not only scans the requested library, but any dependent libraries as
well.  And when avformat was loaded, it would pull in it's dependent libraries
as well.

Another issue here was the if it was determined that the library was not
monolithic, the library was never unloaded, so those dependent libraries may
have come from the wrong location since they would have been loaded via the
normal search paths and not by absolute path name.

3)  It adds a method to FileNames which returns the full path name of a loaded
module that contains an address.  In the case of FFmpeg, it is used to verify
that a routine from a specific library is actually being used from that library
or not.  It is also used to show (in Help->Show log) the directory from which a
library was actually loaded.
2011-02-23 01:41:40 +00:00
richardash1981 2a7c7de30d Commit a warnings removal patch from Benjamin Drung to correct a string of minor misdemeanors. 2011-02-07 20:24:04 +00:00
v.audacity d83682f262 For FFmpeg wxLog* messages:
Returned some of them to wxLogMessage from wxLogDebug.

Made paths displayed consistently with '%s'. Changed some wordings for grammar and clarity.

Var renames for clarity. Moved some declarations closer to their usage.

Commented out the places where sys error logging was suppressed. There was no explanation why they were suppressed.
2010-08-17 23:14:21 +00:00
v.audacity 0ae919f656 Make better discrimination of wxLogMessage, wxLogDebug, and wxLogError usage so user doesn't see lots of irrelevant info in log window, only messages and errors they should need to see. For example, user doesn't need to see every step of loading FFmpeg in release build, only errors, if they occur.
Comment out in FreqWindow.cpp the wxLog* stuff that can just be done with breakpoints ("Starting FreqWindow::Plot()" et al).
2010-08-10 05:13:28 +00:00
richardash1981 8cd645f0a2 Add a patch by Al Diamond to fix a crash in ufile_fopen_input(), signed off by me. 2010-03-28 20:23:47 +00:00
BusinessmanProgrammerSteve e47e9692b6 I think this is the right way to printf a wxString. Hard to tell.
Everything else gives me weird warnings.
2010-03-19 23:08:36 +00:00
BusinessmanProgrammerSteve 4cdbbce01f Add ODDecodeFFmpegTask to Unix makefile, fix some errors and warnings 2010-03-19 21:41:44 +00:00
mchinen b07f23d6de added on-demand support for non-seeking loading of FFmpeg files. This feature is not on, controlled by ifdefs via the #define EXPERIMENTAL_OD_FFMPEG in Experimental.h 2010-03-19 14:57:10 +00:00
ra e74978ba77 Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches 2010-01-23 19:44:49 +00:00