QuickTime for .NET and COM Developers

John Cromie

  • 出版商: Morgan Kaufmann
  • 出版日期: 2006-01-31
  • 售價: $4,050
  • 貴賓價: 9.5$3,848
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 0127745750
  • ISBN-13: 9780127745756
  • 相關分類: .NET

下單後立即進貨 (1週~2週)

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

商品描述

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