Gentoo Archives: gentoo-user

From: Skippy <linuxgn2@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT: script to make wav fro vob
Date: Tue, 15 Dec 2009 18:31:32
Message-Id: 20091215105659.03c2eaba@204eastsouth.com
In Reply to: Re: [gentoo-user] OT: script to make wav fro vob by Neil Bothwick
1 Thank you Neil - songs are being sung in your name even now.
2
3 Skippy
4
5
6 On Tue, 15 Dec 2009 15:41:42 +0000
7 Neil Bothwick <neil@××××××××××.uk> wrote the words:
8
9 > On Tue, 15 Dec 2009 08:23:26 -0700, Skippy wrote:
10 >
11 > > mplayer filename.vob -ao pcm:waveheader:file=filename.wav -vo null
12 > >
13 > > It would be handy if this could be automated so I could run a bash
14 > > script in a directory full of vob files and end up with a set of wav
15 > > files with the same file name as the original vob.
16 >
17 > for i in *.vob; do
18 > mplayer "${i}" -ao pcm:waveheader:file="${i/.vob/.wav}" -vo null
19 > done
20 >
21 >
22 > --
23 > Neil Bothwick
24 >
25 > I can't walk on water, but I can stagger on alcohol.