ActionScript 3.0 :: Flash Make Duplicate Display Of Webcam Feed

Apr 23, 2012

I'm trying to write some apps that will include some image processing for facial, object recognition. There's a ton of stuff out there (mostly from 2009) that doesn't work very well and I want to give it a try.

Anyway, I have the webcam feeding a video object I've addChild()ed to the stage and that works aces. I want to make a copy of that video stream and plop it on the stage right next to it. This works, but the framerate suffers:

Code:
public function update(event):void
{
//onEnterFrame
var bmp:BitmapData = new BitmapData(_video.width/5,_video.height/5);

[Code]....

So this puts a pixelated version of the webcam feed right next to it just like I wanted, but it seems to lug down the processor. Logic would tell me that I'm piling on infinate amounts of "goat" to my movieClip (mc). I try to dispose() the bmp, but then it stops working.

View 9 Replies


Similar Posts:


ActionScript 2.0 :: Create A Live Video Feed From A Webcam Etc Into Flash?

Apr 19, 2003

Is it possible to create a live video feed from a webcam etc into Flash?

View 6 Replies

Actionscript 3 :: Live Streaming Flex - Send A Feed From Webcam To The Flash Media Server

Jan 30, 2011

I have been working on a Flex application that sends a feed from my webcam to the Flash Media server. The application connects to the server fine but for some reason the camera is not sending anything to the Media Server. I am pretty sure that the answer to my question is really simple but I need another set of eyes to llok at my code and tell me what I am doing wrong.

[Code]....

View 3 Replies

Media Server :: Dynamically Set Publishing Webcam Feed?

Jan 10, 2011

There's just one thing I still don't get about the sample app: As a client, you always have to check the checkboxes (send/receive Audio/Video) in order to define who is sending/receiving what kind of stream. How is it possible to manage the feeds from the FMS server? So the clients can't set the checkboxes, but the server determines who is sending and who is receiving?

View 2 Replies

ActionScript 3.0 :: Capturing And Saving Screenshot From Webcam Feed

Jan 4, 2012

I'm new to AS3 and attempting to learn it by doing a small task, I am trying to get a live local video feed from USB webcam and want to be able to capture and save screenshots from it.I have the live feed working fine, but I am struggling to capture and save a screenshot.Someone from adobe forums suggested I should use BitmapData and JPGEncoder, which I have alongside as3corelib's.[code]I think I am doing something wrong when I am capturing the binary data, or when I am encoding it to JPG.Some assistance from somebody familiar with these methods will be a huge help as I am stuck now, and I am not getting any replies from adobe forums.Both the resolution of the videoInstance object and camera feed are 640x480, and the video is displayed fine.

View 7 Replies

Media Server :: Streaming Live Webcam Feed To Website?

Dec 9, 2010

I have installed flash media server, flash cs5, media live encoder to be able to view my webcam feed via my website. Now in addition to these, i started streaming to localhost, and installed a dns updater which updates a name server according to my current ip. Then i wrote this dns address in the feed's source from flash 5 as rtmp://thednsname.somedns.net/live/livestream
 
so far so good, i also forwarded the ports 1935 incoming and outgoing from modem to my computer as well (because 1935 is said to be the default port number for media server). firewall -> closed (just in case); and my internet provider doesn't block ports...started the media server (with admin privilage in 7), started the live encoder, connect to localhost, start live feed.
 
NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.

View 1 Replies

Media Server :: Uploading A Webcam Feed For Processing, Not Publishing

Dec 7, 2011

I'm trying to use Flash Media Server (on Amazon) to read in a video feed from a user's webcam, process it via my own executable, and return processed data (not video) to the user. For simplicity, let's say my executable finds the darkest pixel in the image and returns its coordinates, and I want the client to draw a cross at this location.

The client-side is working fine. It can send the video stream, and receive vertex data to draw. The server is half-working. It can accept connections, and send fake vertex data to the client. However I can't find any way to access the webcam stream.

Ideally, I would pass each frame from the stream into my executable for processing, with no saving to disk (or perhaps minimal saving to disk as a cache for P-frames). I've got the impression that this is impossible though, so another acceptable solution is to save the stream (live) to disk, and read it (live) from my executable.

Also, somewhat relatedly, I would like to secure the video feed as much as possible. Eventually I'll use SSL to secure it in transit, but for now I have the more serious problem of FMS sharing every stream it recieves. I'm sure there's an option to disable this somewhere, but I just can't find it.

View 10 Replies

Flash :: JQuery Oembed Plugin To Display Videos From A Vimeo Feed Z-index

Apr 6, 2010

I'm using the jQuery oembed plugin to display videos from a Vimeo feed. The only problem is they display over the top of my navigation menu. I have tried setting the z-index of the menu but this makes no difference. A common suggestion seems to be to set the wmode parameter to transparent or opaque. However, passing this as a parameter to the oembed function makes no difference.

View 3 Replies

Flash :: Import Media.video Not Able To Display Webcam?

Jun 27, 2010

I am trying to capture video from my webcam to a video display. I created a button on my main application and it gets my webcam just fine. When I try to use the same code inside a class I created it does not work. Does anyone know what could be the problem? Here is my code to capture the webcam.

[Code]...

View 1 Replies

Media Server :: Publish Live Video Feed From Webcam In H.264 Format Non VP6 Format With 3.5.2?

Dec 2, 2009

how to publish live video feed from webcam in h.264 format non VP6 format with FMS 3.5.2 without using Flash Media Live Encoder, and how to set all parametersto have a good quality and smooth video without interruption, i have a server with 50Mbit bandwidth output enough for a publisher and 10 clients meunderstand this thing's been months since I try but the quality ugly

View 1 Replies

ActionScript 3.0 :: Display An RSS Feed?

Dec 16, 2010

i'm trying to use actionscript to display an RSS feed on the stage.  the code i am using is:

[Code]....

View 5 Replies

ActionScript 3.0 :: Display One Item From XML Feed?

Feb 2, 2009

I did post this in the AS 2.0 forum, as that's my preferred way of working, but am willing to give 3.0 a go if it's not too difficult.

I have this XML that I need to read into flash.

I want to display one of the temperatures in the xml.

For instance, say I want to display the temperature for 'Sydney'.[code]...

View 3 Replies

ActionScript 2.0 :: Display RSS Feed Headline?

Nov 28, 2009

I would like to display an RSS Feed headline in my flash site. There doesn't need to be any body text, but it has to display the headline quite quickly for a rollover.

View 1 Replies

ActionScript 2.0 :: XMLsocket - Make A RSS Reader In Flash That Plays A Sound When The RSS Feed Is Changed

Jul 31, 2006

What I try to do is make a RSS reader in flash that plays a sound when the RSS feed is changed. In an older version I reloaded the xml via a little timer, but what I understand about this socketthingy is that it keeps an open connection with the server/feed? Am I correct that this socket parses data (or smth) as soon as the xml changes ? If yes, why dont this work ? (it does after loading, but not if the swf is running and the xml is changed)

[Code]...

View 2 Replies

Data Integration :: XML Feed Won't Display When SWF Is On Webserver.?

Apr 10, 2009

I've been building an XML feed reader, here's the code I'm using:

var myXML:XML;var myLoader:URLLoader = new URLLoader();
 myLoader.load(new [code]....

It works fine and loads the XML inside the flash authoring environment (ie when i preview with crtl+enter), or when I make an executable projector, but when I try to run the SWF by double-clicking, or when the SWF is on the webserver, the text box doesn't display the data...

View 5 Replies

ActionScript 3.0 :: Read The RSS Feed From A Website And Display The Texts Extracted For That RSS With Animation?

Oct 18, 2010

I want to read the RSS feed from a website and display the texts extracted for that RSS with animation.

View 4 Replies

ActionScript 3.0 :: Pulls An XML Feed From A Site - Display A Number In A Dynamic Text Box

May 19, 2011

I have an AS3 file that pulls an XML feed from a site. All the file does is display a number in a dynamic text box. On my desktop it works fine the feed is parsed in the output window and in the dynamic text box, joy! I upload the file to the CMS we are using and, no joy all I get is 'Loading' in the window. I get Loading because I input that in the tf so it wouldn't be blank.

So the question is, is there a fundamental flaw in my code or is it more likely to be the CMS? Im hoping it is the code, otherwise it is back to the drawing board.

[Code]....

View 2 Replies

ActionScript 3.0 :: Display No Webcam Video

Sep 7, 2009

In my application I want to display the webcam video. for that I use the as3 code

[cODE]....

but When i run the project there is no webcam video. I have trace the current Frame rate of the camera by trace(cam.currentFPS) ;and the output is 0; But I can watch the webcam video by yahoo messenger window and the software provide by the webcam driver.What is the problem of my code?

View 2 Replies

ActionScript 3.0 :: Make Facebook Style News Feed?

Oct 9, 2009

Right direction, for making a facebook style new feed? I am trying to make a Feed that is updated with user comments!

View 3 Replies

Media Server :: Make FMS 3.5 To Support Live Feed DVR Option?

Jul 30, 2009

I installed FME 3.0 + FMS 3.5, and can get live stream on clients.
 
Now I want to record the live streaming from FME on FMS, I changed the fms.ini:
 
LIVE_DIR = d:Program FilesAdobeFlash Media Server 3.5webrootlive_recorded
 
but the streaming didn't be recorded in this folder.

View 1 Replies

ActionScript 3.0 :: Use Webcam Movement To Make Butterflies Fly Around The Screen?

Apr 14, 2011

so, im a uni student and i got a little too ambitious creating an interactive media project for children. long story short im completely lost when it comes to actionscript 3.0.
 
i am attempting to use webcam movement to make butterflies fly around the screen. i have created all the graphics and I have created the video object and the video input from the webcam, and i know how to make the butterflies move, but i dont know how to import the butterflies in the first place. I created the animation in after effects and have exported it as an FLV. how do i get the FLV to the stage etc.

View 1 Replies

ActionScript 2.0 :: Make Visible The Webcam's Picture On The Stage?

Aug 18, 2009

I have problems with webcam streaming in AS2. In AS3 I can make it visible on stage with a Camera.get call and a Video object. Because of some reasons in one of my works I have to use AS2. Can anyone provide me a working code to make visible the webcam's picture on the stage? I use the following code, but it doesn't work:

var cam = Camera.get();
//it's okay I can see the real camera name in the name property
var vid:Video;
vid.attachVideo(cam);
//... and nothing happens on the stage Why?
trace(vid) returns "undefined" Why?

View 0 Replies

Flash :: Recording Live From A Webcam / Recording From User's Webcam - PHP

May 23, 2011

I want my site's users to be able to record videos straight from their webcams into my site. Videowhisper is one such tool which seems to work fine - [URL] But I'm looking for opinions on better / more scalable / reliable solutions. Paid solutions are fine.

View 4 Replies

ActionScript 3.0 :: Augmented Reality - Make Background A Webcam View?

May 31, 2011

i'm trying to make an augmented reality game..my game will be composed of a main menu..and in the main menu you can either choose to start a new game,option,and exit button, what will i do to make my background a webcam view when i click the new game button??

View 2 Replies

Flash :: Make An Error Some Display Once It's A .swf?

Sep 21, 2010

The error I have is Error opening URL "[URL] query=someinvalidquery" The query isn't actually supposed to go through, but I'd like some sort of error message saying so.

View 1 Replies

ActionScript 2.0 :: Make Mc Duplicate At Hittest?

Mar 18, 2006

I was wondering how would i make a mc appear when a hittest takes place at the location of the hittest. What im trying to do it make a Mortal kombat game and i want when u say uppercut them the mc of blood appears at that hittests location. So is it possible for it to like detect where the hittest took place and duplicate the mc there?

View 10 Replies

Make A Flash For A Viewer To Upload And Display?

Aug 12, 2009

Is it possible to make a flash for a viewer to upload and display a photo temporarily, possibily automatically resize it if it is too small or large, while at the same time a few fixed lines of measurements appear on top of the photo that can be stretched or shrinked so the viewer can measure part of the photo?

View 4 Replies

Make A Flash Display Banner For Ad Campaign

Jan 12, 2011

I am a full time web designer for a company that specialises in building online booking websites for the travel industry.I am an expert when it comes to Photoshop, but Flash is still quite new to me, I know the basics on how to make a flash display banner for an ad campaign but that's about as far as it goes.Basically I am creating an ad banner for a client, I have decided to use vector graphics for button/lozenges instead of PNGs to save on file size. However, when I create the buttons/lozenges on the stage the text seems perfectly aligned within. However, when I publish the SWF it seems to misalign. Look at the screenshot below for an example of what I mean.

View 2 Replies

ActionScript 3.0 :: Make Brightness Of Footage Being Captured By Webcam As Trigger To Start / Stop Event?

May 9, 2011

Im looking to make the brightness of footage being captured by a webcam as a trigger to start or stop an event or animation. basically when the brightness being captured by the webcam goes below a certain level a layer will be effected and when the brightness goes back above this level it will revert back to its original state.

View 1 Replies

ActionScript 2.0 :: Unable To Make Duplicate (Tiled) Backgrounds?

Aug 9, 2006

from this tutorials, instead of duplicating both X and Y planes, I want it to only duplicate Xfor example, http://nano3.orgyou can see the grey fading into white, I just want the fade in my flash which is already an image.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved