* [gentoo-user] OT: script to make wav fro vob
@ 2009-12-15 15:23 Skippy
2009-12-15 15:36 ` Marcus Wanner
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Skippy @ 2009-12-15 15:23 UTC (permalink / raw
To: gentoo-user
Greetings, my scripting skills are non-existent, so I come asking for
help. :) I use the following to extract audio from vob files and
write it as wav files:
mplayer filename.vob -ao pcm:waveheader:file=filename.wav -vo null
It would be handy if this could be automated so I could run a bash
script in a directory full of vob files and end up with a set of wav
files with the same file name as the original vob.
If anyone knock out such an animal for me I'd be ever grateful and
praise your name over and over.
Thanks, Skippy
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] OT: script to make wav fro vob
2009-12-15 15:23 [gentoo-user] OT: script to make wav fro vob Skippy
@ 2009-12-15 15:36 ` Marcus Wanner
2009-12-15 15:41 ` Neil Bothwick
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Marcus Wanner @ 2009-12-15 15:36 UTC (permalink / raw
To: gentoo-user
On 12/15/2009 10:23 AM, Skippy wrote:
> Greetings, my scripting skills are non-existent, so I come asking for
> help. :) I use the following to extract audio from vob files and
> write it as wav files:
>
> mplayer filename.vob -ao pcm:waveheader:file=filename.wav -vo null
>
> It would be handy if this could be automated so I could run a bash
> script in a directory full of vob files and end up with a set of wav
> files with the same file name as the original vob.
>
> If anyone knock out such an animal for me I'd be ever grateful and
> praise your name over and over.
>
> Thanks, Skippy
>
You should really learn bash scripting, it will help you no end...
Marcus
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] OT: script to make wav fro vob
2009-12-15 15:23 [gentoo-user] OT: script to make wav fro vob Skippy
2009-12-15 15:36 ` Marcus Wanner
@ 2009-12-15 15:41 ` Neil Bothwick
2009-12-15 17:56 ` Skippy
2009-12-15 16:25 ` Paul Hartman
2009-12-15 16:35 ` Stroller
3 siblings, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2009-12-15 15:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
On Tue, 15 Dec 2009 08:23:26 -0700, Skippy wrote:
> mplayer filename.vob -ao pcm:waveheader:file=filename.wav -vo null
>
> It would be handy if this could be automated so I could run a bash
> script in a directory full of vob files and end up with a set of wav
> files with the same file name as the original vob.
for i in *.vob; do
mplayer "${i}" -ao pcm:waveheader:file="${i/.vob/.wav}" -vo null
done
--
Neil Bothwick
I can't walk on water, but I can stagger on alcohol.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] OT: script to make wav fro vob
2009-12-15 15:23 [gentoo-user] OT: script to make wav fro vob Skippy
2009-12-15 15:36 ` Marcus Wanner
2009-12-15 15:41 ` Neil Bothwick
@ 2009-12-15 16:25 ` Paul Hartman
2009-12-15 16:35 ` Stroller
3 siblings, 0 replies; 6+ messages in thread
From: Paul Hartman @ 2009-12-15 16:25 UTC (permalink / raw
To: gentoo-user
On Tue, Dec 15, 2009 at 9:23 AM, Skippy <linuxgn2@204eastsouth.com> wrote:
>
>
> Greetings, my scripting skills are non-existent, so I come asking for
> help. :) I use the following to extract audio from vob files and
> write it as wav files:
>
> mplayer filename.vob -ao pcm:waveheader:file=filename.wav -vo null
>
> It would be handy if this could be automated so I could run a bash
> script in a directory full of vob files and end up with a set of wav
> files with the same file name as the original vob.
>
> If anyone knock out such an animal for me I'd be ever grateful and
> praise your name over and over.
I'm sure there are 20 ways to do it... Something like this might work:
for a in *.vob; do mplayer $a -ao pcm:waveheader:file=$a.wav -vo null; done
You also may want to look at the -dumpaudio and -dumpfile options of
mplayer if you want the original format audio from your DVD instead of
converting it to WAV files...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] OT: script to make wav fro vob
2009-12-15 15:23 [gentoo-user] OT: script to make wav fro vob Skippy
` (2 preceding siblings ...)
2009-12-15 16:25 ` Paul Hartman
@ 2009-12-15 16:35 ` Stroller
3 siblings, 0 replies; 6+ messages in thread
From: Stroller @ 2009-12-15 16:35 UTC (permalink / raw
To: gentoo-user
On 15 Dec 2009, at 15:23, Skippy wrote:
> ...
> Greetings, my scripting skills are non-existent, so I come asking for
> help. :)
I recommend the works of Izaak Walton & Mendel Cooper.
Stroller.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] OT: script to make wav fro vob
2009-12-15 15:41 ` Neil Bothwick
@ 2009-12-15 17:56 ` Skippy
0 siblings, 0 replies; 6+ messages in thread
From: Skippy @ 2009-12-15 17:56 UTC (permalink / raw
To: gentoo-user
Thank you Neil - songs are being sung in your name even now.
Skippy
On Tue, 15 Dec 2009 15:41:42 +0000
Neil Bothwick <neil@digimed.co.uk> wrote the words:
> On Tue, 15 Dec 2009 08:23:26 -0700, Skippy wrote:
>
> > mplayer filename.vob -ao pcm:waveheader:file=filename.wav -vo null
> >
> > It would be handy if this could be automated so I could run a bash
> > script in a directory full of vob files and end up with a set of wav
> > files with the same file name as the original vob.
>
> for i in *.vob; do
> mplayer "${i}" -ao pcm:waveheader:file="${i/.vob/.wav}" -vo null
> done
>
>
> --
> Neil Bothwick
>
> I can't walk on water, but I can stagger on alcohol.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-12-15 18:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-15 15:23 [gentoo-user] OT: script to make wav fro vob Skippy
2009-12-15 15:36 ` Marcus Wanner
2009-12-15 15:41 ` Neil Bothwick
2009-12-15 17:56 ` Skippy
2009-12-15 16:25 ` Paul Hartman
2009-12-15 16:35 ` Stroller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox