Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization
by Alejandro Terrazas, John Ostuni, Michael Barlow
Media Capture
One of the more exciting aspects of the JMF, particularly when combined with transmission over a network as discussed in Chapter 9, is the ability to capture media directly from devices attached to the computer. The stereotypical examples of these devices are microphones, video cameras, and video capture boards.
Thus it is possible to directly record sound or video through the appropriate hardware connected to the PC and either save that to a file, play it back, process and transcode it, or even transmit it.
The JMF model of media capture sees the capture device as a DataSource. With the appropriate initialization steps, detailed later, media capture falls within the precincts of playing or processing media: When a DataSource has ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access