This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unsupported audio codec: aac

Tags: None
(comma "," separated)
thehada
Registered Member
Posts
5
Karma
0

Unsupported audio codec: aac

Thu Feb 18, 2010 1:37 pm
Can't get aac to work with kdenlive 0.7.7.

Versions:
ffmpeg custom compiled from svn: 0.5 r21874 with - libx264
x264 custom compiled r1442: .85

ffmpeg -formats give me AAC and ldd shows libx264

using ffmpeg like:
ffmpeg -i test.avi -acodec aac -vcodec libx264 -vpre hq -crf 22 -threa...
encodes video successfully with aac

now.. ffmpeg -formats give me AAC D (demuxing not E = muxing), could this be the problem?
ddennedy
Registered Member
Posts
1315
Karma
1

Re: Unsupported audio codec: aac

Fri Feb 19, 2010 6:07 am
Try re-running the Config Wizard to update Kdenlive's knowledge of which codecs you have.


thehada
Registered Member
Posts
5
Karma
0

Re: Unsupported audio codec: aac

Fri Feb 19, 2010 7:12 am
thanks.. but I have done that probably about 20 times or so..
kdenlive restart and the wizard

keep on reading that ffmpeg see there AAC Encoder still in an sort of experimental stage.

is anybody using kdenlive with ffmpeg's aac encoder? or are you all using libfaac?
ddennedy
Registered Member
Posts
1315
Karma
1

Re: Unsupported audio codec: aac

Sun May 16, 2010 5:17 pm
what does 'ffmpeg -codecs | grep aac' show?
Anytime you build a custom, installed version of FFmpeg that is not the same version as the packages, you must build MLT from source or rebuild its source package - same goes really for anything using FFmpeg libs, which makes this change a high impact one.
Unfortunately, I can confirm that the FFmpeg unstripped libs that comes with Lucid (Debian?) does not include either the native aac encoder or the libfaac one, which really sucks.


User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS

Re: Unsupported audio codec: aac

Sat Jun 05, 2010 11:07 pm
I am having similar problems - aac is unsupported. I installed faac ver 1.26-0.1ubuntu2 in the hope that this might solve the problem. I also tried the re-run the setup wizard. But still no joy

'ffmpeg -codecs | grep aac' says

ffmpeg: missing argument for option '-codecs'

But ffmpeg -formats | grep aac says

$ ffmpeg -formats | grep aac
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 4 2010 12:35:30, gcc: 4.4.3
D aac raw ADTS AAC
D A aac Advanced Audio Coding

So are you saying our solution is "you must build MLT from source or rebuild its source package"?

Because I don't know how to do this.

ttguy



ddennedy
Registered Member
Posts
1315
Karma
1

Re: Unsupported audio codec: aac

Sat Jun 12, 2010 5:29 am
In Ubuntu 10.04 and some Debian versions, aac encoding is not available in the FFmpeg libs. Yes, 'D' for demuxing or decoding with no 'E' indicates the problem. Bummer. I think this will be fixed when Debian and Ubuntu gets FFmpeg v0.6, which is not yet available but being worked on. You might be able to find a PPA version of the ffmpeg libs that has AAC and still compatible with all dependent packages. This would be a good find to share!


ubuntuaddicted
Registered Member
Posts
206
Karma
0

Re: Unsupported audio codec: aac

Sun Jun 27, 2010 10:25 am
how about you inform us how to just change the current preset to encode the audio with another codec or maybe how to create a new presets which copy the old preset but obviously change the audio codec option. Can you do that? I LOVE kdenlive as so far I have tried Pitivi, Openshot,, Open Movie Editor, and Kino for editing and none of them are really as polished and easy to use (and don't crash) as kdenlive. I would really appreciate some help here. This is my ffmpeg output

ffmpeg -codecs | grep aac
FFmpeg version SVN-r23789, Copyright (c) 2000-2010 the FFmpeg developers
built on Jun 25 2010 14:15:02 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 50.19. 0 / 50.19. 0
libavcodec 52.78. 0 / 52.78. 0
libavformat 52.71. 0 / 52.71. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
DEA aac Advanced Audio Coding
EA libfaac libfaac AAC (Advanced Audio Codec)

i am running Lucid Lynx as well. I do have all the unstripped and extra packages installed.
ubuntuaddicted
Registered Member
Posts
206
Karma
0

Re: Unsupported audio codec: aac

Mon Jun 28, 2010 3:40 pm
where did you get ffmpeg version 0.6? i am using lucid lynx ubuntu 10.04 and I don't see anything about 0.6 but that's probably cause i compiled x264 and ffmpeg from git and svn. When I do sudo aptitude search ffmpeg, i find this:
Package created with checkinstall 1.6.1

this is what ffmpeg -version shows:
FFmpeg version SVN-r23789, Copyright (c) 2000-2010 the FFmpeg developers
built on Jun 25 2010 14:15:02 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 50.19. 0 / 50.19. 0
libavcodec 52.78. 0 / 52.78. 0
libavformat 52.71. 0 / 52.71. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
FFmpeg SVN-r23789
libavutil 50.19. 0 / 50.19. 0
libavcodec 52.78. 0 / 52.78. 0
libavformat 52.71. 0 / 52.71. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0

currently i am tried using libmp3lame with x264 codec for my encoding. but honestly, i have found that avi using xvid 10000k 2 pass to be very good for my youtube uploads. i need to force progressive as well though. i am capturing this type of video:
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 2.14 GiB
Duration : 10mn 6s
Overall bit rate : 30.3 Mbps

Video
Format : Digital Video
Codec ID : dvsd
Codec ID/Hint : Sony
Duration : 10mn 6s
Bit rate : 28.8 Mbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 1.500
Original display aspect ratio : 4/3
Frame rate mode : Constant
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:1:1
Scan type : Interlaced
Bits/(Pixel*Frame) : 2.778
Stream size : 2.03 GiB (95%)

Audio
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Unsigned
Codec ID : 1
Codec ID/Hint : Microsoft
Duration : 10mn 6s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 111 MiB (5%)
Interleave, duration : 33 ms (1.00 video frame)
Interleave, preload duration : 33 ms

and if i don't add the force progressive, i get what looks like tiny horizontal lines across the screen. they are very tiny lines but noticeable. i was trying to get to H.264 and aac encoding because i had such good results when i was using iMovie HD when i had a powerbook g4 a couple weeks ago but maybe i'll just stick with avi with xvid and mpeg1 audio as it's very good, i can read the text after uploading to youtube.
ubuntuaddicted
Registered Member
Posts
206
Karma
0

Re: Unsupported audio codec: aac

Tue Jun 29, 2010 2:44 pm
do i still need to leave x264 compiled from git? also, does this affect mplayer or other media players? are you using lucid lynx? i am leary about using PPA as I don't want to screw up my system. does the ffmpeg 0.6 have shared libraries enabled? does everything work with libavfilter, libavcodec etc etc? i know when i tried to enable shared libraries i couldn't even get ffmpeg to work because of current ubuntu libraries being installed. let me know thanks.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]