Package com.avpkit.mediatool.demos
Class DecodeAndPlayAudio
- java.lang.Object
-
- com.avpkit.mediatool.demos.DecodeAndPlayAudio
-
public class DecodeAndPlayAudio extends java.lang.Object
UsingIMediaReader, takes a media container, finds the first audio stream, decodes that stream, and plays the audio on your speakers.- Author:
- aclarke, trebor
-
-
Constructor Summary
Constructors Constructor Description DecodeAndPlayAudio()
-
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
-
DecodeAndPlayAudio
public DecodeAndPlayAudio()
-
-
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
-
-