QuickTime for .NET and COM Developers
暫譯: .NET 與 COM 開發者的 QuickTime

John Cromie

  • 出版商: Morgan Kaufmann
  • 出版日期: 2006-01-01
  • 售價: $3,410
  • 貴賓價: 9.5$3,240
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 0127745750
  • ISBN-13: 9780127745756
  • 相關分類: .NET
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Description

At the heart of Apple's hugely popular iLife software suite—iMovie, iPhoto, iDVD, GarageBand, and iTunes—is QuickTime, the powerful media engine that drives elegant applications for managing movies, images, and audio files. The enduring success of QuickTime is in no small part attributable to its component architecture. This key feature has allowed it to embrace emerging digital media technologies and standards one by one as they have appeared over the 12 or so years since its launch. None of the competing technologies even comes close, let alone on both Mac OS X and Windows.

QuickTime for .NET and COM Developers is the first guide to QuickTime for developers using popular RAD tools such a Visual Basic .NET, C#, and Visual Basic 6. A general introduction to QuickTime is followed by a detailed explanation of the QuickTime architecture from a.NET and COM perspective, liberally accompanied by code snippets. A number of implementation examples illustrate key QuickTime features, ranging from a simple movie player to a sophisticated interactive application. Also covered is QuickTime scripting in both QuickTime Player (using Windows Scripting) and in Microsoft Office applications (using VBA). Brief guides to developing with QuickTime in Delphi and ATL/WTL are also included.

Part of the official Quicktime Developer Series, publishing the finest books on QuickTime in cooperation with Apple.

 

