Capturing and saving video
var cam:Camera = Camera.getCamera();
var vid:Video = new Video();
vid.attachCamera(cam);
addChild(vid);
if (cam == null)
trace("User has no cameras installed.");
else
trace("User has at least 1 camera installed.");
now how can i Captur and store the video in to local hard disk drive.......
google: flash as3 jpegencoder class
Similar Messages
-
Capturing and saving with JMStudio
Hi there,
I want to capture and save video and audio using the JMStudio. Can someone tell me how this works.
After many other problems, now I can get a picture from my cam, but saving the stream to a file is what I need.
Greetings from Germany
and thanx in advanceYou should look for
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/
and the sample of "Merging Tracks from Multiple Inputs"
shows how to save two or more input datasources and play.
May you change the source from vfw and jsound.
I think it's work but I still not tried. :) -
Capture and Record Video - Helppppppp
my application capture video from a web cam using WDM.
when i start my record video function, i got a message "capture device in use".
how can i capture and record video at same time ???
is there anybody there that can send me an example????
thanks a lot..There was an example that does this: AVTransmit3.java, try some googling.
If you do not find, go to: http://www.cs.technion.ac.il/Labs/dsl/projects/JazzEnsemble/completed_projects/IpCTalk.htm
download the exe file, install it with the source (custom) and have a look at
MonitorStream.java
MonitorCDS.java
CaptureUtil.java and InitVIdeo.java -
Acquiring data from daq-pad and saving video at the same time
I am trying to record data from my daq-pad at 100 samples per second. At the same time I am using a usb interfaced camera to record a video feed. The idea is that when i begin recording data i also begin recording the video feed.
The way I record the video feed works fine in its own VI (I need it to record at 30fps and it does this just fine). But when I integrate it with the data record/capture VI the framing rate slows down to only 10 fps. I suspect this is because the VI gets caught capturing the data from the daq-pad thus slowing down its ability to record the video feed. I was hoping you could give me some help with how to record the data at 100 samples per second and get the VI to capture 30 frames per second. Thanks in advance for anyone who helps out.
I've attached the VI that has both the data capture and the video capture already integrated.
Attachments:
usa_swimming with video21.vi 892 KBHi,
I took a look at your code and the problem is that you have both the data acquistion and the image acquistion in the same loop. Have you tried using parellel loops? There is more information about this in the labview tutorials that are available online if you are unsure how to do that. The problem is that you are doing a lot of things in that loop (acquiring data, doing some analysis, and writing to file), so you can't acquire images very fast because it depends on the speed of the loop iteration. I hope this helps.
Have a great day,
GG -
Capture and import video from DVD
Just switched from PC to MAC. I have my travel videos on DVD's. In iMovie 08 how do I capture and import the video that's on the DVD into iMovie. I couldn't find any help on this topic.
Any help is appreciated.Take a look at Cinematize 2, I've used it with iMovie 06 and iDVD 08. It has several modes of converting the data. One mode is called "lossless".
For the job you're doing you may prefer to use iMovie 06 instead of iMovie 08 (I would).
iMovie 06 and iDVD 08 is a terrific combination.
iMovie 06 is a free download to iLife 08 owners. (THEY WANT YOU TO HAVE IT!)
http://www.apple.com/support/downloads/imovieHD6.html
Your workflow would go something like this.
Use Cinematize 2 to create a Quicktime file from the DVD.
Important that file into iMovie 06.
From iMovie 06, share to iDVD 08 (assuming you want a DVD). -
Capturing and saving Captivate as AVI
I have a pdf file. I will use Captivate to capture and will
need to save it as an 800 x 600 AVI file.
Can you capture within Captivate and save it as an AVI? If so
- how might this be done?You can save this as an AVI file in Captivate 4. See Adobe documentation here:
http://help.adobe.com/en_US/Captivate/4.0/Using/WS5b3ccc516d4fbf351e63e3d119e958285f-7fff. html
Publish the project as an AVI file
You can publish your Adobe Captivate project as an AVI file. Open the published AVI file in any of the media players that support the AVI format.
You can use any of the encoders available on your operating system for publishing. Alternatively, you can use a third party software that you have installed on your computer.
Note: All interactivity in your project is lost when you convert the project to an AVI file.
1. Select File > Publish.
2. In the Publish dialog box, select Media, and configure the following options:
Select Type
From the menu, select Video (*.avi)
Project Title
Enter a name for the AVI file without adding the extension (.avi).
Folder
Enter the full path to the folder in which to save the file, or click Browse to locate the folder.
3. Select from the following output options:
Video Format
The list of encoders available on your system is available here. Select an encoder for publishing the project in the AVI format.
Audio Format
Adobe Captivate uses pulse code modulation (PCM) for audio files. Simply put, PCM converts analog files to binary (digital) files.
The Project Information area displays useful statistics about the project including the size (resolution), number of slides, audio information, e-learning details, accessibility compliance, and playback control assigned to the project. To change any of the options listed in this area, click the blue text. To change preferences, click the Preferences button. -
Capturing and saving screenshot/video
Hello,
I am new to actionscript and this forum. I have just started using Flash CS5.5 and have just made a very simple app which captures video from the default camera on your computer, and monitors movement.
It works very well but I now want to be able to capture a screenshot of this video and possibly also record a length of this captured video, on demand like the click of a button and want to save this data locally.
I have no idea how to approach this though I have had a look at the camera API but don't really have any ideas I'm hoping someone can point me in the right direction.Ok I solved the problem with the ac3corelib's.
I am now having problems grabbing the BitmapData from imgLoader:
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData/ctor()
at flash.display::BitmapData()
at LifecamCapture_fla::MainTimeline/fl_MouseClickHandler()
Here is my code for this layer:
saveBtn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("Mouse clicked");
var imgLoader:Loader = new Loader();
trace("1");
var myBitmapData:BitmapData = new BitmapData(imgLoader.width, imgLoader.height);
trace("2");
var jpgEncoder:JPGEncoder = new JPGEncoder(80);
trace("3");
var imgByteData:ByteArray = jpgEncoder.encode(myBitmapData);
trace("4");
var file:FileReference = new FileReference();
trace("5");
myBitmapData.draw(imgLoader);
trace("6");
file.browse(new Array(new FileFilter("Images (*.jpg, *.jpeg)", "*.jpg;*.jpeg")));
trace("7");
file.save(imgByteData, "test.jpg");
trace("8"); -
Captured and stored video from webcam
hi,
We are doing video conferencing.For this we have to capture video and save this video in file.But we are facing problem to saving this video in file.
we face the problem when we create DataSink but it gives null value for getDataOutput() function.
so please anyone can help us ,
reply.Hi captfoss,
The "deviceInfo.getFormats()" is returning [Ljavax.media.Format;@191d8c1
we tried using the following line of code
ProcessorModel processorModel = new ProcessorModel(deviceInfo.getLocator(),deviceInfo.getFormats(), outputType);
Processor processor = Manager.createRealizedProcessor(processorModel);
processor.start();
Thread.currentThread().sleep(50000);
But still i am getting the same Exception. Please suggest other alternative options ??
Thanks,
vijay. -
Image Capture and photo/video syncing
Whenever I connect the 3GS to my desktop for syncing, the Image Capture application opens up on my
desktop and wants me to download the photos/videos I have taken with my iPhone camera..I have
already downloaded them more than a few times, but the Image Capture application continues to
open up..how do I stop that application and have only iPhoto open up when I want to sync photos??
Thank youOpen the iPhoto or Image Capture preferences and set them not to open when a camera is connected to the computer.
(44897) -
Playing and saving videos at the same time
Hi~
I wanna download a movie clip from the Web and play it, and at the same time, save the clip onto the local disk. So next time I play the clip, no more downloading.
my environment is Flash CS4 and AIR.
I looked up three classes: NetConnection, NetStream, VideoPlayer.
give me some hints~
thanks.I found this tutorial and was going to try it out. http://tdotblog.info/?q=node/1 It looks pretty simple and and works with AIR.
-
How to capture and save voice from microphone
I'm beginner to JMF. I want coding for capturing and saving voice from microphone. Plz anybody help me.
http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html
http://www.vsj.co.uk/java/display.asp?id=370 -
Capturing and editing on my primary drive?
I have two-500GB drives in my new Macpro, and I do not see how I could ever fill up the drive with the OS and applications installed (seems kind of a waste). I have read that it is not recommended to capture and edit video on the drive that contains the os and applications, and it should be done on a secondary drive.
1. What specifically is the problem with capturing and editing video on the primary drive?
2. Will partitioning the drive with the OS and applications installed, and capturing to the separate partition make a difference?
Thank you.1. OSX creates a great deal of disk activity. Not only is the disk trying to feed the OS and the application commands, it also hosts the System Cache where RAM overflow goes to live until needed.
Adding the demands of REAL TIME media spooling (read/write) to this really busy disk can overwhelm it - leading to dropped frames etc.
2. Partitioning does not solve it. It is still one physical disk and subject to all the same demands as spelled out in #1 above. Partitioning may make some sense in organizing material but it will do nothing for system performance. Indeed, there is some evidence it will reduce realtime performance.
If you need more drive space, for fastest performance, get a PCI based esata card and add a series of external sata devices. FW800 drives will work quite well as well - especially for DV, HDV and uncompressed SD.
good luck.
x -
Capturing, timestamping and saving a video stream from a webcam ?
Hello everybody,
Glad to be in this forum.
I got to do a program in java doing :
- a capture of a video stream from a webcam
- adding time and date on it
- saving the video stream in a video format compatible with linux and windows
Is it possible to do that in java (using JMF I guess) ?
Could anyone help me to progress on my project ?
thx a lot
agussiHi agussi, yes, it's possible to do that in Java using JMF.
I'm not a JMF expert, but I've found this code very useful: http://forum.java.sun.com/thread.jspa?threadID=570463&tstart=50
This piece of code shows the webcam stream and you can take snapshots with it. With a little tweak you can do what you are expecting.
I hope this helps.
Ivan -
How can I capture a single video frame and save as an image in PS CS6 Extended?
I have checked similar posts on this subject, but I have a problem doing this:
I "File>Open" a video clip [.m2ts file type] into PS CS6 Extended.
PS sets the "Pixel Aspect Ratio" for "HDV 1080/DVCPRO HD 720 (1.33)"
PS then warns of "Pixel Aspect Ratio Correction" for preview purposes only, and that it should be turned off for maximum image quality.
I advance the "Timeline" to the specific frame I wish to capture.
I simply "File>SaveAs" for a JPG image - as has been suggested.
Both the On-screen and saved images are grossly pixelated at 1440 x 1080.
Furthermore, the saved image is an incorrect aspect ratio - regardless of how I have the "Pixel Aspect Ratio Correction" set.
It produced a jpg image size of 1440 x 1080 at 635 KB.
I clearly do not know what I am doing...
Have I missed a process - either with the file type I open, or once opened in PS CS6 and set to the desired frame?
Adobe Bridge will display each frame in a high-quality preview - which I could be happy with, but found no capture/save tool there.
I went back to the software that came with the video camera and saved a frame image from the video clip just fine.
It produces a jpg image size of 2304 x 1296 at 2.63 MB with the correct aspect ratio.
After you stop laughing ... can you let me know what I really need to do to get the correct result in PS CS6?Place the playhead on the frame you want as a still. Then in share window choose location Save Current Frame. You can then select options such as Jpg, PNG etc.
-
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.
Maybe you are looking for
-
Delivery header billing status is different from any of items.
Dear Friends , I have a peculiar case . There is a delivery document which is usually not relevant for billing . Each of the items in the delivery is showing billing status as 'blank' which means not releavant for billing . The item ca
-
Trying to configure a Win 2003 Server to use TLS server authentication . . .
I am trying to configure a Win 2003 Server to use TLS server authentication following Method 2 in KB 895443 - see below:- Method 2: By using the Certificate Request Wizard The following steps describe how to obtain a certificate from a Windows Server
-
HT3702 I am not able to make a purchase on my iPhone why does it redirect me to go to apple support
I am having problems purchasing items on my apps and it is redirecting to apple support why is that?
-
im working on a msn clone in jbuilder 9(enternprise), and im having a really hard time organizing my resources. i have a few icons and i grouped them into a folder name 'icons'. at first, the images can only be loaded when i place them in the class d
-
Dear All, In am using oracle 10.2.0.4.0 in RHEL 4. In my current set we had two node RAC (tims1,tims2) db_name (tims). One of the node has failed(hard disk),Failed node information has been remove from OCR(all the cluster component like...ons,vip,lis