On 11/6/06, Tom Bailey <
[EMAIL PROTECTED]> wrote:
I have tried examples similar to these and have only been able to capture progressive download video. Is it possible to capture video that is streamed through rtmp? I think I read somewhere that the player doesnt allow this. Does anyone know anything about that?
Thanks,
T.On 11/6/06, Sebastian Wagner < [EMAIL PROTECTED]> wrote:there are also other tutorials around with PHP as backend layer:
http://www.quasimondo.com/archives/000572.php
BUT
it is not very memory sufficent and large pictures can crash your FlashPlayer. So with a single loop it will be impossible to gather the bitmap data, you have to cheat the 255-loop count by using onEnter or another thing.... and if the size of the image is really big also the Array.toString method used to send the Array with the LoadVars Object will cause the Player to crash.
Also data is really big so it takes time and you produce a lot of overhead. Examples above provides some compress-algorithm's.
But in fact I do not really like that solution, its quite nasty to store the RGB value of every Pixel in an Array and consumes too much memory,slow and player crasges.
Has somebody experience about the *print* method? is it possible to rearrange the print to another output then the Printer?
As long as you gathering the data and send it to another LAyer in fact the hole thing has not really something to do with Red5 but I am also interested in it :-).
regards2006/11/6, Dominick Accattato <[EMAIL PROTECTED]>:sure, starting with the Flash Player 8, you have access to an Image API. http://www.adobe.com/devnet/flash/articles/image_api_05.html
Onward to Flash 9,
From that point
http://www.kaourantin.net/2005/10/png-encoder-in-as3.html
http://www.kaourantin.net/2005/10/png-encoder-in-as3.html
Great example here:
http://www.bytearray.org/wp-content/uploads/2006/09/media_snapshot/ (no source yet)
Once you have the byteArray, you can send that array to the server thruogh a post to a jsp application sitting on your R5 server or you can have rtmp stream that bytearray over to a method on the server. At this point you can write the byte array out to a file for persistance or manipulate the jpeg and send back down to client to recreate a bitmap on the fly.
HTH
Dominick Accattato, CTO
New View Networks
www.newviewnetworks.comOn 11/6/06, Robin Bultot (Woedend!) <[EMAIL PROTECTED]> wrote:Hi,
Is there a way to save an image from Flash using Red5?
Thanks,
--
Robin Bultot
Woedend!
Magna Plaza
Spuistraat 139J
1012 SV Amsterdam
t 020 67 64 999
f 020 47 14 446
e: [EMAIL PROTECTED]
i: http://www.woedend.nl
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Sebastian Wagner
http://www.webbase-design.de
http://www.laszlo-forum.de
Bleichstraße 92
75173 Pforzheim
Tel.: 0177-7341829
Home: 07231-417456
[EMAIL PROTECTED]
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