Table Of Contents

    About the Author
    Preface
    Acknowledgments

    Chapter 1. Introduction
      Why QuickTime?
    Why .NET and COM?
      COM
      .NET
      COM Interop
    QuickTime Meets COM and .NET
    Who Is This Book For?
    What Should I Know Before Reading This Book?
    Code Samples
    Additional Resources
      .NET, Visual Basic, and C#
      Windows Scripting
      QuickTime

    Chapter 2. Getting Started with the QuickTime Control
    Introduction
    Hello World!
    Simple Player—the Basics
      Initialization
      Opening and Closing Movies
      Controlling the Movie
      Getting Information about the Movie
      Scaling the Movie
      Full-Screen Movies
      Automatically Sizing the Form
      About...
    Summary

    Chapter 3. Using the QuickTime Control
    Introduction
    The Apple QuickTime Control
    A COM control in .NET
      Get the Big Picture
    Movies
      Loading a Movie
      Movie Scaling and Sizing
      A Resizable Window for Simple Player
      Background and Border
      Movie Controller
      Auto Play
      Control over Full-Screen Display
    Initializing QuickTime
      Is QuickTime Available?
    Probing Deeper
    Summary

    Chapter 4. The QuickTime Object Model
    Introduction
    Object Models
    The QuickTime Object Model
      QTMovie and Its Offspring
      QTQuickTime and Its Offspring
    Summary

    Chapter 5. Diving Deeper
    Essential Topics for Serious QuickTime Development
    Introduction
    QuickTime Events
      Registering for QuickTime Events
      Handling QuickTime Events
      Sample: QuickTime Events Demo
    QuickTime Metadata
      Annotations
    CFObject and Its Uses
      CFObject Collection
      CFObject Dictionary (CFDictionary)
      The Annotations CFDictionary
      Complex CFObject Data Structures
      Persistent CFObjects
    Error Handling
    Summary

    Chapter 6. Create and Edit
    Introduction
    The Joy of Cut, Copy, and Paste
      Implementing the Edit Menu
      Saving the Movie
      Creating a New Movie
    Movie Builder
      Assembling a Movie
      Adding an Overlay
      Subtitling the Movie
    Summary of the Edit Capabilities of QTMovie
    Creating a Movie from Images
    SMIL the Movie
    Creating a Movie Using GDI
    Saving a New Movie
    Summary

    Chapter 7. Browsing the Media
    For the Birds
      Design Decisions
    Implementation
      Picking the Components
      Building the Bare Bones
      Directory Browsing
      Media Display
      Wiring up the Connections
      Adding the QuickTime Control
      Media Inspector
      A Tooltip
    Summary

    Chapter 8. Scripting QuickTime Player
    Introduction
    Scripting QuickTime on the Mac
    Windows Scripting Host
      COM (Automation) Server
    QuickTime Player: a COM Server
      Opening and Playing a Movie
      The QuickTime Player Object Model
      Working with Players
      A Movie Builder Script
      Batch Export from the Command Line
      Event Handlers
      Script Droplets
      Windows Scripting File (.wsf) format
    Summary

    Chapter 9. QuickTime Meets Office
    QuickTime Development in Microsoft Excel and Access
    Introduction
    Excel
      Adding the QuickTime Control
      ActiveX and Macro Security
      Adding a Play/Stop Cell
      Movie Inspector
      Movie Inspector with Annotation Editing
      Batch Processing: Movie Annotator
    Access
      Movie Display
      QuickTime Event Handling
    Summary

    Appendix A QuickTime COM Library Reference
    QuickTime Control (QTOControlLib
    QuickTime Object Library (QTOLibrary

    Appendix B Additional COM Host Environments
    QuickTime Control Basics in Other COM Hosts
    Visual Basic 6
      Getting Started
      Adding a Load Button
      Adding a Play/Stop Button
      Resizing the Form to Fit the Control
      Responding to Manual Resize of the Form
      Porting Code Samples to Visual Basic 6 or Visual Basic for Applications (VBA)
    Delphi
      Getting Started
      Loading a Movie
      Playing the Movie
      Handling QuickTime Events
    ATL/WTL
      Getting Started
      Adding the QuickTime Control
      Adding a Play/Stop Button
      Handling Events from the QuickTime Control
      QuickTime Events

    Appendix C QuickTime Exporter Types
    Exporter Types

    Index

商品描述(中文翻譯)

描述

在蘋果公司極受歡迎的 iLife 軟體套件(包括 iMovie、iPhoto、iDVD、GarageBand 和 iTunes)的核心是 QuickTime,這是一個強大的媒體引擎,驅動著優雅的應用程式來管理電影、圖像和音頻檔案。QuickTime 的持久成功在很大程度上歸功於其組件架構。這一關鍵特性使其能夠在過去約 12 年的時間裡,逐一接受新興的數位媒體技術和標準。沒有任何競爭技術能夠接近,更不用說同時在 Mac OS X 和 Windows 上運行了。

《QuickTime for .NET and COM Developers》是第一本針對使用流行 RAD 工具(如 Visual Basic .NET、C# 和 Visual Basic 6)的開發者的 QuickTime 指南。書中首先對 QuickTime 進行一般介紹,然後從 .NET 和 COM 的角度詳細解釋 QuickTime 架構,並附有大量的程式碼片段。多個實作範例展示了 QuickTime 的關鍵特性,範圍從簡單的電影播放器到複雜的互動應用程式。此外,還涵蓋了在 QuickTime Player(使用 Windows Scripting)和 Microsoft Office 應用程式(使用 VBA)中的 QuickTime 腳本編寫。書中還包括了在 Delphi 和 ATL/WTL 中使用 QuickTime 的簡要指南。

本書是官方《Quicktime Developer Series》的一部分,與蘋果公司合作出版最優質的 QuickTime 書籍。

目錄

關於作者
前言
致謝

第一章 介紹
為什麼選擇 QuickTime?
為什麼選擇 .NET 和 COM?
COM
.NET
COM 互操作
QuickTime 與 COM 和 .NET 的結合
本書適合誰?
在閱讀本書之前我應該知道什麼?
程式碼範例
附加資源
.NET、Visual Basic 和 C#
Windows Scripting
QuickTime

第二章 開始使用 QuickTime 控制項
介紹
你好,世界!
簡單播放器—基礎
初始化
開啟和關閉電影
控制電影
獲取電影資訊
縮放電影
全螢幕電影
自動調整表單大小
關於...
摘要

第三章 使用 QuickTime 控制項
介紹
Apple QuickTime 控制項
.NET 中的 COM 控制項
獲取全貌
電影
載入電影
電影縮放和大小調整
簡單播放器的可調整大小窗口
背景和邊框
電影控制器
自動播放
全螢幕顯示控制
初始化 QuickTime
QuickTime 是否可用?
深入探討
摘要

第四章 QuickTime 物件模型
介紹
物件模型
QuickTime 物件模型
QTMovie 及其子類
QTQuickTime 及其子類
摘要

第五章 深入探討
嚴肅的 QuickTime 開發必備主題
介紹
QuickTime 事件
註冊 QuickTime 事件
處理 QuickTime 事件
範例:QuickTime 事件示範
QuickTime 元數據
註解
CFObject 及其用途
CFObject 集合
CFObject 字典 (CFDictionary)
註解 CFDictionary
複雜的 CFObject 數據結構
持久 CFObjects
錯誤處理
摘要

第六章 創建和編輯
介紹
剪切、複製和粘貼的樂趣
實現編輯菜單
保存電影
創建新電影
電影構建器
組裝電影
添加覆蓋層
為電影添加字幕
QTMovie 的編輯能力摘要
從圖像創建電影
SMIL 電影
使用 GDI 創建電影
保存新電影
摘要

第七章 瀏覽媒體
為了鳥類
設計決策
實現
選擇組件
構建基本框架
目錄瀏覽
媒體顯示
連接佈線
添加 QuickTime 控制項
媒體檢查器
工具提示
摘要

第八章 腳本編寫 QuickTime Player
介紹
在 Mac 上腳本編寫 QuickTime
Windows 腳本主機
COM(自動化)伺服器
QuickTime Player:一個 COM 伺服器
開啟和播放電影
QuickTime Player 物件模型
與播放器合作
電影構建器腳本
從命令行批量導出
事件處理器
腳本滴水
Windows 腳本文件 (.wsf) 格式
摘要

第九章 QuickTime 與 Office 的結合
在 Microsoft Excel 和 Access 中的 QuickTime 開發
介紹
Excel
添加 QuickTime 控制項
ActiveX 和宏安全性
添加播放/停止單元格
電影檢查器
帶註解編輯的電影檢查器
批量處理:電影註解器
Access
電影顯示
QuickTime 事件處理
摘要

附錄 A QuickTime COM 庫參考
QuickTime 控制項 (QTOControlLib)
QuickTime 物件庫 (QTOLibrary)

附錄 B 其他 COM 主機的附加 COM 環境
在其他 COM 主機中的 QuickTime 控制項基礎
Visual Basic 6
入門
添加載入按鈕
添加播放/停止按鈕
調整表單大小以適應控制項
響應手動調整表單大小
將程式碼範例移植到 Visual Basic 6 或 Visual Basic for Applications (VBA)
Delphi
入門
載入電影
播放電影
處理 QuickTime 事件
ATL/WTL
入門
添加 QuickTime 控制項
添加播放/停止按鈕
處理來自 QuickTime 控制項的事件
QuickTime 事件

附錄 C QuickTime 匯出器類型
匯出器類型
索引

最後瀏覽商品 (20)