com.xuggle.mediatool.demos
Class ConcatenateAudioAndVideo

Package class diagram package ConcatenateAudioAndVideo
java.lang.Object
  extended by com.xuggle.mediatool.demos.ConcatenateAudioAndVideo

public class ConcatenateAudioAndVideo
extends Object

A very simple media transcoder which uses IMediaReader, IMediaWriter and IMediaViewer.


Constructor Summary
ConcatenateAudioAndVideo()
           
 
Method Summary
static void concatenate(String sourceUrl1, String sourceUrl2, String destinationUrl)
          Concatenate two source files into one destination file.
static void main(String[] args)
          Concatenate two files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcatenateAudioAndVideo

public ConcatenateAudioAndVideo()
Method Detail

main

public static void main(String[] args)
Concatenate two files.

Parameters:
args - 3 strings; an input file 1, input file 2, and an output file.

concatenate

public static void concatenate(String sourceUrl1,
                               String sourceUrl2,
                               String destinationUrl)
Concatenate two source files into one destination file.

Parameters:
sourceUrl1 - the file which will appear first in the output
sourceUrl2 - the file which will appear second in the output
destinationUrl - the file which will be produced


Copyright © 2008, 2010 Xuggle