Questions tagged [qtkit]

The QuickTime Kit is an Objective-C framework (QTKit.framework) with an API for manipulating time-based media.

QuickTime Kit (aka QTKit) is a developer framework that is intended to replace previous APIs for Cocoa developers. This framework is for Mac only, and exists as Objective-C abstractions around a subset of the C interface. Mac OS X v10.5 extends QTKit to full 64-bit support. The QTKit allows multiplexing between Quicktime X and Quicktime 7 behind the scenes so that the user need not worry about which version of Quicktime they need to use.

185 questions
4
votes
2 answers

Setting movie metadata with QTKit

I'm trying to convert old QuickTime framework code to the 64-bit Cocoa-based QTKit on OS X, which means that I can't drop down to the straight C function calls at any time. Specifically, I'm trying to find a way to write QuickTime VR movies with…
Josh Matthews
  • 12,816
  • 7
  • 36
  • 39
4
votes
3 answers

How do I find solutions for deprecated code?

I'm new to Mac programming. When I open sample projects, I often get 'deprecated' code warnings during a build. I'd like to fix these and get a clean build using XCode 4. When Apple deprecates something, how do I find out why it was deprecated? More…
Brian
  • 101
  • 2
4
votes
2 answers

How to use OSX 10.14 SDK on Xcode 11?

I have a project being developed on Xcode 10.2.1 which uses the (32-bit) QTKit framework, specifically QTMovieModernizer. The project deploys on OSX 10.14.6. On Xcode 11, this fails (which is somewhat expected): #import…
zzyzy
  • 973
  • 6
  • 21
4
votes
3 answers

Converting CVImageBufferRef to PNG

I want to write all frames to disk using QTKit.framework for camera input. But all the images I get are half transparent and without some colors, maybe colorspace problem? ;( They seem good in the preview View but when I write them "something"…
nacho4d
  • 43,720
  • 45
  • 157
  • 240
4
votes
1 answer

Recording multiple videos at once using AVFoundation / QTKit

Using AVFoundation/QTKit how would you record multiple video devices at same time to a file/files? I know how to record them separately but trying to record both at once causes errors like... "cannot be added to the session because the source and…
Equinox2000
  • 576
  • 6
  • 17
4
votes
0 answers

Webcam capture on Mac OSX 10.7 - QucikTime/QTKit/AV Foundation

I'm new to Mac programming and am really getting confused on what is the correct way to capture any webcam. Learnt: On Windows - Directshow filters are the only recommended way. On Mac, there are atleast three frameworks. This is what I've…
Ravi Kishore
  • 138
  • 1
  • 7
3
votes
1 answer

What is QTCaptureScreenInput?

On a screen-recording github project here, I saw one line of code: mCaptureScreenInput = [[NSClassFromString(@"QTCaptureScreenInput") alloc] init]; A google search for QTCaptureScreenInput reveals only two mentions on the web, that project and…
personak
  • 539
  • 4
  • 15
3
votes
0 answers

Quicktime: set 'elng' atom, or AVAssetTrack's extendedLanguageTag property

I have some videos for which I need to set an extended language tag for each of the tracks. I haven't found any app that does this, so I'm trying to do it in code. The documentation for the elng tag is here. The place I'm trying to read that tag is…
Amy Worrall
  • 16,250
  • 3
  • 42
  • 65
3
votes
1 answer

Determine actual frame rate of a stream using QTMovie

I am using QTMovie with QTMovieOpenForPlaybackAttribute:YES, and using a QTMovieView to display it. I need to calculate the framerate it is achieving. One way I can think of doing this is to have a callback which is called every time a frame is…
BenC
  • 31
  • 3
3
votes
1 answer

QTMovie index of out bounds exception when trying to addImage:forDuration:withAttributes

I am trying to create a movie in Cocoa using QTKit. This movie should consist of a bunch of NSImage's that I have created. I'm running into some problems with this. The overall problem is that the movie isn't created. I get a file which appears to…
Erik Rothoff
  • 4,826
  • 9
  • 41
  • 59
3
votes
2 answers

How to tell when a QTMovie starts playing?

So QTMovies have QTMovieDidEndNotification, but no QTMovieDidStartNotification. How can I be notified when a QTMovie starts playing?
Dan
  • 2,766
  • 3
  • 27
  • 28
3
votes
0 answers

Other Prores flavors in AVFoundation

Since apple has decided that QTKit is no more, and AVFoundation appears to only support Prores 4444 and 422 flavors, how are developers supposed to write modern software that can handle 4444XQ, 422lt, and 422 proxy? Would love to know if anyone has…
3
votes
1 answer

QTKit playing protected video (HDCP) in mac os

Is it possible for QTKit or AVPlayer to play protected video with HDCP. I know that QuickTIme player plays a video (for example, a downloaded video from itunes), but when I use QTMovie, he refuses to play this file. What might be the way to solve…
3
votes
1 answer

Get frame number (like Quicktime Player 7) from QTKit

This has been driving me nuts for a while now. I have very little knowledge of QTKit / QTMovie, but have created a little Cocoa app that previews a video and lets you save a 3 second version of it with Handbrake. The problem is translating the…
Andre
  • 4,417
  • 8
  • 32
  • 37
3
votes
1 answer

How to get PCM audio from QTKit in a 64-bit app?

I have a 64-bit Mac OS X Cocoa app that uses AV Foundation for most of its media I/O needs, however I would like it to also be able to read other formats, most notably Motion JPEG inside of an AVI container, but possibly others too (other codecs and…
Wookie
  • 782
  • 8
  • 12
1
2
3
12 13