You are not logged in.

#1 2011-05-22 17:12:45

shaurz
Member
Registered: 2004-02-02
Posts: 358

Unknown encoder 'libfaac'

I have a small script for encoding videos from my camcorder with ffmpeg. It has always worked fine but now I get this error:

Unknown encoder 'libfaac'

I am using "-acodec libfaac" option to select the audio encoding for the output.

The faac package is installed.

Offline

#2 2011-05-22 17:37:56

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Unknown encoder 'libfaac'

use aac instead of libfaac.

we dropped support for faac


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-05-22 17:38:50

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: Unknown encoder 'libfaac'

The latest ffmpeg in the repository is compiled withouth faac support enabled.

Offline

#4 2011-05-22 17:39:47

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: Unknown encoder 'libfaac'

Thanks, that worked. Out of curiosity, what is the difference between aac and faac?

Also, I got this message:

encoder 'aac' is experimental and might produce bad results.
Add '-strict experimental' if you want to use it.

Last edited by shaurz (2011-05-22 17:43:36)

Offline

#5 2011-05-23 00:50:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Unknown encoder 'libfaac'

shaurz wrote:

Thanks, that worked. Out of curiosity, what is the difference between aac and faac?

http://en.wikipedia.org/wiki/FAAC
http://en.wikipedia.org/wiki/Advanced_A … _and_FAAD2 <- aac encoding is experimental

Offline

#6 2011-05-23 08:49:43

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Unknown encoder 'libfaac'

Your links don't explain the difference, karol. The difference is, libfaac is an external-to-ffmpeg library which was not developed by them, while what you get by selecting aac is the internal encoder written by the ffmpeg folks. Both are crappy in quality actually. They don't even come close to NeroAAC (which is free as in beer, and has a linux version too) or Apple AAC.

Offline

#7 2011-05-23 09:02:37

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Unknown encoder 'libfaac'

building support in ffmpeg for faac makes the resulting package  unredistributable


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2011-05-23 16:56:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Unknown encoder 'libfaac'

Gusar wrote:

Your links don't explain the difference, karol. The difference is, libfaac is an external-to-ffmpeg library which was not developed by them, while what you get by selecting aac is the internal encoder written by the ffmpeg folks.

wikipedia wrote:

FAAC is one of three alternatives that Linux/Unix users have for creating AAC files. The second is Nero's neroAACenc program, which has a proprietary license[6], and is not available for the entire range of hardware architectures that these operating systems are able to run. The third is FFmpeg's native AAC encoder (considered experimental by the developers as of December 2010)[7] (part of libavcodec), written by Konstantin Shishkov, and released under version 2.1 of the LGPL.

Offline

#9 2011-05-23 17:11:35

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: Unknown encoder 'libfaac'

Does this mean ffmpeg is now compiled with aac? In turn leading to -acodec aac in the syntax?

Of course if you [the OP] want libfaac you can always compile it in using ABS


Rauchen verboten

Offline

#10 2011-05-23 17:15:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Unknown encoder 'libfaac'

SS4 wrote:

Does this mean ffmpeg is now compiled with aac? In turn leading to -acodec aac in the syntax?

http://projects.archlinux.org/svntogit/ … k/PKGBUILD
http://mailman.archlinux.org/pipermail/ … 19906.html
http://mailman.archlinux.org/pipermail/ … 19924.html <- I think the answer is "yes".

Last edited by karol (2011-05-23 17:20:07)

Offline

#11 2011-05-24 00:51:53

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: Unknown encoder 'libfaac'

Thanks for the info, it make sense now.

Offline

Board footer

Powered by FluxBB