Saturday, February 18, 2006

Ipod and MP2

Have been wondering for some time why an mp3 file that I have wouldn't play on my Ipod. A quick check with xmms shows that the file is actually MPEG1, Layer 2 aka mp2 file. So encode it back to MPEG1, Layer 3 by using this command:

lame --mp2input --alt-preset extreme filename.mp3 anothername.mp3
- Not too sure about the mp2input command. Couldn't find a tutorial on converting mp2 to mp3 using lame. Saw the --mp2input option by running lame --longhelp. I guess it worked as the file is now playing properly on Ipod.

Encoding MP3s

Software used: lame

command:

lame -h -b 128 --tt "Song Title" --ta"Artist" --ty "Year" --tc "Ripp and encoded by Me" --tg "Genre"audio.wav audio.mp3

## Encoding mp3 at constant bitrate of 128 kbits. To encode mp3 at VBR, use this command:
lame --alt-preset extreme audio.wav audio.mp3

## there are other --al-preset options. See 'lame --help'. Still not really sure if I should encode using VBR or CBR. Haven't read enough. Read one person's view who likes VBR and the next who said that VBR sucks.... go figure. I can't hear the difference. As long as my dear Ipod can play the song.

Ripping CD

##To rip entire CD into wav files:
cdda2wav -D /dev/hdc -B
## The device /dev/???  can be determined by running this command: wodim --devices




## To rip individual tracks, eg: track 1
cdda2wav -D /dev/hdc -t 1

## To rip a range of tracks, eg: track 1 -7
cdda2wav -D /dev/hdc -t 1+7

Haven't figure out how to rip a range of tracks, for example track 1, 3, 7, 9 ...

Saturday, February 11, 2006

AntiVirus for Linux

Paranoia today. So downloaded an antivirus for Linux. There are a few around such as BitDefender and Panda. I downloaded bitdefender. Command line is 'bdc'