|
Hi Shannon, I had a quick look into adapting my classes with our custom protocol to using MJPEG streams instead. Looks relatively easy and I've got an Axis cam floating around the office that I can use for testing. I'll get a sample together over this weekend. heres a php script that grabs a single frame: http://www.lavrsen.dk/twiki/bin/view/Motion/MjpegFrameGrabPHP Pretty much all I would do is buffer the socket data until there were two instances of the boundary string then extract the bit in between and use a Loader instance to display the jpeg. >From the little research I did into mjpeg it looks like the boundary string may be different between webcams and the jpegs may by missing some of the normal jpeg header information. If so it can be stored in the app or generated and prepended to the bytes you extract out of the stream. Cheers Andrew Shannon Hicks wrote:
__._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |

