Package com.avpkit.mediatool.demos
Class DecodeAndPlayVideo
- java.lang.Object
-
- com.avpkit.mediatool.demos.DecodeAndPlayVideo
-
public class DecodeAndPlayVideo extends java.lang.Object
UsingIMediaReader, takes a media container, finds the first video stream, decodes that stream, and plays the video.- Author:
- aclarke, trebor
-
-
Constructor Summary
Constructors Constructor Description DecodeAndPlayVideo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.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.
-
-
-
Constructor Detail
-
DecodeAndPlayVideo
public DecodeAndPlayVideo()
-
-
Method Detail
-
main
public static void main(java.lang.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
-
-