romka@linux

March 28, 2009

Extracting audio from dvd

Filed under: Status — romka @ 9:33 pm

1. Lets see where the main track is:

lsdvd /path-to-dvd-or-folder-on-hdd/
Disc Title: unknown
Title: 01, Length: 00:00:36.210 Chapters: 01, Cells: 01, Audio streams: 08, Subpictures: 32
Title: 02, Length: 00:06:03.130 Chapters: 02, Cells: 02, Audio streams: 03, Subpictures: 06
Title: 03, Length: 01:53:02.000 Chapters: 29, Cells: 29, Audio streams: 03, Subpictures: 06
Title: 04, Length: 00:31:17.240 Chapters: 08, Cells: 08, Audio streams: 03, Subpictures: 06
Longest track: 03

2. Now we extract track from title 3, chapters 1-29
for i in `seq 1 29`; do transcode -i /path-to-dvd-or-folder-on-hdd/ -T 3,$i,1 -a 0 -y wav -m track_$i.wav; done

thats it! I prefer to extract wav and then fiddle around with it if necessary

March 23, 2009

My favorite command line tools

Filed under: Status, command line — Tags: — romka @ 8:52 pm

cone – excelent e-mail client

centerim-utf8 – instant messanger

w3m – web browser

cplay is an easy tool to play music. Have to rememeber to use z to pause, a to add files/folders to play list and tab to switch between directory/playlist…

There is also a powerful pair of mpd / ncmpc to play music from database but I’m sort of using Ipod for this )))

My .Xdefaults

Filed under: Status — romka @ 7:41 pm

! remember to run after chaniging this file: xrdb -merge ~/.Xdefaults
xterm*foreground: gray
xterm*background: black
xterm*faceName:xft:Andale Mono
xterm*faceSize: 8
xterm*utf8:1

March 22, 2009

centerim-utf8 – command line instant messanger

Filed under: Status — Tags: — romka @ 3:36 pm

Beautiful thing! Even works great with cyrrilic if set to:

Codepages conversion
Switch to language preset : None
Remote charset : cp1251
Local charset : utf8
For protocols : icq rss

March 8, 2009

ape or wav with cue to mp3 ubuntu

Filed under: Status — Tags: , , , , — romka @ 8:18 pm

Ingenious: http://utnubu.blogspot.com/2006/10/apecuemp3.html

In short:
mac CDImage.ape CDImage.wav -d
lame -b 256 CDImage.wav CDImage.mp3
mp3splt -a -c CDImage.cue CDImage.mp3

Powered by WordPress