I have to convert files from FLAC to MP3 using Amarok. However, i can't select MP3, OGG or AAC codec in the list, since they are described as "not currently available on your system".
FFmpeg and lame are installed. I've just had a look into the source code of amarok and it seems that it uses the output of the command "ffmpeg -codecs" to check if the encoder is installed. For mp3, a function looks for a line with ".EA... libmp3lame" in this output (found it in the file TranscodingMp3Format.cpp). In my output of ffmpeg -codecs, i don't have this line but :
DEA.L. mp3 MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame )
Amarok doesn't exactly find ".EA... libmp3lame" so it must expect libmp3lame is not installed.
However, i'm quite sure it is installed as i can convert files to mp3 format with ffmpeg command.
I guess it might be due to a change in ffmpeg -codecs output, maybe an update of ffmpeg to clear this output by grouping encoders and decoders of a same codec in a same line.
I've seen other outputs of ffmpeg -codecs on the web with older versions of ffmpeg and they indeed have a line for the encoder : libmp3lame and another line for the decoder : mp3.
I notice the same things with Vorbis codec (libvorbis and vorbis grouped).
Flac, Apple Lossless and WMA work fine, because the output is the same in ffmpeg -codecs than the one expected by amarok.
Does anybody can reproduce this, or did I forgot to do something in order to make it work ?
Thanks to the Amarok team for offering us such an amazing software :)
Steps to Reproduce:
1.Select a song in left media panel.
2.Right click and Organize Files
3.MP3, AAC and OGG are "not currently available on your system"
Impossible to convert files in MP3 or OGG formats
Kernel 3.6.8-1 x86_64
ffmpeg version 1.0
amarok version 2.6.0
*** This bug has been marked as a duplicate of bug 309454 ***