QuickTime for .NET and COM Developers

John Cromie

  • 出版商: Morgan Kaufmann
  • 出版日期: 2006-01-01
  • 售價: $3,350
  • 貴賓價: 9.5$3,183
  • 語言: 英文
  • 頁數: 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的最佳書籍。

目錄

關於作者
前言
致謝
第1章 簡介
為什麼選擇QuickTime?
為什麼選擇.NET和COM?
QuickTime與COM和.NET的結合
本書適合對象
閱讀本書前應該了解的知識
代碼示例
其他資源
.NET、Visual Basic和C#
Windows Scripting
QuickTime

第2章 開始使用QuickTime控制項
簡介
Hello World!
簡單播放器-基礎知識
初始化
打開和關閉電影
控制電影
獲取有關電影的信息
調整電影大小
全屏電影
自動調整表單大小
關於...

第3章 使用QuickTime控制項
簡介
Apple QuickTime控制項
.NET中的COM控制項
獲取整體情況
電影
加載電影
電影縮放和調整大小
簡單播放器的可調整窗口
背景和邊框
電影控制器
自動播放
控制全屏顯示
初始化QuickTime
是否可用QuickTime
深入探索
總結

第4章 QuickTime對象模型
簡介
對象模型
QuickTime對象模型
QTMovie及其子類
QTQuickTime及其子類
總結

第5章 深入探討
專業人士的重要主題