convert-to-wav.pl
This commit is contained in:
parent
977e37f327
commit
9db43728b1
11
convert-to-wav.pl
Normal file
11
convert-to-wav.pl
Normal 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);
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user