com.xuggle.mediatool.demos
Class DecodeAndPlayVideo

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

public class DecodeAndPlayVideo
extends Object

Using IMediaReader, takes a media container, finds the first video stream, decodes that stream, and plays the video.


Constructor Summary
DecodeAndPlayVideo()
           
 
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

DecodeAndPlayVideo

public DecodeAndPlayVideo()
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