Search code examples
javavideo-capturejmf

Capture and store the video using java media framework?


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..


Solution

  • 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.