No results found

Your search did not match any results.

We suggest you try the following to help find what you’re looking for:

  • Check the spelling of your keyword search.
  • Use synonyms for the keyword you typed, for example, try “application” instead of “software.”
  • Try one of the popular searches shown below.
  • Start a new search.
Trending Questions

Splitting Tracks from an Input

JMF Solutions


Given an input media file, the object is to generate one output media file for each elemetary track in the original file.


A sample application is written.  It accepts an input URL. A Processor is created from this URL. Custom DataSources are then created one for each SourceStream of the output DataSource from the Processor. Each of these custom DataSource is then used to further create a Processor. The outputs from these Processors are then connected to different DataSinks to generate the final output files.


Platform: JDK 1.1.6 or later
JMF API: 2.0 or later
mplementation: AJ, WPP, SPP *

* AJ = All Java, WPP = Windows Performance Pack, SPP = Solaris Performance Pack

How to run this sample

java Split <input URL> -a <audio ext> -v <video ext>


  1. <audio ext>: audio file extension for audio tracks.
  2. <video ext>: video file extension for video tracks.


java Split file:/c:/movies/amovie.avi -a .wav -v .mov

will split the tracks of the input file and generate output files split-n.wav for the nth audio track and for the nth video track.