QuickTime for Java: A Developer's Notebook
暫譯: Java 的 QuickTime:開發者筆記本

Chris Adamson

  • 出版商: O'Reilly
  • 出版日期: 2005-02-01
  • 定價: $990
  • 售價: 9.5$941
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 0596008228
  • ISBN-13: 9780596008222
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Description:

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.

 

Table of Contents:

The Developer's Notebook Series

Preface

Chapter 1. Getting Up and Running with QuickTime for Java

     Setting Up QTJ on Windows

     Embedding QuickTime in HTML

     Preflighting a QTJ Installation

     Compiling QTJ Code

     Opening and Closing the QuickTime Session

     Playing an Audio File from the Command Line

Chapter 2. Playing Movies

     Building a Simple Movie Player

     Adding a Controller

     Getting a Movie-Playing JComponent

     Controlling a Movie Programmatically

     Showing a Movie's Current Time

     Listening for Movie State-Changes

     Moving Frame by Frame

     Playing Movies from URLs

     Preventing "Tasking" Problems

Chapter 3. Editing Movies

     Copying and Pasting

     Performing "Low-Level" Edits

     Undoing an Edit

     Undoing and Redoing Multiple Edits

     Saving a Movie to a File

     Flattening a Movie

     Saving a Movie with Dependencies

     Editing Tracks

Chapter 4. Working with Components

     Specifying a Component's Type

     Exporting Movies

     Exporting Movies to Any Installed Format

     Importing and Exporting Graphics

     Discovering All Installed Components

Chapter 5. Working with QuickDraw

     Getting and Saving Picts

     Getting a Pict from a Movie

     Converting a Movie Image to a Java Image

     A Better Movie-to-Java Image Converter

     Drawing with Graphics Primitives

     Getting a Screen Capture

     Matrix-Based Drawing

     Compositing Graphics

Chapter 6. Capture

     Capturing and Previewing Audio

     Selecting Audio Inputs

     Capturing Audio to Disk

     Capturing Video to Disk

     Capturing Audio and Video to the Same File

     Making a Motion Detector

Chapter 7. Audio Media

     Reading Information from MP3 Files

     Reading Information from iTunes AAC Files

     Providing Basic Audio Controls

     Providing a Level Meter

     Building an Audio Track from Raw Samples

Chapter 8. Video Media

     Combining Video Tracks

     Overlaying Video Tracks

     Building a Video Track from Raw Samples

Chapter 9. Miscellaneous Media

     Creating Captions with Text Media

     Creating Links with HREF Tracks

     Adding Timecodes

     Creating Zero-Source Effects

     Creating One-Source Effects (Filters)

     Creating Two-Source Effects (Transitions)

Index

商品描述(中文翻譯)

描述:

QuickTime Java (QJT) 是一個出色的多媒體工具包,但對於初學者來說也相當可怕。需要在其應用程式中添加音頻、視頻或互動媒體創建和播放的 Java 開發者會發現 QTJ 功能強大,但不易入門。事實上,就類別數量而言,QuickTime Java 幾乎與整個 Java 1.1 一樣龐大。

一旦你了解了 Apple 的 QuickTime 軟體的整體範疇,你會真正體會到這個問題。簡單來說,QuickTime 允許 Mac 和 Windows 用戶在其電腦上播放音頻和視頻。但 QuickTime 是多種事物的結合:一種文件格式、一個媒體創作環境,以及一套應用程式,包括用於在網頁中查看媒體的瀏覽器插件、一個用於處理靜態圖片的 PictureViewer、用於實時傳送流媒體文件的 QuickTime Streaming Server,以及用於在互聯網上傳送現場事件的 QuickTime Broadcaster,等等。

如果這還不夠令人生畏,那麼 QJT 的 javadocs 完全不完整,其他相關書籍也早已過時且不被看好,這使得使用 QTJ 的進展變得極其困難。那麼你該怎麼辦?我們的新手冊《QuickTime Java: A Developer's Notebook》不僅跟上了這項技術,還揭開了它的神秘面紗。

這本實用的「全實驗,無講座」書籍是一部非正式的、以代碼為主的工作手冊,首次真實地展示了這款重要軟體。與我們的開發者筆記系列中的其他書籍一樣,《QuickTime Java: A Developer's Notebook》適合那些急於了解當前可用技術的早期採用者。它故意減少理論,強調範例而非解釋,實踐而非概念,讓你能夠專注於通過實作來學習。

《QuickTime Java: A Developer's Notebook》提供了你從 QTJ 中所需的功能。即使你意識到 95% 的 API 與你無關,這本書也將幫助你掌握真正重要的 5%。

目錄:

開發者筆記系列

前言

第一章. 開始使用 QuickTime for Java

設定 Windows 上的 QTJ

在 HTML 中嵌入 QuickTime

預檢 QTJ 安裝

編譯 QTJ 代碼

開啟和關閉 QuickTime 會話

從命令行播放音頻文件

第二章. 播放電影

建立一個簡單的電影播放器

添加控制器

獲取播放電影的 JComponent

程式化控制電影播放

顯示電影的當前時間

監聽電影狀態變更

一幀一幀地移動

從 URL 播放電影

防止「任務」問題

第三章. 編輯電影

複製和粘貼

執行「低級」編輯

撤銷編輯

撤銷和重做多次編輯

將電影保存到文件

扁平化電影

保存帶有依賴的電影

編輯音軌

第四章. 使用組件

指定組件的類型

導出電影

將電影導出為任何已安裝的格式

導入和導出圖形

發現所有已安裝的組件

第五章. 使用 QuickDraw

獲取和保存 Picts

從電影中獲取 Pict

將電影圖像轉換為 Java 圖像

更好的電影到 Java 圖像轉換器

使用圖形原語繪圖

獲取螢幕截圖

基於矩陣的繪圖

合成圖形

第六章. 捕獲

捕獲和預覽音頻

選擇音頻輸入

將音頻捕獲到磁碟

將視頻捕獲到磁碟

將音頻和視頻捕獲到同一文件

製作運動檢測器

第七章. 音頻媒體

從 MP3 文件中讀取信息

從 iTunes AAC 文件中讀取信息

提供基本音頻控制

提供音量計

從原始樣本構建音軌

第八章. 視頻媒體

合併視頻音軌

覆蓋視頻音軌

從原始樣本構建視頻音軌

第九章. 其他媒體

使用文本媒體創建字幕

使用 HREF 音軌創建鏈接

添加時間碼

創建零源效果

創建單源效果(過濾器)

創建雙源效果(轉場)

索引

最後瀏覽商品 (20)