com.xuggle.mediatool.demos
Class DecodeAndPlayVideo
java.lang.Object
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.
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 |
DecodeAndPlayVideo
public DecodeAndPlayVideo()
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