in reply to Passing an in memory scalar to an external command as an argument
my $mp3 = <binary contents of an mp3 file already in memory>; $pid = open(PLAY, "| ffmpeg -i pipe:0") or die "Couldn't fork: $!\n"; print PLAY $mp3; close(PLAY) or die "Couldn't close: $!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing an in memory scalar to an external command as an argument
by LanX (Saint) on Apr 08, 2015 at 19:07 UTC | |
by Rodster001 (Pilgrim) on Apr 08, 2015 at 19:10 UTC | |
|
Re^2: Passing an in memory scalar to an external command as an argument
by RonW (Parson) on Apr 08, 2015 at 20:55 UTC | |
by Rodster001 (Pilgrim) on Apr 08, 2015 at 22:38 UTC | |
by RonW (Parson) on Apr 08, 2015 at 23:14 UTC | |
|
Re^2: Passing an in memory scalar to an external command as an argument
by Rodster001 (Pilgrim) on Apr 08, 2015 at 19:08 UTC |