convert-to-wav.pl

This commit is contained in:
Josh Holtrop committed 2010-09-19 20:40:32 -04:00
1 parent 977e37f327
commit 9db43728b1
1 file changed
+11
+11
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);
}