Gentoo Archives: gentoo-user

From: Mike Kazantsev <mk.fraggod@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Prioritizing mpd
Date: Sat, 13 Jun 2009 16:35:43
Message-Id: 20090613223250.2d008a77@coercion
In Reply to: Re: [gentoo-user] Prioritizing mpd by Grant
1 On Sat, 13 Jun 2009 06:31:39 -0700
2 Grant <emailgrant@×××××.com> wrote:
3
4 > Pre-converting sounds interesting. I could convert all of my 16/44.1
5 > files to 24/96 files? That way the CPU wouldn't be stressed at
6 > playback time. How can I do that? I use libsamplerate "Best" for
7 > resampling.
8
9 Just use flac/lame/vorbis-tools, they have all the capabilities you
10 need.
11
12 lame --decode /some/file.mp3 - | \
13 flac --bps=24 --sample-rate=96 - file.flac
14
15 lame --decode /some/file.mp3 - | \
16 oggenc --resample 24000 -q 6 - -o file.ogg
17
18 lame --resample 24 --preset standard /some/file.mp3 file.mp3
19
20 Try tweaking quality settings / listening to results in different
21 formats to pick the best one for you.
22 ogg and mp3 should result in some loss of sound quality, although it
23 might be insignificant while compression benefit over flac is quite
24 noticeable.
25
26 --
27 Mike Kazantsev // fraggod.net

Attachments

File name MIME type
signature.asc application/pgp-signature