McMahon has asked for the wisdom of the Perl Monks concerning the following question:
but the file doesn't play.#!/usr/bin/perl use warnings; use strict; use IO::Socket; my $data; open OUT, ">file.avi"; my $local = new IO::Socket::INET->new(LocalPort=>10000, Proto=>'udp'); while(1) { $local->recv($data,1024); print OUT "$data"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Turn network video stream into playable .avi file?
by Joost (Canon) on Aug 27, 2004 at 11:44 UTC | |
|
Re: Turn network video stream into playable .avi file?
by Grygonos (Chaplain) on Aug 26, 2004 at 20:03 UTC | |
by jfroebe (Parson) on Aug 26, 2004 at 20:12 UTC | |
by McMahon (Chaplain) on Aug 26, 2004 at 21:01 UTC | |
by hardburn (Abbot) on Aug 26, 2004 at 21:09 UTC | |
by jfroebe (Parson) on Aug 26, 2004 at 21:05 UTC |