Re: [flexcoders] Re: JPEGEncoder.as
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: Any luck pulling up that code sample? :) Shan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Bourne Sent: Thursday, October 12, 2006 6:18 PM To: flexcoders@yahoogroups.com Subject: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as Hi Shannon, I currently do almost exactly what you are after. I have a socket class that I use to stream the binary data which I then split into the image packets and then decode the jpegs via the Loader.loadBytes method. We use a custom protocol with normal jpegs as the data, so for mjpeg you would probably need to write a decoder to split the mjpeg stream into the single jpeg frames and then use the Loader to decode them. HTH, Andrew Shannon Hicks wrote: Hey, I'm interested in trying to build out something (in flex 2) that can accept an MJpeg stream. Basically, it's a stream of one jpg image after another. This would be useful to potentially a bunch of people who want to show their network webcams via Flash/Flex2. Anyone a tad more experienced interested in helping me with this? Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich Tretola Sent: Thursday, October 12, 2006 11:51 AM To: [EMAIL PROTECTED]ups.com Subject: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as The ones at the Adobe lab from the link Darron provided work fine without any changes. Rich http://www.everythingflex.com On 10/12/06, Andrew Trice <andrew.trice@cynergysystems.com> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: [EMAIL PROTECTED]ups.com on behalf of nathanpdaniel Sent: Thu 10/12/2006 12:57 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available? --- In [EMAIL PROTECTED]ups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote: > > Thanks Darron, > > I had downloaded them from > http://labs.adobe.com/wiki/index.php/Source:getearlier but they were > very old files. > > Rich > > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote: > > > > They're in the Adoeb Labs SVN: > > > > > > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/a ctionscript3/com/adobe/images/ > > > > -d > > > > Rich Tretola wrote: > > > > Anyone have a new copy of JPEGEncoder.as? > > > > Rich* > > * > > > > > > > > > > > > -- > Rich Tretola > > http://www.EverythingFlex.com > -- Rich Tretola http://www.EverythingFlex.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Da
Re: [flexcoders] Re: JPEGEncoder.as
Any luck pulling up that code sample? :) Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew BourneSent: Thursday, October 12, 2006 6:18 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as Hi Shannon, I currently do almost exactly what you are after. I have a socket class that I use to stream the binary data which I then split into the image packets and then decode the jpegs via the Loader.loadBytes method. We use a custom protocol with normal jpegs as the data, so for mjpeg you would probably need to write a decoder to split the mjpeg stream into the single jpeg frames and then use the Loader to decode them. HTH, AndrewShannon Hicks wrote: Hey, I'm interested in trying to build out something (in flex 2) that can accept an MJpeg stream. Basically, it's a stream of one jpg image after another. This would be useful to potentially a bunch of people who want to show their network webcams via Flash/Flex2. Anyone a tad more experienced interested in helping me with this? Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich TretolaSent: Thursday, October 12, 2006 11:51 AMTo: [EMAIL PROTECTED]ups.comSubject: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as The ones at the Adobe lab from the link Darron provided work fine without any changes.Richhttp://www.everythingflex.com On 10/12/06, Andrew Trice <andrew.trice@cynergysystems.com> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: [EMAIL PROTECTED]ups.com on behalf of nathanpdanielSent: Thu 10/12/2006 12:57 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available?--- In [EMAIL PROTECTED]ups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote:>> Thanks Darron,> > I had downloaded them from> http://labs.adobe.com/wiki/index.php/Source:getearlier but they were> very old files.> > Rich> > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote:> >> > They're in the Adoeb Labs SVN:> >> >> > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/actionscript3/com/adobe/images/> >> > -d> >> > Rich Tretola wrote:> >> > Anyone have a new copy of JPEGEncoder.as?> >> > Rich*> > *> >> >> > > >> > > > -- > Rich Tretola> > http://www.EverythingFlex.com>-- Rich Tretolahttp://www.EverythingFlex.com --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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 __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006
Re: [flexcoders] Re: JPEGEncoder.as
Neither exactly... I have a HTTP, MJPEG stream. Basically, it's a stream of jpeg files. So it's not jpeg files, it's literally a stream that I'd connect to via a socket. The tricky part is splitting the stream into the individual jpeg images and displaying them to the user. Basically, I'd love to see the part of your code where you're splitting your protocol into the individual jpeg's (not from this example you just sent, but from what you talked about yesterday). Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew TriceSent: Friday, October 13, 2006 1:21 PMTo: Andrew Trice; flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as Wait… are you capturing the images server side or client side? I am confused by the thread. This code is to capture from flex… Are you looking for code to capture images from the server and stream those up to the client? _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@cynergysystems.com Office: 866-CYNERGY From: Andrew Trice Sent: Friday, October 13, 2006 2:19 PMTo: '[EMAIL PROTECTED]ups.com'Subject: RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as Check out this for attaching to the camera and capturing images from it… http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@cynergysystems.com Office: 866-CYNERGY From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Shannon HicksSent: Friday, October 13, 2006 1:50 PMTo: [EMAIL PROTECTED]ups.comSubject: RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as I don't supposed you can send me some sample code to get me started? :) I plan on first building out a flex 2 client for the Panasonic Pan/Tilt webcam (BL-C10A). I have everything working except for the video stream. Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew BourneSent: Thursday, October 12, 2006 6:18 PMTo: [EMAIL PROTECTED]ups.comSubject: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as Hi Shannon, I currently do almost exactly what you are after. I have a socket class that I use to stream the binary data which I then split into the image packets and then decode the jpegs via the Loader.loadBytes method. We use a custom protocol with normal jpegs as the data, so for mjpeg you would probably need to write a decoder to split the mjpeg stream into the single jpeg frames and then use the Loader to decode them. HTH, AndrewShannon Hicks wrote: Hey, I'm interested in trying to build out something (in flex 2) that can accept an MJpeg stream. Basically, it's a stream of one jpg image after another. This would be useful to potentially a bunch of people who want to show their network webcams via Flash/Flex2. Anyone a tad more experienced interested in helping me with this? Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich TretolaSent: Thursday, October 12, 2006 11:51 AMTo: [EMAIL PROTECTED]ups.comSubject: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as The ones at the Adobe lab from the link Darron provided work fine without any changes.Richhttp://www.everythingflex.com On 10/12/06, Andrew Trice <andrew.trice@cynergysystems.com> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: [EMAIL PROTECTED]ups.com on behalf of nathanpdanielSent: Thu 10/12/2006 12:57 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available?--- In [EMAIL PROTECTED]ups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote:>> Thanks Darron,> > I had downloaded them from> http://labs.adobe.com/wiki/index.php/Source
Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as
very very cool :)On 10/13/06, Andrew Trice <[EMAIL PROTECTED]> wrote: Check out this for attaching to the camera and capturing images from it… http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Shannon Hicks Sent: Friday, October 13, 2006 1:50 PM To: [EMAIL PROTECTED]ups.com Subject: RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as I don't supposed you can send me some sample code to get me started? :) I plan on first building out a flex 2 client for the Panasonic Pan/Tilt webcam (BL-C10A). I have everything working except for the video stream. Shan From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Bourne Sent: Thursday, October 12, 2006 6:18 PM To: [EMAIL PROTECTED]ups.com Subject: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as Hi Shannon, I currently do almost exactly what you are after. I have a socket class that I use to stream the binary data which I then split into the image packets and then decode the jpegs via the Loader.loadBytes method. We use a custom protocol with normal jpegs as the data, so for mjpeg you would probably need to write a decoder to split the mjpeg stream into the single jpeg frames and then use the Loader to decode them. HTH, Andrew Shannon Hicks wrote: Hey, I'm interested in trying to build out something (in flex 2) that can accept an MJpeg stream. Basically, it's a stream of one jpg image after another. This would be useful to potentially a bunch of people who want to show their network webcams via Flash/Flex2. Anyone a tad more experienced interested in helping me with this? Shan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich Tretola Sent: Thursday, October 12, 2006 11:51 AM To: flexcoders@yahoogroups.com Subject: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as The ones at the Adobe lab from the link Darron provided work fine without any changes. Rich http://www.everythingflex.com On 10/12/06, Andrew Trice <[EMAIL PROTECTED]> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: flexcoders@yahoogroups.com on behalf of nathanpdaniel Sent: Thu 10/12/2006 12:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available? --- In flexcoders@yahoogroups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote: > > Thanks Darron, > > I had downloaded them from > http://labs.adobe.com/wiki/index.php/Source:getearlier but they were > very old files. > > Rich > > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote: > > > > They're in the Adoeb Labs SVN: > > > > > > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/a ctionscript3/com/adobe/images/ > > > > -d > > > > Rich Tretola wrote: > > > > Anyone have a new copy of JPEGEncoder.as? > > > > Rich* > > * > > > > > > > > > > > > -- > Rich Tretola > > http://www.EverythingFlex.com > -- Rich Tretola http://www.EverythingFlex.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.3/473 - Release Date: 10/12/2006 -- diabetic? http://www
RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as
Check out this for attaching to the camera and capturing images from it… http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks Sent: Friday, October 13, 2006 1:50 PM To: flexcoders@yahoogroups.com Subject: RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as I don't supposed you can send me some sample code to get me started? :) I plan on first building out a flex 2 client for the Panasonic Pan/Tilt webcam (BL-C10A). I have everything working except for the video stream. Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Bourne Sent: Thursday, October 12, 2006 6:18 PM To: [EMAIL PROTECTED]ups.com Subject: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as Hi Shannon, I currently do almost exactly what you are after. I have a socket class that I use to stream the binary data which I then split into the image packets and then decode the jpegs via the Loader.loadBytes method. We use a custom protocol with normal jpegs as the data, so for mjpeg you would probably need to write a decoder to split the mjpeg stream into the single jpeg frames and then use the Loader to decode them. HTH, Andrew Shannon Hicks wrote: Hey, I'm interested in trying to build out something (in flex 2) that can accept an MJpeg stream. Basically, it's a stream of one jpg image after another. This would be useful to potentially a bunch of people who want to show their network webcams via Flash/Flex2. Anyone a tad more experienced interested in helping me with this? Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich Tretola Sent: Thursday, October 12, 2006 11:51 AM To: [EMAIL PROTECTED]ups.com Subject: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as The ones at the Adobe lab from the link Darron provided work fine without any changes. Rich http://www.everythingflex.com On 10/12/06, Andrew Trice <andrew.trice@cynergysystems.com> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: [EMAIL PROTECTED]ups.com on behalf of nathanpdaniel Sent: Thu 10/12/2006 12:57 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available? --- In [EMAIL PROTECTED]ups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote: > > Thanks Darron, > > I had downloaded them from > http://labs.adobe.com/wiki/index.php/Source:getearlier but they were > very old files. > > Rich > > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote: > > > > They're in the Adoeb Labs SVN: > > > > > > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/a ctionscript3/com/adobe/images/ > > > > -d > > > > Rich Tretola wrote: > > > > Anyone have a new copy of JPEGEncoder.as? > > > > Rich* > > * > > > > > > > > > > > > -- > Rich Tretola > > http://www.EverythingFlex.com > -- Rich Tretola http://www.EverythingFlex.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.3/473 - Release Date: 10/12/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-ar
RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as
I don't supposed you can send me some sample code to get me started? :) I plan on first building out a flex 2 client for the Panasonic Pan/Tilt webcam (BL-C10A). I have everything working except for the video stream. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew BourneSent: Thursday, October 12, 2006 6:18 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as Hi Shannon, I currently do almost exactly what you are after. I have a socket class that I use to stream the binary data which I then split into the image packets and then decode the jpegs via the Loader.loadBytes method. We use a custom protocol with normal jpegs as the data, so for mjpeg you would probably need to write a decoder to split the mjpeg stream into the single jpeg frames and then use the Loader to decode them. HTH, AndrewShannon Hicks wrote: Hey, I'm interested in trying to build out something (in flex 2) that can accept an MJpeg stream. Basically, it's a stream of one jpg image after another. This would be useful to potentially a bunch of people who want to show their network webcams via Flash/Flex2. Anyone a tad more experienced interested in helping me with this? Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich TretolaSent: Thursday, October 12, 2006 11:51 AMTo: [EMAIL PROTECTED]ups.comSubject: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as The ones at the Adobe lab from the link Darron provided work fine without any changes.Richhttp://www.everythingflex.com On 10/12/06, Andrew Trice <andrew.trice@cynergysystems.com> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: [EMAIL PROTECTED]ups.com on behalf of nathanpdanielSent: Thu 10/12/2006 12:57 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available?--- In [EMAIL PROTECTED]ups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote:>> Thanks Darron,> > I had downloaded them from> http://labs.adobe.com/wiki/index.php/Source:getearlier but they were> very old files.> > Rich> > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote:> >> > They're in the Adoeb Labs SVN:> >> >> > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/actionscript3/com/adobe/images/> >> > -d> >> > Rich Tretola wrote:> >> > Anyone have a new copy of JPEGEncoder.as?> >> > Rich*> > *> >> >> > > >> > > > -- > Rich Tretola> > http://www.EverythingFlex.com>-- Rich Tretolahttp://www.EverythingFlex.com --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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 __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.3/473 - Release Date: 10/12/2006
Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as
Hi Shannon, I currently do almost exactly what you are after. I have a socket class that I use to stream the binary data which I then split into the image packets and then decode the jpegs via the Loader.loadBytes method. We use a custom protocol with normal jpegs as the data, so for mjpeg you would probably need to write a decoder to split the mjpeg stream into the single jpeg frames and then use the Loader to decode them. HTH, Andrew Shannon Hicks wrote: Hey, I'm interested in trying to build out something (in flex 2) that can accept an MJpeg stream. Basically, it's a stream of one jpg image after another. This would be useful to potentially a bunch of people who want to show their network webcams via Flash/Flex2. Anyone a tad more experienced interested in helping me with this? Shan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich Tretola Sent: Thursday, October 12, 2006 11:51 AM To: flexcoders@yahoogroups.com Subject: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as The ones at the Adobe lab from the link Darron provided work fine without any changes. Rich http://www.everythingflex.com On 10/12/06, Andrew Trice <andrew.trice@cynergysystems.com> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: [EMAIL PROTECTED]ups.com on behalf of nathanpdaniel Sent: Thu 10/12/2006 12:57 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available? --- In [EMAIL PROTECTED]ups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote: > > Thanks Darron, > > I had downloaded them from > http://labs.adobe.com/wiki/index.php/Source:getearlier but they were > very old files. > > Rich > > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote: > > > > They're in the Adoeb Labs SVN: > > > > > > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/a ctionscript3/com/adobe/images/ > > > > -d > > > > Rich Tretola wrote: > > > > Anyone have a new copy of JPEGEncoder.as? > > > > Rich* > > * > > > > > > > > > > > > -- > Rich Tretola > > http://www.EverythingFlex.com > -- Rich Tretola http://www.EverythingFlex.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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 __,_._,___
RE: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as
I’d recommend using the socket class to stream the data to your application as a ByteArray. Then use the loader class’s loadBytes method to render the images as you get them. Sorry, I’m not familiar with MJpeg, so I can’t get much more specific. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks Sent: Thursday, October 12, 2006 1:32 PM To: flexcoders@yahoogroups.com Subject: RE: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as Hey, I'm interested in trying to build out something (in flex 2) that can accept an MJpeg stream. Basically, it's a stream of one jpg image after another. This would be useful to potentially a bunch of people who want to show their network webcams via Flash/Flex2. Anyone a tad more experienced interested in helping me with this? Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich Tretola Sent: Thursday, October 12, 2006 11:51 AM To: [EMAIL PROTECTED]ups.com Subject: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as The ones at the Adobe lab from the link Darron provided work fine without any changes. Rich http://www.everythingflex.com On 10/12/06, Andrew Trice <andrew.trice@cynergysystems.com> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: [EMAIL PROTECTED]ups.com on behalf of nathanpdaniel Sent: Thu 10/12/2006 12:57 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available? --- In [EMAIL PROTECTED]ups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote: > > Thanks Darron, > > I had downloaded them from > http://labs.adobe.com/wiki/index.php/Source:getearlier but they were > very old files. > > Rich > > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote: > > > > They're in the Adoeb Labs SVN: > > > > > > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/a ctionscript3/com/adobe/images/ > > > > -d > > > > Rich Tretola wrote: > > > > Anyone have a new copy of JPEGEncoder.as? > > > > Rich* > > * > > > > > > > > > > > > -- > Rich Tretola > > http://www.EverythingFlex.com > -- Rich Tretola http://www.EverythingFlex.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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 __,_._,___
RE: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as
Hey, I'm interested in trying to build out something (in flex 2) that can accept an MJpeg stream. Basically, it's a stream of one jpg image after another. This would be useful to potentially a bunch of people who want to show their network webcams via Flash/Flex2. Anyone a tad more experienced interested in helping me with this? Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich TretolaSent: Thursday, October 12, 2006 11:51 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as The ones at the Adobe lab from the link Darron provided work fine without any changes.Richhttp://www.everythingflex.com On 10/12/06, Andrew Trice <andrew.trice@cynergysystems.com> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: [EMAIL PROTECTED]ups.com on behalf of nathanpdanielSent: Thu 10/12/2006 12:57 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available?--- In [EMAIL PROTECTED]ups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote:>> Thanks Darron,> > I had downloaded them from> http://labs.adobe.com/wiki/index.php/Source:getearlier but they were> very old files.> > Rich> > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote:> >> > They're in the Adoeb Labs SVN:> >> >> > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/actionscript3/com/adobe/images/> >> > -d> >> > Rich Tretola wrote:> >> > Anyone have a new copy of JPEGEncoder.as?> >> > Rich*> > *> >> >> > > >> > > > -- > Rich Tretola> > http://www.EverythingFlex.com>-- Rich Tretolahttp://www.EverythingFlex.com --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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 __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006
Re: [flexcoders] Re: JPEGEncoder.as
The ones at the Adobe lab from the link Darron provided work fine without any changes.Richhttp://www.everythingflex.comOn 10/12/06, Andrew Trice <[EMAIL PROTECTED]> wrote: The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: flexcoders@yahoogroups.com on behalf of nathanpdanielSent: Thu 10/12/2006 12:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available?--- In flexcoders@yahoogroups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote:>> Thanks Darron,> > I had downloaded them from> http://labs.adobe.com/wiki/index.php/Source:getearlier but they were> very old files.> > Rich> > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote:> >> > They're in the Adoeb Labs SVN:> >> >> > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/actionscript3/com/adobe/images/> >> > -d> >> > Rich Tretola wrote:> >> > Anyone have a new copy of JPEGEncoder.as?> >> > Rich*> > *> >> >> > > >> > > > -- > Rich Tretola> > http://www.EverythingFlex.com> -- Rich Tretolahttp://www.EverythingFlex.com __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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 __,_._,___
RE: [flexcoders] Re: JPEGEncoder.as
The files are old, but they still work. I had to modify JPGEncoder.as so that it would build correctly in Flex 2 release version. I'd attach it to this post, but I don't have the source on this computer. I'm not aware of any decoders. You could always try to use a loader object to load the ByteArray using the loadBytes method, and then copy the bitmapData from it. Or you could look at the JPGEncoder class and reverse engineer it. -Andy http://www.cynergysystems.com/blogs/page/andrewtrice From: flexcoders@yahoogroups.com on behalf of nathanpdanielSent: Thu 10/12/2006 12:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: JPEGEncoder.as I see these are image ENcoders, are there any image DEcoders available?--- In [EMAIL PROTECTED]ups.com, "Rich Tretola" <[EMAIL PROTECTED].> wrote:>> Thanks Darron,> > I had downloaded them from> http://labs.adobe.com/wiki/index.php/Source:getearlier but they were> very old files.> > Rich> > On 10/11/06, Darron J. Schall <[EMAIL PROTECTED]> wrote:> >> > They're in the Adoeb Labs SVN:> >> >> > http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/actionscript3/com/adobe/images/> >> > -d> >> > Rich Tretola wrote:> >> > Anyone have a new copy of JPEGEncoder.as?> >> > Rich*> > *> >> >> > > >> > > > -- > Rich Tretola> >> http://www.EverythingFlex.com> __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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 __,_._,___