convert-to-wav.pl

This commit is contained in:
Josh Holtrop 2010-09-19 20:40:32 -04:00
parent 977e37f327
commit 9db43728b1

11
convert-to-wav.pl Normal file
View File

@ -0,0 +1,11 @@
#!/usr/bin/perl -w
use strict;
foreach my $arg (@ARGV)
{
my $out = $arg;
$out =~ s/\....$//;
system('mplayer', '-vo', 'null', '-ao', "pcm:file=$out.wav", $arg);
}