IMediaReader reader = ToolFactory.makeReader(container);
// Add a media viewer that will display the video, but that exits
// the JVM when it is destroyed
reader.addListener(ToolFactory.makeViewer(true, JFrame.EXIT_ON_CLOSE));
// read out the contents of the media file, note that nothing else
// happens here. action happens in the onVideoPicture() method
// which is called when complete video pictures are extracted from
// the media source. Since we're reading from a web cam this