1 |
On Sat, 18 Apr 2009 20:28:31 +0400 |
2 |
Vasya Volkov <my.pipes.burn@×××××.com> wrote: |
3 |
|
4 |
> Mike Kazantsev пишет: |
5 |
... |
6 |
> lame_opts="--vbr-new -V 2 -B 256" |
7 |
... |
8 |
> > flac -c -d "$FLAC" | lame $lame_opts - "$MP3" |
9 |
... |
10 |
> > Script actually depends on following packages (main tree): |
11 |
> > media-libs/flac |
12 |
> > media-libs/id3lib |
13 |
> > media-sound/lame |
14 |
|
15 |
> Thanks. That's good. But can you suggest programm to convert wav to mp3? |
16 |
|
17 |
If you look closely at the above code snippet you've actually quoted, |
18 |
you'll see that I use flac to decode flac to wav, instantly feeding it |
19 |
to lame, which is pretty much standard production wav->mp3 converter. |
20 |
|
21 |
In short, you can convert somefile.wav to somefile.mp3 (VBR ~256 kbit) |
22 |
with the following line: |
23 |
|
24 |
lame --vbr-new -V 2 -B 256 somefile.wav somefile.mp3 |
25 |
|
26 |
|
27 |
-- |
28 |
Mike Kazantsev // fraggod.net |