QuickTime for Java: A Developer's Notebook

Front Cover
"O'Reilly Media, Inc.", 2005 - Computers - 233 pages
0 Reviews

QuickTime Java (QJT) is a terrific multimedia toolkit, but it's also terrifying to the uninitiated. Java developers who need to add audio, video, or interactive media creation and playback to their applications find that QTJ is powerful, but not easy to get into. In fact, when it comes to class-count, QuickTime Java is nearly as large as all of Java 1.1.

Once you learn the entire scope of Apple's QuickTime software, you really appreciate the problem. At its simplest, QuickTime allows Mac and Windows users to play audio and video on their computers. But QuickTime is many things: a file format, an environment for media authoring, and a suite of applications that includes browser plug-ins for viewing media within a web page, a PictureViewer for working with still pictures, QuickTime Streaming Server for delivering streaming media files on the Internet in real time, and QuickTime Broadcaster for delivering live events on the Internet. Among others.

As if that weren't daunting enough, the javadocs on QJT are wildly incomplete, and other books on the topic are long out of date and not well regarded, making progress with QTJ extremely difficult. So what can you do? Our new hands-on guide, QuickTime Java: A Developer's Notebook, not only catches up with this technology, but de-mystifies it.

This practical "all lab, no lecture" book is an informal, code-intensive workbook that offers the first real look at this important software. Like other titles in our Developer's Notebook series, QuickTime Java: A Developer's Notebook is for impatient early adopters who want get up to speed on what they can use right now. It's deliberately light on theory, emphasizing example over explanation and practice over concept, so you can focus on learning by doing.

QuickTime Java: A Developer's Notebook gives you just the functionality you need from QTJ. Even if you come to realize that 95% of the API is irrelevant to you, this book will help you master the 5% that really counts.

 

What people are saying - Write a review

QuickTime for Java: a developer's notebook

User Review  - Not Available - Book Verdict

For intermediate to advanced Java developers seeking to add multimedia capabilities with QuickTime for Java (QTJ), QuickTime for Java employs the typical "all lab, no lecture" approach of O'Reilly's ... Read full review

Selected pages

Contents

Getting Up and Running with QuickTime for Java
1
Embedding QuickTime in HTML
4
Preflighting a QTJ Installation
6
Compiling QTJ Code
8
Opening and Closing the QuickTime Session
11
Playing an Audio File from the Command Line
13
Playing Movies
15
Adding a Controller
19
Converting a Movie Image to a Java Image
90
A Better MovietoJava Image Converter
94
Drawing with Graphics Primitives
97
Getting a Screen Capture
100
MatrixBased Drawing
104
Compositing Graphics
109
Capture
113
Capturing and Previewing Audio
114

Getting a MoviePlaying JComponent
20
Controlling a Movie Programmatically
23
Showing a Movies Current Time
26
Listening for Movie StateChanges
29
Moving Frame by Frame
32
Playing Movies from URLs
35
Preventing Tasking Problems
38
Editing Movies
41
Performing LowLevel Edits
49
Undoing an Edit
51
Saving a Movie to a File
54
Flattening a Movie
57
Saving a Movie with Dependencies
59
Editing Tracks
61
Working with Components
67
Specifying a Components Type
68
Exporting Movies
69
Exporting Movies to Any Installed Format
74
Importing and Exporting Graphics
77
Discovering All Installed Components
82
Working with QuickDraw
85
Getting a Pict from a Movie
89
Selecting Audio Inputs
119
Capturing Audio to Disk
121
Capturing Video to Disk
124
Capturing Audio and Video to the Same File
128
Making a Motion Detector
129
Audio Media
137
Reading Information from iTunes AAC Files
142
Providing Basic Audio Controls
148
Providing a Level Meter
151
Building an Audio Track from Raw Samples
156
Video Media
165
Overlaying Video Tracks
171
Building a Video Track from Raw Samples
173
Miscellaneous Media
187
Creating Captions with Text Media
188
Creating Links with HREF Tracks
193
Adding Timecodes
196
Creating ZeroSource Effects
202
Creating OneSource Effects Filters
208
Creating TwoSource Effects Transitions
215
Index
221
Copyright

Common terms and phrases

About the author (2005)

Christopher Adamson is the founder of Oakton Software LLC and a faculty member at The Data Warehousing Institute. He works with customers in all industries to establish data warehousing strategies, define and prioritize projects, and design solutions. Chris has taught dimensional design to thousands of students worldwide, and has written numerous books and articles.

Bibliographic information