views:

186

answers:

1

I taked the snapshot but I can't record the video and store into hard disk. How to recording the video using JMF? If anyone know, then give the procedure..

+1  A: 

Pending an answer to my comment above...

Since you mentioned a "snapshot," you may be interested in JMF's BufferToImage; the API says

This is a utility class to convert a video Buffer object to an AWT Image object that you can then render using AWT methods.

NB, from an SO question about audio:

If you don't need any of the additional functionality in JMF, I would avoid it since development has ceased (last version is from 2004), it has compatibility issues with Java 6, has a very restricted functionality in 64-bit VMs and has to installed as a separate extension library.

Lord Torgamus
@Lord: Thanks.. But after that (2004), there is no updates and no sources for JMF.. What's the reason? Is there any concepts introduced instead of JMF?
Venkats
@Venkats, I've never used JMF myself, but [Wikipedia has some suggestions](http://en.wikipedia.org/wiki/Java_Media_Framework#Criticism_and_alternatives). Also, the project's [forums](http://forums.sun.com/forum.jspa?forumID=28) still seem lively in spite of the lack of development being done.
Lord Torgamus