Class DecodeAndPlayVideo


  • public class DecodeAndPlayVideo
    extends java.lang.Object
    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.
    Author:
    aclarke
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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 roughly the right timing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 roughly the right timing.
        Parameters:
        args - Must contain one string which represents a filename