Professional Web Applications Themes

Cocoa Quicktime API - Mac Programming

Hello: Is there any easy way to create Quicktime movies with the API provided by apple? I am going to have a program generate image frames (NSimage) one by one and I want to put them together to make a quicktime .mov file. Is this possible? Thanks, Eli Hughes...

  1. #1

    Default Cocoa Quicktime API

    Hello:

    Is there any easy way to create Quicktime movies with the API provided by
    apple? I am going to have a program generate image frames (NSimage) one by
    one and I want to put them together to make a quicktime .mov file. Is this
    possible?

    Thanks,
    Eli Hughes


    Eli Guest

  2. #2

    Default Re: Cocoa Quicktime API

    In article <c7tkpn$1l3q$cac.psu.edu>,
    "Eli Hughes" <edu> wrote: 

    There is tons of sample code for QuickTime on Apple's web site. Here's
    one that does exactly what you are asking about:
    <http://developer.apple.com/samplecode/CocoaCreateMovie/CocoaCreateMovie.
    html>

    This sample demonstrates how to create a QuickTime movie from a set of
    Cocoa jpeg NSImage objects. Specifically, the movie video track is built
    from the images. This is accomplished by creating a QuickDraw GWorld,
    copying the raw jpeg data from the NSImage into the GWorld,
    re-compressing the data using the QuickTime CompressImage function, and
    adding it to the video track of the movie. We use the NSBitmapImageRep
    -bitmapData method to access the raw jpeg NSImage data. The 24-bit image
    data is simply copied into the 32-bit GWorld (with zeros for the alpha
    component). Finally, the resulting movie is displayed in a window using
    the NSMovieView. Requirements: Project Builder v1.0.1+, Mac OS X 10.0+
    Tom Guest

  3. #3

    Default Re: Cocoa Quicktime API

    Tom Dowdy <com> wrote:
     

    The program does not open a window on startup and the file->new is
    grayed. System: 10.3.3

    What could be the problem?

    Tschau - Robert
    --
    vertrau
    voraus voraus
    Robert Guest

Similar Threads

  1. Cocoa Browser Help
    By James in forum Mac Programming
    Replies: 3
    Last Post: April 25th, 06:52 PM
  2. C++ in cocoa
    By Robert in forum Mac Programming
    Replies: 6
    Last Post: February 26th, 07:19 PM
  3. Quicktime Playback Requires Downloaded Quicktime Components???
    By dfarrow webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 0
    Last Post: February 6th, 06:03 PM
  4. Cocoa Filemaker
    By Olly Groves in forum FileMaker
    Replies: 2
    Last Post: July 25th, 01:55 AM
  5. [Cocoa] Bug with NSTableView?
    By Mark Bee in forum Mac Programming
    Replies: 1
    Last Post: July 7th, 07:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139