Capture webcam snapshot as bitmap and send to server

I have a local webcam stream appearing on the stage in a
movieclip.
When I click a "snapshot button", a still image from the
webcam gets attached to a new movieclip on the stage with
attachbitmap and then draw()
The snapshot shows up in the movieclip on the stage as a
preview.
I want to know how to send the data of this bitmap in the
movieclip to a server (php or coldfusion) to be saved as a JPEG.
I can't figure out how to access the bmp data and send it to
a server... any answers?

Hello jspoon27,
I am working on a locally run flash application that is very
similar to your post about wanting to save a snapshot of a local
webcam. Could you share your code for doing that or explain your
steps? I would like to have a webcam running then take a snapshot
of the webcam with a button and then email the saved snapshot. My
main interest is how you created the snapshot and button for it.
Thank you,
LeverLock2

Similar Messages

  • Can I render a Flash frame as a bitmap and send it over TCP/IP?

    I want to draw some combination of bitmaps, flash shapes, vectors, text etc and draw them programmatically into my movie using ActionScript, and then get every "rendered" pixel of my movie (at 100% view) into an array that I send to another program over TCP/IP. Can anyone help me here?
    The first part of the question is if its possible to render a frame that is a collection of Flash elements as a bitmap? I know that I can iterate through a bitmap and get every pixel using the getPixel method but I'm trying to access the final rendered frame displayed on my screen, including, as I said Flash shapes and text.
    The second question is what would be the best way to send this "video frame" over TCP/IP? Would I use an XML socket connection? That is the only way I know how to send data out of Flash over TCP/IP but I don't know if it is the only way - the help page says the data needs to be formatted as XML, which seems unwieldly for this application.
    I'm doing this now by using Max/MSP/Jitter to do a screen capture the size and location of my Flash movie and then send out the resulting matrix using a "jit.net.send" object (which lets you send frames of video over TCP/IP), but this is too clumsy for the installation I am building.
    Any help would be greatly appreciated!
    -bob

    Thanks! That was exactly what I was looking for in the first half of the question. And I guess the draw() method works in AS2 as well as AS3. I will test it but from what I understand, I can use a Bitmap as kind of my bottom-level container, then create (in ActionScript) a movie clip that can contain other movie clips or drawing API commands or whatever, animate these various elements then finally draw() them into the bitmap. I see that in AS3 I can even use getPixels or getVector to capture the full "video frame" in one line of code.
    Thanks rothrock, for the helpful links. My application is kind of unusual, in that I'm sending "video" data to a proprietary LED controller box for display on a low resolution LED display. I connect to the box over TCP/IP and send it "frames of video" 20 times a second. I got this to work with this other content and software (Max/MSP/Jitter) and I want to see how I could capture all the rendered pixel data in successive frames of Flash animation, format it properly, then send it over TCP/IP to this controller box. Don't really now enough about the various flavors of TCP/IP connections to figure out how to do this in Flash, and I know there are security limitations built in to Flash that have to be worked around. But my movies are small (say 96 pixels by 72 pixels) and I need to send uncompressed data directly to my controller box, so these interesting links showing how to use server-side scripts to create jpgs or pngs are probably not going to help me. I will hopefully find a higher-level programmer than myself to work this out, and I think some of the techniques here will hopefull prove to be helpful.
    Thanks again for your help!

  • Capture Error in transformation Step and send it by email without Alerts

    Hi all,
         I have a problem in my BPM.
         I need to capture an error in transformation Step and send it by email with a send step without alerts. 
    Is there a way to do this in BPM?

    Hi Mariano,
    Please check the standard pattern in IR under software component SAP BASIS ->Integration process
    -->BpmPatternReqRespAlert.Hope this will help you for building the scenario.
    In this process we define a deadline branch to monitor the deadline. If the deadline is missed, an alert is triggered and this can be sent to an email too.
    Alert Configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Hope this helps.
    Best regards,
    Sharath
    Edited by: sharath Girmaji on Dec 19, 2008 7:17 PM

  • Capturing the AuditLog from Aadapter and sending to sender through alert

    Hi Experts,
    I have a requirement where I have to send the sender system ( specially the   vendor) an email if message fails at adapter level.
    I need to also capture the exception or cause stated in the comm. channel adapter.
    Is it possible to do this  through alert ?
    like the alert will capture the audit log from adapter  and send it to the sender through the defined alert rule ?
    Thanks
    Vinny

    Hi,
    Yes this is possible. Please check this blog for how to configure the alerts
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    You can also have a seperate alert category in ALRTCATDEF for adapter engine alerts.
    Then in the alert rule you can specify the where the alert occurs as "adapter engine"
    try first having an alert rule having wild card * for all fields and do NOT check "suppress multiple alerts from this rule" option.
    Afterwards you can try creating more granular alert rules for specific interfaces if required.
    The container element SXMS_TO_ADAPTER_ERRTEXT should be used in the alert category in ALRTCATDEF for getting the exception text from the adapter engine, communication channel. This container element will show you only first 70 characters of error text in audit log. In later PI releases from PI70 SP19 onwards there is new container element available &SXMS_TO_ADAPTER_ERRLINES[]& (sap note 1294312) and this will  help to display the complete error text of the audit log in the alerts.
    Regards,
    francis

  • How to capture dynamic data in BPM and send to next step ?

    Hi Folks,
    How can i capture the dynamic data and later on send it to the next message type in send step in BPM ?
    Regards,

    Hi Santhosh,
        In your sceanrio your getting the response from RFC and preapring the XML file.Where you are poulating the Dynamic File name inside of the BPM or Outside of the BPM. Might be it is inside of the BPM, if yes Use another transformation step where you can catch the Dynamic file name to sending to Oracle database and Use send step to sending the message of out of the BPM.
    Cheers
    Veera

  • Server side redirect with 4.5.1 and Netscape Enterprise Server

              Is it possible to have a servlet running under WL 4.5.1 to perform a server
              side redirect ala CGI?
              Here's my config:
              web server: Netscape Enterprise Server 3.6 on solaris, with weblogic
              plugin
              servlet runner: WL 4.5.1 on different host from ES.
              Here's what I want to happen:
              1) HTTP GET from browser to enterprise server
              2) forwarded by plugin to servlet
              3) servlet logs some activity to an application log file, and sends a
              server side redirect to enterprise server
              4) Enterprise server returns the file identified by the rediect directly
              to the client.
              This is possible with enterprise server and CGI, because the ES CGI code
              checks the return stream from the CGI program for "Location: <some url>". If
              it see's that, it tries to locally resolve that URL as the client had asked
              directly for that URL. I think this would only be possible with WL if the WL
              NSAPI plug in supported a server side redirect feature. Anyone know status
              of that? Or might ES support something like this depending on the order of
              the objects in obj.conf?
              Here's what I've tried in the servlet:
              res.setHeader("Location:", location);
              res.setContentType("magnus-internal/redirect");
              res.setStatus(302);
              This just sends an HTTP tempoary new location to the client for a client
              side redirect. Client side redirect is not desirable because it doubles the
              HTTP traffic.
              Another option would be to read the file I want to redirect to from inside
              the servlet and return it from the servlet, but that is not desirable
              because I want to have ES serve the file - thats it's job, it caches, less
              network traffic (between our servers), etc.
              Server side redirect is very useful feature and not that uncommon for web
              applications, so if WL does not support it now, I will probably put in a new
              feature request.
              Thanks for your help
              Mark Johnson.
              

    Why not just use the proxy servlet to redirect to your netscape server? That
              does it on the server side!
              -russell
              Mark Johnson wrote:
              > I belive that sendRedirect performs a client side rediret, not a server
              > side redirect.
              >
              > Guy Tal <[email protected]> wrote in message
              > news:[email protected]...
              > > public void doGet(HttpServletRequest req, HttpServletResponse res) ...
              > > ...
              > > res.sendRedirect("http://destination");
              > > ...
              > >
              > > Guy
              > >
              > > Mark Johnson <[email protected]> wrote:
              > >
              > > > Is it possible to have a servlet running under WL 4.5.1 to perform a
              > server
              > > > side redirect ala CGI?
              > >
              > > > Here's my config:
              > > > web server: Netscape Enterprise Server 3.6 on solaris, with weblogic
              > > > plugin
              > > > servlet runner: WL 4.5.1 on different host from ES.
              > >
              > > > Here's what I want to happen:
              > > > 1) HTTP GET from browser to enterprise server
              > > > 2) forwarded by plugin to servlet
              > > > 3) servlet logs some activity to an application log file, and sends
              > a
              > > > server side redirect to enterprise server
              > > > 4) Enterprise server returns the file identified by the rediect
              > directly
              > > > to the client.
              > >
              > > > This is possible with enterprise server and CGI, because the ES CGI code
              > > > checks the return stream from the CGI program for "Location: <some
              > url>". If
              > > > it see's that, it tries to locally resolve that URL as the client had
              > asked
              > > > directly for that URL. I think this would only be possible with WL if
              > the WL
              > > > NSAPI plug in supported a server side redirect feature. Anyone know
              > status
              > > > of that? Or might ES support something like this depending on the order
              > of
              > > > the objects in obj.conf?
              > >
              > > > Here's what I've tried in the servlet:
              > > > res.setHeader("Location:", location);
              > > > res.setContentType("magnus-internal/redirect");
              > > > res.setStatus(302);
              > >
              > > > This just sends an HTTP tempoary new location to the client for a client
              > > > side redirect. Client side redirect is not desirable because it doubles
              > the
              > > > HTTP traffic.
              > >
              > > > Another option would be to read the file I want to redirect to from
              > inside
              > > > the servlet and return it from the servlet, but that is not desirable
              > > > because I want to have ES serve the file - thats it's job, it caches,
              > less
              > > > network traffic (between our servers), etc.
              > >
              > > > Server side redirect is very useful feature and not that uncommon for
              > web
              > > > applications, so if WL does not support it now, I will probably put in a
              > new
              > > > feature request.
              > >
              > >
              > > > Thanks for your help
              > >
              > > > Mark Johnson.
              > >
              > >
              > >
              > >
              > >
              > >
              > >
              > >
              Russell Castagnaro
              Chief Mentor
              SyncTank Solutions
              http://www.synctank.com
              Earth is the cradle of mankind; one does not remain in the cradle forever
              -Tsiolkovsky
              

  • How to capture signature on mobile and send it to the bapi

    Hi all,
    I developed an Mobile application(7.1) in which signature capture should be there.
    1)How to capture this signature and send it to the backend .
    2)How I have to define the function module for this requirement?
    Thanks and regards,
    Rajesh

    Hi Rajesh,
    Here are the steps:
    1. First, you have a signature capture tool. Most of the phones come with their own signature capture tools. For example, for Pocket PC - you can go to the MSDN site and then download the capture program.
    2. The captured signature should then be stored as an JGP/ PDF/ or any version.
    3. In your mobile application, you have to convert this file into binary format. This must be uploaded to the mobile middleware
    In the mobile middleware, you must ensure that attachments are enabled. You can refer to this [link |https://www.sdn.sap.com/irj/scn/wiki?ath=/display/mobile/createapplicationsusingBinaryMemoandTextMemoinNetweaverMobile+7.1] for actions that you must do in the middleware and in the back-end.

  • What is the steps to capture from web cam and send it over internet?

    hello
    i need to capture video and send it over internaet?
    what is the steps to do it
    does i need RTP? how it work?
    thanks for help

    hello
    i need to capture video and send it over internaet?
    what is the steps to do it
    does i need RTP? how it work?
    thanks for help

  • Someone has captured my email address and sending emails saying they are from me.

    Someone has captured my email address and sending messages out to people in my address book making it look like they are  from me. It's for an advertisement on a webpage. How do I get it to stop?
    This has not happened to me in over 3 years when I switched to apple products.
    Anyone that can help me clean this up. Most of the recipients that the link above is being sent to are simply deleting because they know if I was the one asking them to check out the link I would tell them first what it was about before they open it. There is NO message in the email JUST the website.  This is frustrating for me...brings me back 3 years to anti-virus protection with Windows.
    Thank you,
    Bernie
    <Link Edited By Host>

    You may have been infected by a Botnet:
    Simply put, a bot – which is short for robot – is an automated computer program that allows outside sources to control computers remotely without the users' knowledge. A botnet is a network of hundreds or thousands of computers infected with botnet malware that communicates covertly with a command-and-control (CnC) server run by a type of cybercriminal called a botmaster. Unbeknownst to the individual users, their computers are linked in a rogue network which the botmaster can utilize for a variety of nefarious purposes.
    Detailed information here:
    http://mac-internet-security-software-review.toptenreviews.com/how-do-i-know-if- my-computer-is-a-botnet-zombie-.html

  • Webcam snapshot to jpeg

    I want to take a singel frame snapshot of a webcam image,
    which is streaming to a server, and send it to a JSP server and
    make it a JPEG. How can I do it? Isn't there a simple way? With few
    lines of code? To make a byte array, perhaps and send it through
    http?

    In photoshop see if File>Scripts>Image Processor works.

  • Webcam snapshot in flash

    I'm mildly familiar with action script. I would like to take
    a snapshot from the local webcam and have a preview of the captured
    image on the stage, and then upload the captured image to a
    ColdFusion server to be saved as a jpg.
    After searching online I've found many examples but none of
    them work for me. At this time I can only show webcam on the stage.
    Could someone help? Thanks in advance!

    There is currently a problem (internal bug #2589240) where webcam resolution cannot be increased beyond 320x240 on linux.  We're hoping to address this in a future release.  Please feel free to ping me with status updates in the future either on this thread or at [email protected]
    Thanks,
    Chris
    Ps. This also effects AIR applications.

  • Webcam Snapshot

    Hi,
    I'm looking to see if anyone had some code for an application that could, when run take a snapshot using my webcam, save the photo, and then exit. I'm very new to jmf and have tried to siplify owens program but am having toomuch difficulty. if someone could help me I need this to help me with a larger project. Thanks.
    Chris

    Thanks so much for the referral. That was something like I was looking for however i want to remove the capture button. i'm not sure if you can help me or not but I want to remove the button and just take a snapshot the second you un the program
    Thanks

  • Track actions and send them to a server.

    I am not expert in Adobe Captivate but I was inquired by a possible customer if we would be able to track presentations and trainings, like capturing for example when the user viewed it, time taken, get some text field inputs, quiz results, etc. In summary, they want to have a database with user behavior, statistics, etc. Reading the documentation I still don't have conclusive answers to these questions:
    1) Is it possible to define events (Advanced Actions?) and send information back to a server when it triggers? For example, the user finished a quiz and the result is sent to a server on the Internet via a Web Service our even a URL with parameters (e-mail is not viable).
    2) If this is not available, is it possible to capture these while playing the presentation inside a Adobe Flex application some how ? Cue points?.
    3) Can custom, hidden AS3 Widgets do this perhaps?
    If someone can point me to a paper or documentation I appreciate.
    Thanks in advance,
    Mauricio.

    Hi Mauricio,
    With the level of detail of tracking that your customer want you are much better off by deploying the course in an LMS. That would take care of most of the tracking issues. There are many free LMS's available as open source so you could just use one of those. The Moodle LMS is a popular choice, but as long as the LMS is SCORM compliant it doesn't really matter much in my opinion.
    As for your questions:
    1) I don't think this approach would be possible.
    2) This would be possible. If you have a Flex or Flash shell you are able to access the Captivate system variables and then do whatever you want with them. I doubt that you would be able to get the text field inputs, but other than that you can get pretty much everything you want.
    3) Same as number 2. Yes it would be possible.
    There is an article on Adobe Developernet describing how you "hack" the email functionality of Captivate in order to store the data in a database. Perhaps you could get something out of this: http://www.adobe.com/devnet/captivate/articles/store_cpresults.html
    Other than that I am not aware of any documentation in relation to this subject.
    I myself am working on a Flash / PHP solution to authenticate users in Flash and store their progress, score etc. but I just started so can't really share anything with you.
    /Michael
    Click here to visit the www.captivate4.com blog

  • I received a message on my iPhone 4 that has a video attached to it. I "saved video" but don't know where. How do I find it and send it to mi MacBook Air?

    I received a message on my iPhone 4 that has a video attached to it. I "saved video" but don't know where. How do I find it and send it to mi MacBook Air?

    It would have saved to your camera roll.  Connect the phone to your Air via a USB cable and then run Image Capture which is located either in your Utilities folder or Other folder, depending on what version of Mac OS X your are running.  You will then see all the photos and videos stored on your iPhone and can then download them.

  • Trash and Send .  I have a new IPAD 2 and I do not have any of my e mails in the send and trash folders.  I have had the IPAD about three weeks and have sent and deleted many e mails.  Do I have some wrong settings or configuration problem??

    I purchased an IPAD 2 about three weeks ago.  When I go to my Trash and Send foloders it appears that none of my deleted or sent e mails are bing captured/stored in these folders.  do i have a configuration problem???

    Once you connect to the Wifi Network once, then the iPhone or iPad remembers it and attempts to connect automatically in the future, but you have to tap to connect to that Wifi the first time. Like the first time you get on your home wifi, or the first time you go the a certain hotel, etc.
    Now, one you navigate to Settings > Wifi and tap on the network you wish to connect to, if you are having issues there, use this article to help you: http://support.apple.com/kb/TS1398

