Merging Tracks from Multiple Inputs
|
|
Problem
Given a list of input media files, the object is to generate
one output media file with all the tracks from the inputs.
Solution
A sample application is written. It accepts a list of input
URL's. For each input URL, a Processor is created. A custom DataSource
is then created from the output DataSources of these Processors.
It reads from the DataSources and merges the tracks.
The custom DataSource is then used to create another Processor to generate
the merged output stream. The output from this last Processor then
goes to a file DataSink to generate the final output data to a file.
|
|
| Requirements |
|
| Platform: |
JDK 1.1.6 or later |
| JMF API: |
2.0 or later |
| Implementation: |
AJ, WPP, SPP * |
* AJ = All Java, WPP = Windows Performance Pack, SPP =
Solaris Performance Pack |
|