com.xuggle.mediatool.demos
Class TranscodeAudioAndVideo

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

public class TranscodeAudioAndVideo
extends Object

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


Constructor Summary
TranscodeAudioAndVideo()
           
 
Method Summary
static void main(String[] args)
          Transcodes a media file into a new media file, guessing parameters and codecs based on the file names.
static void transcode(String sourceUrl, String destinationUrl)
          Transcode a source url to a destination url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranscodeAudioAndVideo

public TranscodeAudioAndVideo()
Method Detail

main

public static void main(String[] args)
Transcodes a media file into a new media file, guessing parameters and codecs based on the file names.

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

transcode

public static void transcode(String sourceUrl,
                             String destinationUrl)
Transcode a source url to a destination url. Really. That's all this does.



Copyright © 2008, 2010 Xuggle