Hi all,
i am trying to convert a mp3 to wav via the L3dec.exe. My thougt is to write
thomthing to the filehandle and read the converted data out.
I tryed this:
use IPC::Open2;
$pid = open2(\*r, \*w, 'l3dec', '-sti', '-.sto', '-ff', '-sa');
print w "n\n"; # its for the non-registration-version.
open(MP3, "<test.mp3");
do
{
$mpreader = sysread(MP3, $uncomp, 512);
print ".";
print w "$uncomp";
while(<r>)
{
print "e";
}
} while($mpreader > 0);
close($pid);
exit;
but nothing happend ! the prog stops without printing a single dot.
some help out there ?
thnax kris
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web