OK I have here:Once you have lame installed ( check you don't already, by doing in a terminal,
glame-0.6.4-6.mdk
gstreamer-lame-0.6.0-1.plf (I am not enamoured of plf stuff ... they seem to fubar my *stable* system...dunno why..... but bear with me pls)
notlame-3.93.1-2.1plf & notlame-3.93.1-2plf (a .1 release? whats that mean? bugfix?..again plf)
notlame-mp3x-3.93.1-2.1plf & notlame-mp3x-3.93.1-2plf
out_lame-0.2.1-2plf
Phew!
K which of these do I want for ripping music from some CD's & making them into Mp3's? Ideas pls? Helps? I've never ripped music before...but I know LAME *in the windows world* is the best encoder/ripper/decoder out there. Is this true for linux?
Thx Femme
rpm -qa | lame and see what it says. I think you will find it already installed) install the attatched bash script wav2mp3 somewhere the system can find it like /usr/bin, or /usr/local/bin and follow the instructions in wav2mp3command file attatched.
This script has ripped and encoded to mp3 for me, not that I use it much , it's just to get my daughters .wav files on their CD's onto their mp3 mobile players, so much more stable than those mobile CD players, or so they tell me. I only play CD's myself and don't store any music on my hard drive.
John
--
John Richard Smith
[EMAIL PROTECTED]
=======================================================================================
WAV2MP3 COMMANDS
=======================================================================================CD to directory sources of wav files wav2mp3 *.wav wav2mp3 bob\ dylan* =======================================================================================
=======================================================================================
WAV2MP3 Install
=======================================================================================
Requires lame /usr/bin/lame
=======================================================================================
Copy wav2mp3 bash script to /usr/local/bin
give everyone permission , /usr/local/bin properties-x-boxes
chown root:root /usr/local/bin/wav2mp3
=======================================================================================
[EMAIL PROTECTED] root]# chown root:root /usr/local/bin/wav2mp3
[EMAIL PROTECTED] root]#
[EMAIL PROTECTED] root]# cd /mnt/cdrom/dvd
[EMAIL PROTECTED] dvd]# ls
[EMAIL PROTECTED] dvd]#wav2mp3 *.wav
WAV-2-MP3 conversion script
===========================
Enter full path to Output directory (Default=/root/tmp)
Press Enter for default. Answer:
... Converting *.wav
to /root/tmp/*.mp3
Could not find "*.wav".
Done
Finished decoding file/s
[EMAIL PROTECTED] dvd]#
=======================================================================================#!/bin/bash
# Simple Script to convert WAV to MP3 files
# Ralph Slooten <[EMAIL PROTECTED]> 16/12/2002
QUALITY=192 #Quality of the mp3 files
if [ $# -lt 1 ]; then
echo " Usage: `basename $0` <wav/wav's>" 1>&2
exit 1
fi
clear
echo " WAV-2-MP3 conversion script
===========================
"
echo -n "Enter full path to Output directory (Default=$HOME/tmp)
Press Enter for default. Answer: "
read _answer
OUTPUT_DIR=$HOME/tmp
case $_answer in
/*)
OUTPUT_DIR=$_answer
;;
esac
# Check if output directory exists, else warn and exit
if [ ! -d $_answer ]; then
echo
echo -e " \033[1;31m-= Output directory does not exist!
=-\033[m"
exit 0
fi
echo
# Convert mp3's to wav!
while [ -n "$1" ]; do
wavname="$1"
mp3name=$(echo "${wavname}" | sed -e 's/.[Ww][Aa][Vv]/.mp3/g')
echo -e "... Converting \033[1;33m$wavname\033[m
to $OUTPUT_DIR/\033[1;32m$mp3name\033[m"
# lame -b $QUALITY "${wavname}" $OUTPUT_DIR/"${mp3name}"
lame -b $QUALITY --cbr -h "${wavname}" $OUTPUT_DIR/"${mp3name}"
echo
echo "Done"
echo
shift;
done
echo "Finished encoding file/s"
exit 0Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
