Copyright 2013-01-06 Werner Randelshofer

org.monte.iodemo
Class ConcatDemoMain

java.lang.Object
  extended by org.monte.iodemo.ConcatDemoMain

public class ConcatDemoMain
extends java.lang.Object

Demonstrates how to concatenate multiple movie files without re-encoding the media data.

Caveat: If an input file has multiple tracks of different durations, then the audio/video sync of subsequent input file will drift. On the upside this allows to merge a file which only contains video with a file that only contains audio.

Version:
$Id$
Author:
Werner Randelshofer

Constructor Summary
ConcatDemoMain()
           
 
Method Summary
static void main(java.lang.String[] args)
          Main function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcatDemoMain

public ConcatDemoMain()
Method Detail

main

public static void main(java.lang.String[] args)
Main function.

Takes one output file and one or more input files as arguments. Concatenates all input files into the output file.

 ConcatDemo [-o outputfile] [-i inputfile ...]
 

Parameters:
args - the command line arguments

Copyright 2013-01-06 Werner Randelshofer