Maybe you are looking for

  • Apply button not working In Sharepoint Integrated mode

    Env:- SSRS 2008 R2 with Sharepoint 2010 For some report users, the Apply button is not working (SharePoint integrated mode). After they select all the parameters in report and hit apply button , the page remain blanks and nothing happens. This issue

  • How do I restore completely to OS X 10.9.3

    Hi all, I recently purchased a mac book pro w/ retina display. I am coming from using windows my entire life. Every time I wanted to restore my pc or laptop I would just delete the partition and re-install my OS and have a fresh clean start. Now I kn

  • Multiple Heaphone Mixes, Latency, FW cards (esp Firepods)

    I often track bass, drums, and keys simultaneously for hip-hop and jazz recordings. The firepods "latency free monitoring" is ONLY for outputs 1-2, which presents a problem for multiple headphone mixes. One solution is to use busses within logic, re-

  • SSM MODULES and Mars events and local?

    Is it possible to setup an AIP-SSM Module to log event alerts to Its local cache as well as the Mars Appliance. I say this because I ran some tests for alerts and never see them on the IPS module itself but i do see them on the Mars Appliance correct

  • BPEL & BAM installation

    1) I am getting problem while running the IRCA.bat for loading schema. Please give solution. 2) I have Microsoft windows server 2003 R2 Standard Edition service pack 1. This version does not support Enterprise link installation. Please give solution