Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I t looks like Deadbeef player should convert between different audio formats just by right-clicking and selecting "Convert"

enter image description here

enter image description here

But after that and a few seconds of delay as if working nothing happens.

Has anybody used it successfully and how?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The deadbeef player's .deb package has some errors in it's control file. It does not properly lists it's dependencies for some of it's components. For example, conversion to .aac format from .mp3 format requires faac, but it doesn't list that.

I played it from terminal and tried to convert a .mp3 file to .aac file. The output is given below:

anwar@anwar:$ /opt/deadbeef/bin/deadbeef 
starting deadbeef 0.5.6 [static]

......
......

selected output plugin: ALSA output plugin
INFO: loading playlist Default
INFO: from file /home/anwar/.config/deadbeef/playlists/0.dbpl
convgui: gtkui plugin not found
plugin Converter GTK3 UI failed to connect to dependencies, deactivated.
plugin Shellexec GTK3 UI failed to connect to dependencies, deactivated.
gtkui: found cover-art loader plugin

And when I clicked on the convert button. The output was as follows:

converter: will encode using: faac -w -o "/home/anwar/fdfd.mp4" -
sh: 1: faac: not found
converter: write error (-1 bytes written out of 8000)

Which clearly indicates, the conversion requires faac package which isn't installed and wasn't in it's dependency list either!

I installed faac package with this command

sudo apt-get install faac

and after installation, the conversion successfully completed and the output was as follows:

converter: will encode using: faac -w -o "/home/anwar/fdfd.mp4" -
Freeware Advanced Audio Coder
FAAC 1.28

Quantization quality: 100
Bandwidth: 16000 Hz
Object type: Low Complexity(MPEG-4) + M/S
Container format: MPEG-4 File Format (MP4)
Encoding - to /home/anwar/fdfd.mp4
 frame | elapsed | play/CPU
  2640 |     2.5 |   24.06x 

The list of packages you need for conversion:

  • For AAC - faac package. Install it with

    sudo apt-get install faac
    
  • For FLAC - flac package. Install it with

    sudo apt-get install flac
    
  • For MP3 - lame package. Install it with

    sudo apt-get install lame
    
  • For MS RIFF WAV - No package is needed

  • For MusePack - musepack-tools package. Install it with

    sudo apt-get install musepack-tools
    
  • For Ogg Vorbis - vorbis-tools package. Install it with

    sudo apt-get install vorbis-tools
    
  • For wavpack - wavpack package. Install it with

    sudo apt-get install wavpack
    
  • For TTA - I didn't find a package for it. But it is very easy to get or compile from source.

    1. Go to this Ubuntu forum post.

    2. Download the attached source of ttaenc package.

    3. Extract it to your home directory.

    4. Open a terminal and go to the extracted folder.

    5. Use these commands to install it

      make
      sudo make install
      

      Now, you can use the TTA conversion also.


For TTA conversion: Credit goes to this forum post


To get the proper file names and to set output location:

enter image description here

%a - %t [%l] will produce something like Artist - Title [1:23]. More on title formatting, here.

share|improve this answer
    
thnx, but could you try also for other formats and just add a few more lines like sudo apt-get install faac for the other common formats like mp3, ogg, flac? (i guess at least ogg format should have been natively supported, and i cannot convert to ogg) –  cipricus Oct 25 '12 at 11:35
    
if you are interested in this kind of stuff, i could suggest a small recent discovery: foobar2000 in its naked version (with just the native addons) used in wine is as light as deadbeef and still has a lot of features like getting tags from freedb, converting,and many others. i was using foobar with facets addon and it was heavy, not as much for the addon as for the fact that it involved adding a big load of files into the media library. but now seeing how light it is i feel like preferring foobar to deadbeef when not using the media library –  cipricus Oct 25 '12 at 11:59
1  
@cipricus I've updated the answer with all the necessary packages. Check the update –  Anwar Shah Oct 25 '12 at 14:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.