Wish: Update ffmpeg import from version 0.6 to 1.1 or later

Feedback and Reviews for Audacity 2.x
Forum rules
This board is ONLY for general feedback and discussion about Audacity 2.X.

If you require help, or think you have found a "bug", please post on the forum board relevant to your operating system.
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
feelthebeat
Posts: 10
Joined: Thu Apr 28, 2011 9:56 am
Operating System: Please select

Wish: Update ffmpeg import from version 0.6 to 1.1 or later

Post by feelthebeat » Thu Feb 14, 2013 11:15 am

Hi,

Audacity is a great tool, so as FFMpeg.
Unfortunately, Audacity uses ffmpeg v0.6x for import.

Since then FFMpeg as added many codecs support (incl. for instance WMA Lossless) and also CLI synthax changes.
Updating to latest FFmpeg (currently 1.1) would allow many raw import.
You might argue that one could still use FFmpeg to first convert the source to an Audacity importable format, but consider that this is particullarly undesirable when already the raw source is "bad" and needs to be restored.

Thanks.

See also
http://forum.audacityteam.org/viewtopic ... 16&t=63923

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

Re: Wish: Update ffmpeg import from version 0.6 to 1.1 or la

Post by Gale Andrews » Thu Feb 14, 2013 6:53 pm

We can add your vote, but basically we do want to update to FFmpeg 1.x. However FFmpeg dynamic loading from Preferences is constrained by the fact that changes in later FFmpeg versions require considerable coding changes in Audacity. Also any FFmpeg version update has the potential to require yet more coding changes to suit.

Ideally we would like to switch to using the LAME and FFmpeg executables (or drop LAME and use liblame from the FFmpeg executable), rather than use dynamic libraries. This would use the same executable that you use when you export using (external program) and point Audacity to FFmpeg. This would let us support arbitrary versions of the libraries properly (the user simply downloads whatever version of FFmpeg they want).

However we do not have the developer resources to do this at the moment, as this would have to be integrated with GUI import and export.


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

feelthebeat
Posts: 10
Joined: Thu Apr 28, 2011 9:56 am
Operating System: Please select

Re: Wish: Update ffmpeg import from version 0.6 to 1.1 or la

Post by feelthebeat » Thu Feb 14, 2013 11:39 pm

I know since 0.11 CLI synthax has changed quite a bit,
So maybe a more modest upgrade to 0.8 or 0.9 or even 0.10

But apparently 0.7 did not bring any API change
RE:
http://aballier.wordpress.com/2013/01/1 ... the-split/

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Wish: Update ffmpeg import from version 0.6 to 1.1 or la

Post by steve » Fri Feb 15, 2013 1:26 pm

You can currently use other (newer) versions of FFMpeg using the command line export http://manual.audacityteam.org/o/man/ex ... ogram.html
This has the disadvantage that users need to know what command line arguments to enter, but it does work.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: Wish: Update ffmpeg import from version 0.6 to 1.1 or la

Post by Gale Andrews » Fri Feb 15, 2013 6:59 pm

feelthebeat wrote:I know since 0.11 CLI synthax has changed quite a bit,
So maybe a more modest upgrade to 0.8 or 0.9 or even 0.10

But apparently 0.7 did not bring any API change
The command-line syntax is not the problem, rather the Audacity code that interfaces with the dynamic FFmpeg libraries that are used when loading FFmpeg from Preferences.

I've built FFmpeg 0.8 on Windows using MinGW and the Windows build of Audacity won't accept the shared libraries through Preferences. 0.7 shared libraries can be used from Preferences, although we don't link to such libraries.
steve wrote:You can currently use other (newer) versions of FFmpeg using the command line export
Yes but the user wants to import WMA Lossless as I understand it, even though the Audacity command-line exporter could be used with FFmpeg 1.x at the export step.

As well as converting the WMA Lossless files to WAV using FFmpeg (so you can import them into Audacity), you can use the Microsoft WMA Lossless to WAV command-line encoder:
http://www.microsoft.com/download/en/de ... x?id=22391 .


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

feelthebeat
Posts: 10
Joined: Thu Apr 28, 2011 9:56 am
Operating System: Please select

Re: Wish: Update ffmpeg import from version 0.6 to 1.1 or la

Post by feelthebeat » Sat Feb 16, 2013 12:06 am

steve wrote:
You can currently use other (newer) versions of FFmpeg using the command line export

Yes but the user wants to import WMA Lossless as I understand it, even though the Audacity command-line exporter could be used with FFmpeg 1.x at the export step.
I didn't know.

I mentionned WMA Lossless, because it first appeared as of FFMpeg v0.11 and it's a frequent codec, but many more are now supported, run

Code: Select all

ffmpeg -codecs
Now for my own use, it's AAC import that I do wish, currently I use FFMpeg to convert AAC into FLAC so to import in Audacity.

Post Reply