The media framework introduced by JMF (i)

Source: Internet
Author: User

The JMF (Java Media Framework) is a Java medium architecture proposed by Sun. It is an optional application programming interface (API) corresponding to the Java 2 Platform Standard Edition (J2SE). JMF's source code publishes this powerful media kit through the SCSL (Sun Community source license mode), which can be run on a Java platform of any version (1.1.x and above).

JMF2.1.1 technology provides advanced media processing capabilities that extend the functionality of the Java platform. The multimedia features provided by JMF are as follows:

L can play various media files in Java applets and applications. It provides support for a variety of major media formats and encodings, such as JPEG, H.263, MP3, Macromedias Flash. JMF 2.1.1 also supports a variety of media types such as QuickTime, MOV, Microsoft avi, and MPEG-1.

• Transmission of audio and video data streams over the Internet.

L can intercept audio and video and save it as a multimedia file using a camera-type device.

L Process Multimedia file conversion file format.

• Broadcast audio and video data on the Internet.

1. JMF Basic Architecture

JMF Two-tier architecture:

(1) relatively high level of responsible for multimedia file control, use and processing, and support network resources and identify acquisition equipment, such as additional control functions;

(2) Relative lower level not only provide codec, renderer, but also provide plug-in architecture to direct access to multimedia files so that JMF can be more easily extended and customized;

JMF's architecture diagram:

Fig. 1 JMF Frame composition

2. JMF Mode of operation

Figure 2 compares the JMF operation based on the VCR's mode of operation, and we can see that JMF is similar to the VCR operating mode in the real world. The whole process is like a VCR that provides a familiar construction model to video (tone), process, and render time-based media. When you use a VCR to play a movie, you provide the VCR with a media stream (medium stream) as a video tape. The VCR reads and analyzes and translates the information on the tape and sends the appropriate signal to the user's TV and stereo. JMF also uses this same model architecture. A data source that encapsulates the media stream is like a video tape. and a player (player) provides processing and control, similar to the control mechanism provided by the VCR. Using JMF to play, and capture audio and video, you need the appropriate input and output devices such as microphones, cameras, stereos, screens, and so on.

Fig. 2 VCR operation mode

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.