FFmpeg Import/Export library for svn Audacity.

Effects, Recipes, Interfacing with other software, etc.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
bat999
Posts: 22
Joined: Mon Apr 28, 2014 5:45 pm
Operating System: Please select

FFmpeg Import/Export library for svn Audacity.

Post by bat999 » Wed May 28, 2014 2:20 pm

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. 8-)

Code: Select all

--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. :lol:

Code: Select all

--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. :D

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: FFmpeg Import/Export library for svn Audacity.

Post by Gale Andrews » Wed May 28, 2014 5:44 pm

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

bat999
Posts: 22
Joined: Mon Apr 28, 2014 5:45 pm
Operating System: Please select

Re: FFmpeg Import/Export library for svn Audacity.

Post by bat999 » Thu May 29, 2014 7:44 pm

Gale Andrews wrote:I don't understand what your Feature Request is?
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 ---> http://manual.audacityteam.org/o/man/fa ... tml#ffdown

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

Code: Select all

--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

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: FFmpeg Import/Export library for svn Audacity.

Post by Gale Andrews » Thu May 29, 2014 8:30 pm

bat999 wrote:
Gale Andrews wrote:I don't understand what your Feature Request is?
Hi
It's not a feature request.
You posted this in "Adding Features", so I wasn't sure.
bat999 wrote: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).
Yes, that had occurred to me. ;) In recommending an installer we have to consider what options FFmpeg was compiled with.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply