Java :: Record Webcam Video To Local Filesystem From A Browser
Jun 28, 2010
What is the best (and simplest!) way to record video from a webcam to the local filesystem--all from a browser? Ideally the video would be recorded in HD and then we could use ffmpeg later to convert it into the formats and sizes needed.
Here are some things we've looked into:
Use Flash to stream to a local Red5 server. But we've had issues with video quality here. A Java applet using JMF (can we even write to the filesystem from an applet?). We've heard this might not be very efficient though. Can it handle HD?
Write a custom Firefox plugin. Would this be very difficult?
Basically the hardest thing here is that the controls need to be embeddable into a browser. All we need is a box where the webcam frame is displayed to the user, and then some Javascript hooks so we can code start/stop buttons within the HTML page.
The computer is fully controlled (it's a kiosk) and we can do just about anything to it. We just need a solution that runs in the browser. Our current app is run in Firefox in kiosk mode and the webcam recording is just a part.
View 3 Replies
Similar Posts:
Jul 4, 2010
I'm trying to load a local xml file:
xmlLoader.load(new URLRequest("../xml/xmlData.xml"));
But I'm getting this security sandbox violation:
#2148: Only local-with-filesystem and trusted local SWF files may access local resources.
I don't get this error when I embed the XML file directly with the EMBED metadata tag.
View 3 Replies
Nov 12, 2009
i have to record a video from the webcam and generate a video file from this ( i really cant figure this thing out )
View 2 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
Feb 3, 2009
I want to create a simple app the will run on a PC as a desktop application - not on the web. What I would like to do is have it show a webcam image on screen (yup, i can do this bit), then when the user clicks a button, the video and audio from the camera is recorded and saved to their local machine (eg. the desktop). I'd prefer it to be an flv or f4v file, but any video format would do for now. I've seen examples of video being recorded only (basically grabbing a jpeg/png of each frame and using these, but this has no audio!) I've also seen mention off flash media server, but as this app will be going on over 100 pc's with no network/server connection - I cant see how the cost would work!! (100 x licences -
View 1 Replies
Sep 30, 2009
I hava an application that captures video from webcam and renders some additional elements on its display (augmented reality).Now I need to record this video and stream it to FMS.
View 3 Replies
Jan 4, 2010
there is a way to record the stream of webcam without use media server or similars servers? with flash or air can do that? record both audio and video?i found a air class that record video capturing bitmap data of each frame and saves to a byte array but no record audio
View 3 Replies
Oct 26, 2010
Am trying to record video from my webcam.
here is my code
[code]...
When i click record_btn, flash asks me permission to access my webcam. If i alow in the screen i am able to see live video. But I want to store the video and replay it.
View 16 Replies
Jun 20, 2011
I noticed that AS3 is able to take a snapshot out from a webcam & save it as a .jpg but is AS3 capable of recording a video with a webcam and save it to a local disk/network server? any video format is fine with me as long it can be played with window media player.
View 4 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 26, 2010
Can I send/publish MP4/H.264 video (live or record) to FMS from webcam? Another similar question; does Flash (10?) support H.264 encoder?
View 3 Replies
Mar 17, 2008
Is there a way to record webcam video and upload it as a flv file to a remote server without the use of the Flash media server?
View 2 Replies
Feb 3, 2010
I need to develop a browser based application that record the user screen, much preferably on flv. Also doing that with java would be perfect.That's exactly what they accomplished at [url].... , with just a javaWS app.
View 2 Replies
May 26, 2010
Is there still really no way to use the Flash Player, whether embedded in a web page or as a projector, to record video files to a local directory on a user's computer?I understand that this is potentially a security nightmare, but I thought Adobe had worked around those issues.
View 2 Replies
Mar 24, 2011
I'm trying to record video from the users webcam and play it back at a later date.
I call
[Code]...
However, when I look at the FMS Admin Console at the streams in app/_definst_, their types are either "NetStream" or "Live". If they were being saved wouldn't they say "Stored"? After I close the application doing the recording, the "NetStream" type stream disappears, and after a while all the "Live" typed streams are gone too. Nothing is saved.
I have no idea what is happening. I don't know if it's a problem with my AS3 code not closing the recording properly or if I'm doing something else wrong, or maybe somethgin isn't right in the FMS?
View 1 Replies
Jan 19, 2010
I would like to save a webcam captured video to the local disk using AS. The application is running in a standalone Flashplayer 10. I can save pictures from ByteArrays using file.save, but I can't find a way for doing this with video. There is a nice implementation for that using AS and AIR at http:[url]...I don't want to have to install AIR before running the app.
View 2 Replies
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 14, 2010
i'm developing a web site, and i'm trying to let the user record some video from his webcam. I'm using actionscript and flash media server. I got it work in my delevoper enviroment, but when i deployed it to the production server, the webcam can't get connected to the FMS. I'm afraid this is because of port blocking from the firewall. Does anyone knows wich ports are userd for recording from a browser by the Flash Media Server? I open the 1935 port in the Flas Media Server, but it still doesn't work.
View 19 Replies
Dec 22, 2010
Here's a way to read/write anywhere on any local or mapped hard drive with AIR. (Coded for non-Flex):
Code:
import flash.filesystem.*;
var _drive:File = null;
var _stream:FileStream = null;
[code]....
File.GetRootDirectories() returns an array of File objects (the root of each drive, mapped or otherwise). You then compare the name of the drive (C:, D:, E:, etc) to the first two characters of the fileName variable. If you find a match, you use that File object (_drive) to resolve the full path of the file you want to open.
View 5 Replies
Apr 10, 2012
I've got XML data in AS3 that needs to be compressed, validated on my Java Google App Engine servlet then saved to a file in Google Cloud Storage. Later that file will be opened and decompressed by the AS3 client. The process works if I do it with plain XML or text, but if I ByteArray#compress the data, it dies during ByteArray#uncompress with "There was an error decompressing the data".
I've tried setting the content type and mime type at various points, as well as encoding with Base64, but every attempt seems to break in a different way and I never get the same XML back that I sent in. Do I need to use multipart? Should I compress on the server? [code]...
View 2 Replies
May 29, 2011
I've created a small application that is loaded by a preloader. The preloader loads the app then loads some json data it passes the data to the application and then puts the application on stage. Everything works fine in FDT 4 but once I put it on a server it gives me this error - SecurityError: Error #2028: Local-with-filesystem SWF file. Does anyone know why its happening and what setting I need to change to stop it? I have set the load arrguments -use-network=true and false to no availe. The json data is coming from an external web address when I change and put it locally with the application I get SecurityError 2148.
View 1 Replies
Oct 11, 2011
In my scenario, a user visits my webpage and is prompted to select a Music folder on her local filesystem. The web app crawls the folder and indexes it, reading all the metadata from the songs.After a few moments, the index is presented in the page's HTML and the user chooses a song to play.I can't expect to do this with pure Javascript, can I? I imagine I'll have to rely on a heavyweight object (an embedded Flash movie, a Java Web Start, an AIR app, or a Silverlight app) to scan the files and play them.
I feel confident that I could do this with a clunky Java Web Start; but is it possible with an embedded Flash movie? I'm trying to make the process as clean and streamlined as possible for the user.How should I proceed?Which framework can make this dream a reality?And how many permissions screens will the user be forced to wade through?
View 1 Replies
Jun 12, 2010
How does the url of FMS real time video stream look like?
View 1 Replies
Nov 23, 2010
Or only possible to play it loading over the internet?
View 1 Replies
Jan 21, 2009
I merely want to use Flash and a webcam to record video with audio, and have it stored on a server (on a regular HTTP server running PHP, not on FMS).
View 1 Replies
Aug 1, 2011
I would like to buffer a WebCam stream and formulate it into flv, this on client side only.
View 1 Replies
Jun 22, 2010
How to record my webcam with augmented reality. Lets start from the beginning, I have a webcam application that records to a streaming server. This application hasn't bin written by me unfortunately. I have added some new futures to this application, I have implemented augmented reality that positions a 3dmodel on the marker. This is working fine while it's recording. But it only records the webcam feed. How can I include my 3dmodel in the recording? Can I use BitmapData to capture the image of the 3dmodel and store this somewhere, for instance, in the Model class. So I can addchild it later at the location where the video is created and recorded, or is this totally the wrong way to go? It is recorded at a streaming server.
View 2 Replies
Dec 5, 2006
Does anyone know anything about recording webcam streams and storing them using FMS? I'm looking into capturing the stream as an FLV that can then be stored on the server so it can be played back.If anyone has any ideas on hwo to go about this or knows of any good reading material, let me know.
View 17 Replies