Skip to main content

Developing Internet Based Multimedia Application Then Why JMF?

If you want to develop internet-based multimedia applications then the best technology to use is Java Media Framework H93VHC3XEZT6

So what is JMF ?
Here are few reason why JMF is good.
JMF is an API. JMF is an optional package of Java 2 standard edition platform. JMF allows your applications to playback media, capture audio through microphone and video through Camera, do real-time streaming of media over the Internet process media ( change media format, add special effects ), store media into a file.
JMF supports popular media formats such as JPEG, MPEG-1, MPEG-2, QuickTime, AVI, WAV, MP3, GSM, G723, H263, MIDI, and Hotmedia. JMF supports popular media access protocols such as file, HTTP, HTTPS, FTP, RTP, and RTSP.

So why JMF?

Existing desktop players rely mainly upon native codes to improve performance. Hence they are platform dependent and unsuitable for deployment over Internet. JMF provides a layer of abstraction. JMF API hides the implementation details and provides a cross platform solution. It delegates media processing tasks to native codes if they are available in client platforms. Thus JMF does not lack performance. You can enrich your Java applications, applets and Beans with multimedia contents such as audio, video, animation, MIDI sequences, etc. You can develop Internet-based multimedia applications such as video telephony, video conferencing , media-on-demand, voice and video mailing system, Remote lecturing, live broadcast over internet, media rich e-commerce solutions etc.
For eg to design a standard based video conference, we are going to use Java Technology. For the communication related Programming, the JMF 2.11e API is very helpful. The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to applications and applets built on Java technology. This optional package, which can capture, playback, stream, and Trans code multiple media formats, for multimedia developers by providing a powerful toolkit to develop scalable, cross-platform technology. In the architecture, the JMF Server applet captures the audio/video and stored in buffer then transmits into the JMF client applet as a RTP stream.To implementing the project we use G.711, G.722 audio codec, H.263, H.264 video codec and RTP Protocol. Real-time streaming of media allows users to play media as they receive it. Users don't have to wait for the whole media file to be downloaded before watching. To enable real-time streaming, dedicated streaming media servers and streaming protocols, such as real time Protocol (RTP), are required. RTP is an Internet standard for transporting real-time data.
Ping web site
hostgator coupon

Comments

  1. Can you share the project source code. I am working on something similar but am new to JMF. It will be helpful to look at the code and understand different steps needed to capture audio/video streams and merge them together.

    Thanks

    ReplyDelete

Post a Comment

Popular posts from this blog

Oracle and VB 6.0 Connectivity (Part 1)

Here is a basic VB application called voter information system demonstrated which explains the concepts quite clearly. The first step required to establish connectivity is preparing the back end and the front end of the project. These steps are divided into two parts first the back end that is the oracle and front end that is the Visual Basic 6.0.

Oracle
Firstly we need to set up the database. Create the tables, triggers and procedures and database in the oracle.
Create tables:
Example:
create table voter(id number(5) primary key, name varchar2(25),address varchar2(50),age number(3),gender varchar2(6),dob varchar2(30));
create table votertemp(id number(5) primary key, name varchar2(25),address varchar2(50),age number(3),gender varchar2(6),dob varchar2(30));

(we will be using the next table in the triggers that we will be implementing)

Visual Basic 6.0
Develop the VB application as in this example given below. Design the necessary forms for the application. The next part is establishing …

Oracle and VB 6.0 Connectivity (Part 2)

The first part defined how to establish connectivity between the back end and the front end of the project. Next we will see how to implement triggers.
Oracle
We need to Create the triggers in the oracle.
1) type ed in sql
2) it opens a notepad window
3) type the trigger as in the below example
4) exit the notepad with saving
5)and then type "/"
6) this will show a message as trigger created!
7) It should not show trigger created with compilation errors. If this message is shown check your syntax of trigger.

Example:
create or replace trigger votertrig
after update or delete on voter
for each row
begin
insert into votertemp values(:old.id,:old.name,:old.address,:old.age,:old.gender,:old.dob);
end;

Whenever we perform an update or delete operation the old values get stored into the votertemp table and the changed data gets reflected into the permanent table

Visual Basic 6.0
In VB we do not have to do anything as triggers are automatically fired whenever an update or delete operation…

Oracle and VB 6.0 Connectivity (Part 3)

Now we will see how to insert values into table a table and to view them.

Oracle
Initially we had created table in part1.

Visual Basic 6.0
Now we wil insert data into the table through visual basic.

The code for inserting will be as follows
When you double click on add button it will open your code window it will have this code!

Private Sub Command1_Click()
Dim gen As String
If (Option1.Value = True) Then
gen = "male"
ElseIf (Option2.Value = True) Then
gen = "female"
End If
rsv.Open "insert into voter values(" & Text5.Text & ",'" & Text2.Text & "','" & Text3.Text & "','" & Combo1.Text & "','" & gen & "','" & DTPicker1.Value & "')", conv, adOpenDynamic, adLockOptimistic
If (rsv.State = 1) Then
rsv.Close
End If
MsgBox ("Data Entered")
End Sub

This will add the data entered into the fields into the oracle …