How can you compress BitmapData in Flash to reduce the amount of RAM it
uses?

I need to scrub H264 video frame by frame.  You cannot do this utilizing
NetStream.seek because it seeks to the nearest keyframe.  This would require
the video to consist of nothing but keyframes.  Naturally this is not an
option for file size and playback performance reasons.  So, what I did was
record a 10 second section of the video using BitmapData.draw ( t3hV1d30 ),
shove the captures in an Array, and playback in a simple Bitmap swapper.  It
works well, allowing me to scrub frame by frame...

... except for the RAM; it takes 30 to 40 megs for just 10 seconds of
640x480 captures.  Someone mentioned ByteArray.deflate.  Looking for any
ideas on how to reduce the RAM cost here???

-- sorry for the x-post for those on Flash_Tiger --

Reply via email to