FFmpeg Import/Export library for svn Audacity.

Hi
These are the external libraries I’ve used when building an FFmpeg import library from FFmpeg-git with Audacity-svn r13155.
I don’t think any others are needed. :sunglasses:

--enable-libilbc      enable iLBC de/encoding via libilbc
--enable-libopus      enable Opus de/encoding via libopus
--enable-libspeex     enable Speex de/encoding via libspeex

For the export library there other external libraries available.
It’s not necessary to use any of these (imho) because…
A ‘suitable’ FFmpeg binary can be used with Audacity’s Export > (external program) option and…
Audacity can already export gsm, mp3, mp2 and Vorbis without need of FFmpeg.
(Maybe also FFmpeg’s native aac encoder is available with Audacity’s Export > Custom FFmpeg Export option).

But it’s up to you. :laughing:

--enable-libaacplus         enable AAC+ encoding via libaacplus
--enable-libfaac            enable AAC encoding via libfaac
--enable-libfdk-aac         enable AAC de/encoding via libfdk-aac
--enable-libgsm             enable GSM de/encoding via libgsm
--enable-libmp3lame         enable MP3 encoding via libmp3lame
--enable-libopencore-amrnb  enable AMR-NB de/encoding via libopencore-amrnb
--enable-libshine           enable fixed-point MP3 encoding via libshine
--enable-libtwolame         enable MP2 encoding via libtwolame
--enable-libvo-aacenc       enable AAC encoding via libvo-aacenc
--enable-libvo-amrwbenc     enable AMR-WB encoding via libvo-amrwbenc
--enable-libvorbis          enable Vorbis en/decoding via libvorbis

Excellent svn work by benjamin.drung, you’re a rockstar. :smiley:

I think quite a lot of the FFmpeg work is actually by Michael Niedermayer.

I don’t understand what your Feature Request is? Command-line importer?

We’re still not out of FFmpeg “update churn” unless a new “always stable” FFmpeg/libav subAPI is made that doesn’t break Audacity’s FFmpeg/libav support as soon as there is an FFmpeg/libav update. As you will have noticed from the commits, we’re also investigating GStreamer as a way to escape FFmpeg/libav “update churn”.


Gale

Hi
It’s not a feature request.

If a version of Windows/Mac Audacity is released that can build with FFmpeg-HEAD, an updated Import/Export library will be needed to replace FFmpeg_v0.6.2_for_Audacity_on_Windows.exe and FFmpeg (0.6.2 OSX 10.4+ DMG).

Here —> Audacity Manual

Current package FFmpeg_v0.6.2_for_Audacity_on_Windows has been compiled with:-

--enable-libfaac           enable AAC encoding via libfaac
--enable-libgsm            enable GSM de/encoding via libgsm
--enable-libmp3lame        enable MP3 encoding via libmp3lame
--enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb
--enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb
--enable-libspeex          enable Speex de/encoding via libspeex

You posted this in “Adding Features”, so I wasn’t sure.

Yes, that had occurred to me. :wink: In recommending an installer we have to consider what options FFmpeg was compiled with.


Gale