FS#27465 - ffmpeg package should have faac support enabled
Attached to Project:
Arch Linux
Opened by Paul Seropian (paranoos) - Monday, 05 December 2011, 20:48 GMT
Last edited by Ionut Biru (wonder) - Sunday, 11 December 2011, 21:42 GMT
Opened by Paul Seropian (paranoos) - Monday, 05 December 2011, 20:48 GMT
Last edited by Ionut Biru (wonder) - Sunday, 11 December 2011, 21:42 GMT
|
Details
There may or may not be a good reason why ffmpeg is compiled
without faac enabled, but I would appreciate it very
much.
There is apparently an AAC encoder built in to ffmpeg, but the program exits with a warning message explaining that it is "experimental and might produce bad results", and requires an extra option to force the use of this encoder, so I think the more trusty faac would be preferred. |
This task depends upon
ok I just got a compiler error for ffmpeg relating to libvo-amrwbenc:
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../lib/libvo-amrwbenc.a(wrapper.o): relocation R_X86_64_32S against `cmnMemAlloc' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../lib/libvo-amrwbenc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libavcodec/libavcodec.so.53] Error 1
doing some google research for ffmpeg faac archlinux, it seems that some devs believe the ffmpeg-native aac codec is just fine despite the warning message. it seems if you want good quality aac encoding, faac is inadequate and the freeware neroaac is recommended instead and is available in aur. we can use the official ffmpeg package as it is now to just mux in audio encoded elsewhere if we want to. might not be any point adding vo-aacenc support.
You could also modify the FFmpeg ABS PKGBUILD to enable libfaac by installing faac and adding "--enable-nonfree --enable-libfaac" to the FFmpeg configure (and "faac" to depends).
Perceived quality is subjective, so you should try each encoder and decide for yourself what you want to use.