Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
16th December 2006, 02:01 | #1 | Link |
Registered User
Join Date: May 2004
Posts: 128
|
Lame MP3 Encoding on Linux
Hi I am wanting to encode my DVD audio track to lame mp3.
This is the mencoder setting I use to rip the audio. Code:
mencoder -dvd-device . dvd:// -aid <aid> -oac copy -of rawaudio -ovc copy -o test.ac3 Code:
lame -V 5 --vbr-new test.ac3 test.mp3 Code:
mplayer -dvd-device . dvd:// -vo null -vc dummy -ao pcm:file=output.wav Code:
lame -V 5 --vbr-new output.wav test.mp3 Thanks Staz |
16th December 2006, 06:58 | #2 | Link |
Registered User
Join Date: Nov 2003
Posts: 420
|
Yeah not sure why there is a screech but i have it also sometimes
i am using ffmpeg directly these days to get the audio from a DVD especially if its already a .mp3 file if its wav though, lame works always for me
__________________
OS: Paldo (Linux) AviSynth for Linux, go go go! |
17th December 2006, 14:25 | #4 | Link |
Registered User
Join Date: Jan 2003
Posts: 130
|
Lame does not accept ac3 as input. That's why you're getting the screeching sounds and you have less frames. Always export to wav and then encode with lame as you did in your second try. And yes it's true that lame is tuned for 44.1kHz material but works OK for 48kHz too. You could also use mp3gain to boost the volume without clipping the audio.
|
18th December 2006, 01:07 | #5 | Link |
Registered User
Join Date: May 2004
Posts: 128
|
I have been getting perfect results by exporting to .wav with mencoder, encoding to vbr mp3 with lame and then by using the following command in mp3gain:
Code:
mp3gain -r -k |
|
|