com.xuggle.mediatool.demos
Class DecodeAndPlayAudio

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

public class DecodeAndPlayAudio
extends Object

Using IMediaReader, takes a media container, finds the first audio stream, decodes that stream, and plays the audio on your speakers.


Constructor Summary
DecodeAndPlayAudio()
           
 
Method Summary
static void main(String[] args)
          Takes a media container (file) as the first argument, opens it, opens up a Swing window and displays video frames with the right timing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecodeAndPlayAudio

public DecodeAndPlayAudio()
Method Detail

main

public static void main(String[] args)
Takes a media container (file) as the first argument, opens it, opens up a Swing window and displays video frames with the right timing.

Parameters:
args - Must contain one string which represents a filename


Copyright © 2008, 2010 Xuggle