Linux audio: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
:Install with
:Install with
<source lang="bash">
<source lang="bash">
sudo apt-get install wavpack mppenc libmpcdec3 faac flac vorbis-tools faad lame nautilus-script-audio-convert
sudo apt-get install wavpack mppenc libmpcdec3 faac flac vorbis-tools faad lame libid3-3.8.3-dev nautilus-script-audio-convert
</source>
</source>
:<tt>libid3-3.8.3-dev</tt> needed for <tt>id3tag</tt>.
:See [http://www.ubuntugeek.com/simplest-way-to-convert-audio-files-on-ubuntu-linux-2.html Ubuntu Geek - Simplest way to convert audio file(s) on Ubuntu Linux]


== CLI Audio Conversion ==
== CLI Audio Conversion ==

Revision as of 18:47, 12 May 2011

GUI Audio Conversion

Nautilus Audio Converter
Install with
sudo apt-get install wavpack mppenc libmpcdec3 faac flac vorbis-tools faad lame libid3-3.8.3-dev nautilus-script-audio-convert
libid3-3.8.3-dev needed for id3tag.
See Ubuntu Geek - Simplest way to convert audio file(s) on Ubuntu Linux

CLI Audio Conversion

Decoding FLAC

flac -d source.flac -o output.wav
flac -d source.flac -c                 # Write output to stdout

Encoding MP3

lame -m auto --preset standard input.wav output.mp3
lame -m auto --preset extreme input.wav output.mp3
lame -m auto --preset insane input.wav output.mp3