[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Passing swf in stdin/pipe to swfdump

From: Matthias Kramm
Subject: Re: [Swftools-common] Passing swf in stdin/pipe to swfdump
Date: Sat, 25 Aug 2012 17:01:06 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Aug 07, 2012 at 03:30:20PM +0300, Romi Kuntsman <address@hidden> wrote:
> I'm handling a SWF file in memory in my program, and would like to pass the
> file to swfdump and read the output.
> How can this be done without writing it to a temporary file on disk and
> then passing the filename as parameter, for example using a pipe or similar
> option?

Afraid that a temporary file is the only way to do this- 
in its current implementation, swfdump reads the file twice- once
to determine the file type, and a second time to actually parse,
so it can't process a stdin stream for that very reason.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]