Steps involved in media storage
Following are the steps for storing the media
Construct MediaLocator / URL / DataSource
Construct an Unrealized Processor.
Configure the Processor
The output ContentDescriptor of the processor is then set
to FileTypeDescriptor. ( For example FileTypeDescriptor
.WAVE / FileTypeDescriptor.MSVIDEO
A given file format may support different encoding
schemes for each of the media it can store.
Set the format of different tracks compatible with the file
format.
For example AudioFormat.GSM_MS for a wav file.