Flash - Render IP Camera Video With Socket?

Oct 3, 2010

So far the solution I found requires a crossdomain.xml to work,but this is not available on an IP camera:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init()">

[code]....

View 1 Replies


Similar Posts:


Send Camera Video Using Flash Socket?

Jun 2, 2011

this is my flash as3 code :

var cam:Camera;
cam= Camera.getCamera();
var video:Video=new Video(200,200);

[code].....

View 1 Replies

Camera - Access The Video Data From This Camera With Flash?

Oct 20, 2010

Usually Adobe Flash applications can access any usb-webcam.I have a USB camera for microscopes which understands TWAIN and DirectShow.Is there a possibility to access the video data from this camera with flash?

View 1 Replies

ActionScript 3.0 :: MovieClip Movement Triggered By Socket Event - Screen Render?

May 11, 2009

I have a flash project that's implementing a simple two player game. I have added an enterFrame function to my main movie which listens for keyboard activity in order to move a cowboy gunslinger. Whenever the cowboy moves, I send a message over a socket to a server which dispatches the movement to the other connected client. This works pretty well, however, the movement messages tend to arrive in clumps which results in jumpy animation of my cowboy on my opponents screen and jumpy animation of his cowboy on my screen. To illustrate, i put a trace in my enterFrame function because I am imagining that this function will run roughly once each time my main movie renders the screen. I also put a trace statement in my function that responds to network traffic and moves the remote player's cowboy on my screen.

Here's the output:
enter frame:4
enter frame:4
enter frame:4
client movePlayer running
client movePlayer running
client movePlayer running
[Code] .....

As you can see, I'll get several messages in a row from the remote client which instruct me to move their cowboy ('client MovePlayer running') and they will all run in a row before the screen updates. I'm guessing I should be using something like updateAfterEvent but this method is only provided by Mouse, Timer, and Keyboard events.

So a few questions:
1) Can someone recommend a good approach to force a screen render each time an incoming movePlayer event arrives over the socket? It's important to note that my function for handling these events has no visibility to the original socket data event.
2) Am I right in understanding that the enterFrame function of my main movie happens once each time my movie is rendered? Is there some more accurate event to which I could attach a trace message so that I better understand the relative frequency of the render events and the socket events?
3) Does firing an updateAfterEvent call force onEnterFrame events to happen more frequently? I'm worried about destroying performance by inadvertently firing more enterFrames which would fire more socket events which would fire more enterFrames, etc., etc.

View 9 Replies

ActionScript 3.0 :: Render Video With Flash?

Nov 1, 2011

client just asked if it would be possible to do some sort of online edit of some videos, text and graphics and then have flash render the final thing as a video.

View 6 Replies

AS3 :: Php - Render Flash (swf) To Video Server-side

Oct 9, 2011

I have a SWF timeline animation that grabs XML/images dynamically and then need to output/encode that as a video.

View 3 Replies

Video Camera And Flash

Jun 28, 2009

What should I look for when buying a video camera to record videos that could be used with Flacs?

View 1 Replies

Video Camera Quality In Flash

Dec 8, 2010

I have this simple code to access the webcam:[code]The quality of the video is extremely bad, with big compression fragments.I am using a built-in webcam as test, so I don't expect too much. But what I see is not normal for my webcam.So how do I set the quality of the video?I cannot see any difference in quality if I remove the setQuality call.

View 1 Replies

Media Server :: FLV Video Freezes After Camera Switched On But Video 'is' In File

Aug 12, 2009

I had an flv recording from a webcam.It mostly recorded fine, but there's one point where I paused the broadcast for an intermission.A few minutes later the broadcast started again but the video doesn't play beyond that point, only audio plays.A few minutes later in the recording the broadcast switched to another camera and the video starts playing again just fine from there.I can't seek past the frozen point either to skip a couple of seconds ahead.The freeze is at about 9:00.If I seek to 9:01 it jumps ahead 8 minutes to where the camera switches.What's strange in this is that the video is *definitely* in the file.Using Moyea's FLV Editor Pro I converted the FLV to an MPEG and the whole video is there, so it's not that the camera stopped transmitting, it's just that the playback isn't working.

View 2 Replies

Publish Real Time Video Stream Of IP Camera To Flash Media Server With Flash?

Jul 22, 2010

Does flash provide an api to deal with remote stream like IP camera does?

View 2 Replies

Media Server :: Streaming Video Live With A Video Camera?

Sep 17, 2009

I am looking to broadcast live video and need a camera that is better than a simple webcam. It looks like they used to make video cameras that would register as webcams, but stopped making them.If you wanted to broadcast an event live, what would be a good camera to use?

View 5 Replies

Publish Prerecorded (or Live) Video, Instead Of Camera In Flash/Flex/Air Via RTMP To FMS?

May 17, 2011

I'm looking for a way to stream video from the desktop to an FMS installation. I know that in ActionScript, it's possible to do:

netStream.attachCamera(camera);
netStream.attachAudio(mic);
but not:

[code].....

View 1 Replies

Webcam - Detect Flash-accessible Camera Without Prompting User For Access To Camera If One Exists?

Oct 11, 2010

From a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but if the user doesn't have the hardware, I want to skip over them altogether. Requesting access to the cam before those dialogs won't make sense to the user.

It appears not to be possible to call Camera.getCamera() without the security prompt happening. Is there a workaround? (For instance, could I, perhaps, call getCamera in a hidden Flash object and inspect its return value, or does it block until the user acknowledges the security prompt?)

View 3 Replies

Webcam - Retrieve Real Time Video Stream (from Web Camera) From Flash Media Server In A Browser?

Jun 12, 2010

How does the url of FMS real time video stream look like?

View 1 Replies

Professional :: Video Quality & Render Sizes

Dec 9, 2011

I am new to Flash CS5 and I am working on a Flash animation project. I drew everything in Illustrator CS5 and imported these drawings in Flash to do the animation. I have different scenes & exported them all as separate movie clips. I was thinking of using Final Cut Pro to make the final movie, but the video quality is not good & its pixelated.and whats the most suitable render width & height for tv screening ?

View 2 Replies

Use IP Camera With FMS For Live Video Streaming?

Mar 2, 2010

How i can use IP Camera with FMS for live video streaming.

View 2 Replies

ActionScript 3.0 :: XML Socket - Sending Video To Server

Feb 19, 2010

I'm working on a small school project, and I'm grabbing video from my webcam like this:

camera = Camera.getCamera();
if (camera == null) {
Security.showSettings(SecurityPanel.CAMERA);
} else {
camera.setMode(960, 600, 30, true);
camera.setQuality(0, 100);
outgoingVideo = new Video();
[Code] .....

And I would like to now send this video to a server I am connected to using an XMLSocket. Is this possible?

View 1 Replies

Media Server :: Embed Timecode When Publishing Live Video And Render It When Watching?

Oct 4, 2010

I've managed to publish video now: ns.attachAudio (mic);ns.attachCamera (cam);ns.publish ("name","record"); But without time information.

View 22 Replies

ActionScript 3.0 :: Faster Update Of Video By Camera?

Feb 15, 2011

I am trying to run a very fast camera feed. I have the fps set to 60 on the camera and I am adjusting the movie framerate to that after camera becomes active.

However, when I print out individual frames, the bitmaps seem to be the same for a bout 2-3 iterations,meaning that in the enterframe, the camera doesnt seem to have updated the video output.

Anyone on how I could make sure it refreshes the video display quicker?

View 1 Replies

ActionScript 3.0 :: Use The Camera Video GetCamera On The Stagevideo?

Nov 24, 2011

I just came across the new stageVideo, as I am not very Savvy using AIR i was wondering if i could use the camera video (getCamera)on the stagevideo, and how to implement it?

View 1 Replies

ActionScript 3.0 :: Stream Video Over Socket Class (or XMLSocket)?

Nov 3, 2009

How to stream video over Socket Class (or XMLSocket) IN as3?

View 1 Replies

Actionscript 3 :: Garbage Collection, Camera And Video Object?

Feb 9, 2011

How do I clean up after I've finished using the Camera object and Video Object?

Do I just write:

_cameraInstance = null;
_videoInstance = null;

View 1 Replies

Flex :: Hand Gesture Recognition With Camera Video

Jun 30, 2011

I want to implement an flex application using actionscript 3: with the camera and the virture buttons(like a image) in the camera, one can move his hand to pass over the virture button field in order to fire the button. Now my solution is following this way: capture the button field in every frame to get a bitmapdata, and calculate the gray-scale summation of the bitmapdata, if the difference between the two frames is greater than a given value, then fire the button. Actually, it could work, but it is very sensible to the lighting condition of the background, worse, when there are more than one buttons, people often fire the button by mistake.

View 2 Replies

Actionscript 2.0 :: Video Controls To View Multi-Camera?

May 7, 2009

I have three videos recorded from different angles of the same subject. As you can see in the attachment, I need to see one video screen with 3 buttons to jump between the different angles. The transition between the videos should be immediate.I thought of loading the videos internally, but they are over the 16000 frames so they will not load properly into Flash - so using .flvs may have to be the only option. I figured if I could get all three videos started at the same time then I could toggle the viability, but how can I get the three videos to start at the same time?

View 4 Replies

Media Server :: Select Video Codec When Publishing Camera To FMS?

Apr 6, 2010

I learned from some previous post that the default encoding format used when you publish the camera from a Flash player is Soreson. I'm wondering whether it is possible to select to use other codec such as VP2 or H.264?

View 3 Replies

Media Server :: FMS Interactive With Data Events - Camera Streaming Video

Sep 15, 2011

I'm completely new to FMS but a seasoned Flex developer. We're building a Flash Builder 4.5 application which will be deployed to iPads. The basic functional requirements are as follows:

1. Presenter in a room has a camera streaming video of themselves2. Participants in the same room have an iPad - there are 30 participants and the stream is sent to all 30 iPads simultaneously.3. There must be lowest delay possible with good quality video - we understand this can be achieved with RTMP and that VP6 has to be used (as there is no H.264 support at present in AIR on iOS)4. The presenter will trigger certain things from their iPad which will then display certain alerts, content on the partcipants iPad (from server connection the participant iPads are listening to)

Firstly, I'm interested to know your thoughts on this current spec. This was put together from zero initial experience with FMS and having read a lot online and creating a proof-of-concept. Secondly, with regards to the two-way interaction: Is this something FMS handles? Previously I have used LCDS or BlazeDS for the data events & streaming aspects of our applications. Initially I was planning on using BlazeDS again, in addition to FMS. But from what I have read FMS possible handles data push too? Does FMS have LCDS/Blaze built in in some way?

View 4 Replies

Flex :: Capture Snapshot With Camera Height / Width Different From Video Display

Feb 3, 2011

I have a video display in my flex app. which is attached to the camera. The camera resolution can vary depending on the user's selection, While the video display (preview) dimensions are fixed. I am then doing this:
bmd.draw(vidDisplay);

Where bmd is the bitmap.. The problem is the resulting bitmap has the correct size of the camera settings (which is set) but the capture from the video is always the size of the video display inside the bitmap.. I hope i am making sense. The result looks like a little picture inside a bigger image top left justified. I want to have a video display preview with fixed height, but be able to take snapshot with varying resolution.

View 2 Replies

ActionScript 3.0 :: Video Conferencing - Camera Blocked When Timer Event Fired

Apr 18, 2011

I am trying to make an application which will do the video conferencing. I have read some article on actionscript and started making the application. I am capturing image from web cam and copy it in an array which acts as a buffer. Then I am running a timer which pops each image from array and converting it into bytearray and send it via socket. When timer event is fired camera gets blocked and the whole process gets slow down. Is there anyway to do the video conferencing smoothly ?

View 2 Replies

Actionscript 3 :: Socket.readInt() And C# Socket.Send() Different Values Of Int-variable?

Nov 19, 2011

When I send number (int)52 s.Send(BitConverter.GetBytes((int)872415232));, flash show me trace(socket.readInt()); 872415232 If i send 872415232, flash show 52.Why? And how it fix?

View 1 Replies

Flex :: Apply A Filter To A Camera Video Stream Publishing To Media Server

Mar 10, 2012

I am Trying to Apply some information Like text and An Image as an overlay to create a overlay effect as lice a security camera with time and date on the video along with a png based Logo.

I can record VIDEO Using Flex and FMS or any other Media Server. But I want to save a modified version of the stream being uploaded.

View 2 Replies







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