Package com.avpkit.core.demos
A collection of demonstration applications for the AVPKit API.
-
Class Summary Class Description CaptureScreenToFile This demonstration application shows how to use AVPKit and Java to take snapshots of your screen and encode them in a video.DecodeAndCaptureFrames Takes a media container, finds the first video stream, decodes that stream, and then writes video frames at some interval based on the video presentation time stamps.DecodeAndPlayAudio Takes a media container, finds the first audio stream, decodes that stream, and then plays it on the default system device.DecodeAndPlayAudioAndVideo Takes a media container, finds the first video stream, decodes that stream, and then plays the audio and video.DecodeAndPlayVideo Takes a media container, finds the first video stream, decodes that stream, and then displays the video frames, at the frame-rate specified by the container, on a window.DisplayWebcamVideo Takes a FFMPEG device driver name (ex: "video4linux2"), and a device name (ex: /dev/video0), and displays video from that device.GetContainerInfo Opens up a media container, and prints out a summary of the contents.VideoImage This class just displays a 2d graphic on a Swing window.