Jump To:
Leopard Sample Code: QuickTime
QuickTime includes a rich set of multimedia classes and methods for Java programmers, supporting creation of cross-platform applications for Mac OS and Windows. Supported media include video, sound, text, animation, graphics, and more. Supported formats include MPEG-4 video and AAC audio. These applications can be written on Mac OS X using Xcode and turned into double-clickable Mac OS X applications using Jar Bundler.

View all Java Sample Code.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Date
AddTextMovie (HTML) (DMG) (ZIP)
Adds a text track to an existing movie selected by the user.
2006-06-28
ImageFile (HTML) (DMG) (ZIP)
Shows how to use GraphicsImporter to import and display a wide range of image file formats.
2006-06-28
QTSimpleApplet (HTML) (DMG) (ZIP)
Shows how to display any QuickTime content within a java.awt.Applet.
2006-06-28
QTStreamingApplet (HTML) (DMG) (ZIP)
Shows how to display QuickTime streaming content within a java.awt.Applet.
2006-06-28
TimeCode (HTML) (DMG) (ZIP)
Demonstrates how to add and remove TimeCode tracks to a movie.
2006-06-28
CreatePictFile (HTML) (DMG) (ZIP)
Creates a QTComponent from a PICT, JPEG or GIF file using a GraphicsImporter.
2006-05-11
CustomMedia (HTML) (DMG) (ZIP)
Demonstrates how to subclass quicktime.std.movies.media.Media to support custom media types.
2006-05-11
DukeMovie (HTML) (DMG) (ZIP)
Demonstrates playback of any QuickTime content within a java.awt display space using a QTComponent.
2006-05-11
ImportExport (HTML) (DMG) (ZIP)
Demonstrates both importing and referencing a media file and performing a movie export with customisable settings.
2006-05-11
KeyboardController (HTML) (DMG) (ZIP)
Shows how to customise user controlled playback of a movie using the keyboard.
2006-05-11
MovieCallbacks (HTML) (DMG) (ZIP)
Shows how to display a QuickTime movie within a window and add Call-backs.
2006-05-11
MovieTextFinder (HTML) (DMG) (ZIP)
Shows how to search for text within the text track of a QuickTime movie.
2006-05-11
Music (HTML) (DMG) (ZIP)
Shows how to use QuickTime's music components.
2006-05-11
PlayMovie (HTML) (DMG) (ZIP)
Demonstrates QuickTime content playback within a java.awt.Frame using the QTFactory to create a QTComponent.
2006-05-11
PlaySound (HTML) (DMG) (ZIP)
Shows how to play a sound or midi file using AWT rather than a QTComponent.
2006-05-11
PlayTune (HTML) (DMG) (ZIP)
Shows how to use the TunePlayer to play a Tune using the QuickTime Music Architecture.
2006-05-11
TimeCallbackDemo (HTML) (DMG) (ZIP)
Demonstrates how to add and remove TimeCode tracks to a movie.
2006-05-11
ImageProducing (HTML) (DMG) (ZIP)
Demonstrates how to display any QuickTime drawing object using Java's ImageProducing model.
2006-05-05
SoundMemRecord (HTML) (DMG) (ZIP)
This code shows using the SoundManager SPB calls for simple audio recording to memory.
2006-05-05
SoundRecord (HTML) (DMG) (ZIP)
Shows using the SequenceGrabber for simple audio recording
2006-05-05
WiredSprites.win (HTML) (DMG) (ZIP)
Creates a QuickTime movie containing wired sprites.
2003-02-25
WiredSpritesJava (HTML) (DMG) (ZIP)
Creates a QuickTime movie containing wired sprites.
2003-02-25
AddTextMovie.win (HTML) (DMG) (ZIP)
Shows how to Add a text track to a Movie.
2003-01-14
CreateMovieJava (HTML) (DMG) (ZIP)
Deprecated - Creates a Movie from Java drawing and a sound file.
2003-01-14
GroupDrawing (HTML) (DMG) (ZIP)
Deprecated - Groups QuickTime drawing-capable objects into the display space of a single QTCanvas.
2003-01-14
ImageCompositing (HTML) (DMG) (ZIP)
Deprecated - Applies compositing effects such as blend and transparency. Also records a Movie using the Compositor.
2003-01-14
PlayMovieJava (HTML) (DMG) (ZIP)
Deprecated - Display any QuickTime content within an AWT container using the QTCanvas.
2003-01-14
QTEffectsJava (HTML) (DMG) (ZIP)
Deprecated - Applies QuickTime visual effects to two source images at runtime.
2003-01-14
QTJava media samples (HTML) (DMG) (ZIP)
Deprecated - Common media files for many of the QuickTime for Java samples.
2003-01-14
SGCapture (HTML) (DMG) (ZIP)
Deprecated - Displays live video within a QTCanvas using the SGDrawable class.
2003-01-14
SGCapture2Disk (HTML) (DMG) (ZIP)
Deprecated - Use the SequenceGrabber to display video within a QTCanvas and capture the video to a movie file.
2003-01-14
SimpleCocoaJavaMovie (HTML) (DMG) (ZIP)
Deprecated - A simple movie player showing how to use the NSMovieView and NSMovie Cocoa Java classes.
2003-01-14
SlideShowJava (HTML) (DMG) (ZIP)
Deprecated - Uses the ImageViewer object to present a sequence of images one at a time.
2003-01-14
TimeSlaving (HTML) (DMG) (ZIP)
Deprecated - Controls a scrolling text object by slaving a TimeBase to a movie.
2003-01-14
Transitions (HTML) (DMG) (ZIP)
Deprecated - Applies the QuickTime effects architecture to a character in an animation scene.
2003-01-14