benjamin.drung@gmail.com
caf557a614
FFmpeg: Modify FFMPEG_INITALT to support loading from a different alternative library.
...
av_frame_alloc/av_frame_free are defined in avutil, but the deprecated
alternative functions avcodec_alloc_frame/avcodec_free_frame are defined in
avcodec instead. FFMPEG_INITALT needs to be enhanced to support different
library names.
2014-06-10 21:18:50 +00:00
benjamin.drung@gmail.com
149fcafc1c
Replace tabs by spaces.
2014-06-05 22:04:22 +00:00
benjamin.drung@gmail.com
c8d6505c64
FFmpeg: Fix import crash on older libav/FFmpeg versions.
...
avcodec_free_frame can't be directly replaced by av_free for older libav/FFmpeg
versions, because avcodec_free_frame takes a pointer to a pointer (**frame), but
av_free takes only a pointer (*frame).
2014-06-05 21:59:03 +00:00
benjamin.drung@gmail.com
277932dccb
Remove trailing spaces.
2014-06-03 20:30:19 +00:00
benjamin.drung@gmail.com
7e72c4712b
Revert defining different headers depending on FFMPEG_VERSION.
...
The preprocessor definition FFMPEG_VERSION cannot be used to determine whether
the libav* header are provided by the FFmpeg or libav project. Therefore an own
proprocessor definition is needed to make the differentiatiion.
IS_FFMPEG_PROJECT should be set by configure instead of hard-coding it in
FFmpeg.h.
2014-06-02 21:35:48 +00:00
benjamin.drung@gmail.com
0fa894c196
Use #define for backward compatibility only when --disable-dynamic-loading was specified.
2014-06-01 16:46:34 +00:00
benjamin.drung@gmail.com
b55c74b210
Define slightly different headers for libav.
...
Some parameters of libav functions have no 'const' flag in contrast to their
FFmpeg counterparts. Assume that the headers come from FFmpeg if FFMPEG_VERSION
is defined. Otherwise assume that the headers come from libav.
2014-06-01 16:37:17 +00:00
benjamin.drung@gmail.com
f36e961bb1
Remove unused FFmpeg function declarations.
2014-05-31 14:26:24 +00:00
benjamin.drung@gmail.com
4d4580a042
FFmpeg: Replace long deprecated functions by current ones.
2014-05-31 14:01:57 +00:00
benjamin.drung@gmail.com
3416b2a8c1
Drop compatibility for FFmpeg < 1.2 and libav < 0.8.
...
Dropping support for unsupported upstream FFmpeg/libav versions makes our code
simpler by removing preprocessor conditionals.
2014-05-31 13:23:00 +00:00
benjamin.drung@gmail.com
b5fd9bc068
FFmpeg: Add support for libav 0.8.
...
Thanks to Michael Niedermayer for the tips.
2014-05-29 21:04:45 +00:00
benjamin.drung@gmail.com
ffe29894b8
Define AV_CODEC_ID_* as CODEC_ID_* for old libav/FFmpeg versions.
2014-05-29 17:53:51 +00:00
benjamin.drung@gmail.com
33b9e9336f
FFmpeg: Replace deprecated av_close_input_file by avformat_close_input.
2014-05-29 15:50:47 +00:00
benjamin.drung@gmail.com
12a9d61d56
Use CodecID instead of AVCodecID for old libav/FFmpeg versions.
2014-05-25 22:15:59 +00:00
benjamin.drung@gmail.com
0a1999130d
Drop compatibility for libav/FFmpeg < 0.7.
2014-05-25 21:08:58 +00:00
benjamin.drung@gmail.com
31f66d9cfa
Remove unused PKT_FLAG_KEY definition.
2014-05-25 19:25:56 +00:00
benjamin.drung@gmail.com
80fa80dcf4
Use av_free instead of avcodec_free_frame for old libav/FFmpeg versions.
2014-05-25 19:24:02 +00:00
benjamin.drung@gmail.com
88b4f52422
Drop libavutil/frame.h include again.
...
Use avcodec_alloc_frame/avcodec_free_frame for older FFmpeg/libav versions
that do not have av_frame_alloc/av_frame_free (when compiling with
--disable-dynamic-loading).
2014-05-24 11:01:15 +00:00
benjamin.drung@gmail.com
d139765be4
Include libavutil/frame.h for av_frame_alloc/av_frame_free.
2014-05-23 23:16:32 +00:00
benjamin.drung@gmail.com
48240202ca
planar s16&flt export support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:37:27 +00:00
benjamin.drung@gmail.com
60fe57463e
remove urlprotocol use
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:31:34 +00:00
benjamin.drung@gmail.com
5ae8679e3c
fix random fixed buffer size and add quick and simple planar import support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:27:54 +00:00
benjamin.drung@gmail.com
f8be1f9668
Make audacity build with ffmpeg HEAD
...
This still depends on internal API
And is missing planar Audio support, so not all formats work
also the fixed size audio buffer has to be removed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:25:50 +00:00
benjamin.drung@gmail.com
05302d7483
Fix path of relative includes.
2013-11-01 12:15:01 +00:00
v.audacity
414456fa06
bug 469
2013-08-21 23:19:19 +00:00
v.audacity
9d0daf8662
Campbell Barton's patch to turn many, many tabs to our 3-space convenbtion
2013-02-20 23:42:58 +00:00
v.audacity
f0112b57df
Benjamin Drung's disable-dynamic-ffmpeg-v3.patch for bug 233
2012-08-29 21:31:11 +00:00
v.audacity
ebb4f530bb
Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values.
2012-08-02 06:03:19 +00:00
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
mchinen
8cb2a38fbe
restore build for EXPERIMENTAL_OD_FFMPEG
...
EXPERIMENTAL_OD_FFMPEG is still commented out
2012-06-01 06:11:01 +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
james.k.crook@gmail.com
69476e785c
Fixed more internationalisation hints.
2012-03-20 15:36:02 +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
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
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