<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>311228</bug_id>
          
          <creation_ts>2012-12-05 22:28:20 +0000</creation_ts>
          <short_desc>Some codecs shown as not available in transcoding menu</short_desc>
          <delta_ts>2012-12-06 10:06:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>amarok</product>
          <component>Transcoding</component>
          <version>2.6.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>309454</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Corentin Julé">corentinjule</reporter>
          <assigned_to name="Amarok Bugs">amarok-bugs-null</assigned_to>
          <cc>matej</cc>
    
    <cc>teo</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1321474</commentid>
    <comment_count>0</comment_count>
    <who name="Corentin Julé">corentinjule</who>
    <bug_when>2012-12-05 22:28:20 +0000</bug_when>
    <thetext>Hi,

I have to convert files from FLAC to MP3 using Amarok. However, i can&apos;t select MP3, OGG or AAC codec in the list, since they are described as &quot;not currently available on your system&quot;. 

FFmpeg and lame are installed. I&apos;ve just had a look into the source code of amarok and it seems that it uses the output of the command &quot;ffmpeg -codecs&quot; to check if the encoder is installed. For mp3, a function looks for a line with &quot;.EA... libmp3lame&quot; in this output (found it in the file TranscodingMp3Format.cpp). In my output of ffmpeg -codecs, i don&apos;t have this line but : 

 DEA.L. mp3                  MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame )

Amarok doesn&apos;t exactly find &quot;.EA... libmp3lame&quot; so it must expect libmp3lame is not installed.
However, i&apos;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&apos;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 :)



Reproducible: Always

Steps to Reproduce:
1.Select a song in left media panel.
2.Right click and Organize Files
3.MP3, AAC and OGG are &quot;not currently available on your system&quot;
Actual Results:  
Impossible to convert files in MP3 or OGG formats


Archlinux
Kernel 3.6.8-1 x86_64
ffmpeg version 1.0
amarok version 2.6.0
Lame 3.99.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1321562</commentid>
    <comment_count>1</comment_count>
    <who name="Matěj Laitl">matej</who>
    <bug_when>2012-12-06 10:06:26 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 309454 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>