Flash :: Webcam Video Dimensions Not Carrying Over Into New BitmapData - Defaulting To 320x240
Jan 27, 2012
I am attempting to capture a 1920x1080 webcam capture and create a new bitmap with the capture. I feel like I have all the dimension settings correct but the final 1920x1080 bitmap only contains a small 320x240 version of the video capture. Help!
import flash.display.Bitmap;
import flash.display.BitmapData;
var bandwidth:int = 1000; // Maximum amount of bandwidth that the current outgoing video feed can use, in bytes per second. var quality:int = 100; // This value is 0-100 with 1 being the lowest quality.
[Code]...
View 1 Replies
Similar Posts:
Sep 8, 2009
is there any sample on using array bitmapdata to record video from webcam and generate flash movieclip file? i want to record sound as well without using red5/flash streaming server
View 3 Replies
Jan 20, 2012
I'm new to flex and I have a question concerning bitmapData and its width and height. Normally you set up bitmapData like this in AS3:
Code:
var bd:BitmapData = new BitmapData(100, 100, true, 0x00000000);
var bm:Bitmap = new Bitmap(bd);
But in Flex embedding an an image works like this:
[Code]...
View 2 Replies
Jun 30, 2010
This will create an flv video file on flash media server:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.publish("yourCamera", "record");
ns.attachVideo(Camera.get());
How can I generate an image for the current video frame every 2 seconds?
View 1 Replies
Feb 16, 2010
For fun I'd like to recreate [URL]. Basically i need to be able to stream webcam video from one computer to another using flash.
View 1 Replies
Jan 20, 2012
I'm new to flex and I have a question concerning bitmapData and its width and height. Normally you set up bitmapData like this in AS3:
Code:
var bd:BitmapData = new BitmapData(100, 100, true, 0x00000000);
var bm:Bitmap = new Bitmap(bd);
But in Flex embedding an an image works like this:
Code:
[Embed(source="../../../../../assets/sprites/asteroids/asteroid_32_full.gif")]
public static const Asteroid1:Class;
var imageBM:Bitmap = new Library.Asteroid1();
When using the bitmapData (e.g. imageBM.bitmapData) I don't have to set up width and height any more. Does the Flash player know the width and height of a bitmapData automatically even when NOT setting up the bitmapData's width and height? I'm totally unaware about this topic because I don't know whether the Flash player always knows the dimensions of a bitmapData. Could this cause problems when not setting up the dimensions of a bitmapData?
View 2 Replies
Oct 13, 2011
Im trying to make a video class so I can put in my src and video dimensions to load up a video .. I am wishing to implement this in the following way
[Code]...
View 2 Replies
Mar 4, 2010
I'm pretty much the rookiest rookie when it comes to Flash.
Here's the actionscript (3):
// Here's the dumb-dumb:
/*****************************************************************/
/*****************************************************************/
function captureImage(e:MouseEvent):void {
[Code].....
So I'd still like to find a solution that maximizes the quality.
View 3 Replies
Apr 24, 2011
I have a character where if I press left/right/up/down he plays the associated animation, however, if I hold left, and then tap another key (whilst still holding the left key) the animation stops, even though the left key is still being pressed.
Here is my code:
ActionScript Code:
//====================================================================================================//
//===================//
//ANIMATION FUNCTIONS//
[code]....
View 4 Replies
Sep 12, 2009
i am rendering a BitmapData from my webcam and sending the rendered ByteArray(i cant compress using ZLIB because its not running on AIR) file as binary to a server side. problem is each JPEG picture is around 40kb and it needs to be compressed a bit.now i am not talking about resizing the image, just making the file size smaller. anyone know how to do this?
View 2 Replies
Dec 19, 2011
i know how to use a webcam in as3,i want to record webcam video and save to my Local disk
View 1 Replies
Feb 12, 2003
I almost think it's impossible but I know little. I saw once on a website a streaming webcam video in fact it was live. I right-clicked it and it was in flash. Does anyone know how do streaming video with a webcam in flash?
View 12 Replies
Jan 11, 2011
Just wondering if it is posssible to use Flash to record the AV from a web cam and save the video file locally?
View 2 Replies
Oct 4, 2010
Im making a flash app that will capture video from the users web-cam, show whats being captured and when he clicks submit, send this to the server.Its already capturing video from the user web cam, but its not recording anywhere. Whats my next step to save it somewhere where it can be played to the user after recorded and after he clicks in a submit button send it to the server?
View 1 Replies
Aug 7, 2011
Is it currently possible to create a flash free live webcam chat with HTML5? If so, how can I go about doing this?
View 2 Replies
Dec 30, 2011
my task is to code a flash application that lets an user take a snap shot with webcam, attach it to an movieclip and modify the self portrait by adding hair, hats, glasses etc. that are available on menu.[URL]..
I managed to get the webcam working when i used it as a document class. When i changed my code so that the Free Transform Tool code is in document class and the webcam script is in Webcamactions.as file, i can't control the movieclips anymore...the movieclips (such as "imagecanvas" where i attach the video). My Mac's webcam light indicates that the function works, but the video doesn't appear in the movieclip.
[Code]...
View 1 Replies
Jan 20, 2011
I have an application which shows videos from users webcam. I want to know that is there any open source script or something in as3 which can save this video as mpeg or flv format.
View 2 Replies
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
Dec 29, 2009
I'd like to use Flash to capure video from the user's webcam and then save it on the same server that hosts the Flash file. The web server will be running ASP.Net technology. Lot of searches yielded the same lines of code to start a webcam capture using Flash. I can't find anything that sends that captured video back to a server.
I can find lots of blog and forum posts that imply 3rd party software or Flash Communication Server is required to collect it on the server, but I don't understand why. It seems like Flash ought to be able to capture some video and send it as an HTTP post to the same server that hosts the Flash file. That's pretty basic Flash/webcam functionality, right? It seems like we don't need to introduce 3rd party dependencies just yet.
View 1 Replies
Feb 23, 2010
I would like to know if it's possible for flash to stream it's webcam directly to another computer without a flash media server in the middle, I want to build a highly scalable video system which basically logs people into the site, records their ip address and then when someone wants to chat to that person, connect the output from the webcam to the input of the flash video player and vice versa. The idea being that they basically plug together, rather than a huge, expensive, bandwidth hungry server in the middle. Is it possible? I heard that flash can talk binary directly to sockets now, could this be a solution?
View 1 Replies
May 14, 2010
I want to imitate the webcam video record feature that yFrog has on it's site.I know I need a flash media server or a red5 one, but I want to know what flash app do they use and what is available on the net to record videos using the users webcam.
View 1 Replies
Dec 29, 2011
I need to record video from webcam in Flash and send it to Youtube using Api.I cant use server and all process must be in client side.
View 7 Replies
Jul 27, 2010
We want to build an application that allows the user to record a video using their webcam on our site using flash and save the URL in a database using PHP. So that we can allow the user to send the video's to other users etc. Also we want to offer the user the possibility to upload their movies (per mail and with PHP) and convert them to flash movies, can this also be done using Flash media server? (maybe in combination with AMFPHP)
View 2 Replies
Aug 5, 2011
I need to record video from webcam in Flash and send it to Youtube using Api. I cant use server and all process must be in client side.
View 1 Replies
Apr 19, 2003
Is it possible to create a live video feed from a webcam etc into Flash?
View 6 Replies
Feb 23, 2011
My organization normally provides customer support over e-mail and over the phone, but in particularly tricky situations we find we need to have an approximation of face-to-face communication. We're trying to find or build a software solution that we can integrate into our site. Our requirements are that:
[Code]....
View 1 Replies
Jun 12, 2010
How does the url of FMS real time video stream look like?
View 1 Replies
Sep 15, 2010
I'm new in AS and trying create util such Youtube's "My webcam". Here's a part of my code:
[Code]....
Can't attach video object or stream to spark.components.VideoPlayer to view video and don't know how to convert video to flv contents for sending in POST form.
View 1 Replies
Feb 8, 2011
I have an upload form for an video. The user clicks browse and selects a file. How can I get the video dimensions the moment the user selects the file (before the file is even uploaded to the server). It obviously has to be something client-side with maybe javascript/jquery or flash/flex (prefer js//jquery though), but can either of them do this?
View 1 Replies
Dec 14, 2010
I built an AS3 based XML controlled playlist as taught by republic of code (I can't post the link apparently).
Now however I have videos that are done in 16:9 as well as 4:3, which means I've got to get the FLV/F4V player to change sizes. Is this possible? As of now it only distorts the images to get them to fit.
View 1 Replies