Linux audio: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎CLI Audio Conversion: Added yaflac2mp3)
(→‎GUI Audio Conversion: Added Gnome Sound Converter)
Line 7: Line 7:


== GUI Audio Conversion ==
== GUI Audio Conversion ==
;Nautilus Audio Converter
=== Nautilus Audio Converter ===
:Install with
:Install with
<source lang="bash">
<source lang="bash">
Line 14: Line 14:
:<tt>libid3-3.8.3-dev</tt> needed for <tt>id3tag</tt>.
:<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]
: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]

=== [http://soundconverter.berlios.de/ Gnome Sound Converter] ===
Not tried yet


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

Revision as of 21:46, 12 May 2011

Audio Conversion using Virtual FS

mp3fs

Example:

mp3fs -b 224 ~/Music /mnt/mp3 -o allow_other,ro

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

Gnome Sound Converter

Not tried yet

CLI Audio Conversion

flac - FLAC encoder / decoder

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

lame - MP3 encoder / decoder

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

twolame - MP2 encoder / decoder

twolame -b 256 input.wav -o "output.mp3"

pacpl - Multi-format encoder / decoder in Perl

# From FLAC to MP3 - Using LAME (extreme quality) - recurse & keep directory structure
pacpl --to mp3 -r -p flac/ --outdir /media/USB --encoder lame --defopts 0 --eopts="-m auto --preset extreme"

yaflac2mp3 - Yet Another FLAC to MP3 script

An handy script to transcode from FLAC to MP3. Could be used as a basis for customized script.

yaflac2mp3.sh -s . -d mp3