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
1
vote
1 answer

kMovieLoadStatePlayable undelcared (first use in this function) error with QuickTime or QTKit framework

I have the following code: (void)loadStateChanged:(NSNotification*)notification { if ([[movie attributeForKey:QTMovieLoadStateAttribute] longValue] >= kMovieLoadStatePlayable) { [[NSNotificationCenter defaultCenter]…
joshholat
  • 3,371
  • 9
  • 39
  • 48
1
vote
1 answer

how to place image on top of qtmovie in xcode

I am trying to make an OS X application in xcode 4.4 that can load a movie and place an image on top of this movie. The aim is to be able to resize/skew/distort the image with certain frames of the movies for measurement purposes. I included the…
fellowworldcitizen
  • 3,441
  • 3
  • 15
  • 17
1
vote
1 answer

Java video capture on Mac OS X (USB/Firewire)

Looking for resources and information regarding capturing video from an external webcam on Mac OS X using Java. QTKit seems to only offer this functionality in native code. Any information would be appreciated.
cweston
  • 11,297
  • 19
  • 82
  • 107
1
vote
0 answers

How to use QTKit to split a stereo audio track into two mono audio tracks?

I've been writing an audio conversion application in OSX meant for use in podcasting, and I've run into an issue. I can access the QTTrack for the audio I want, but it has two very different audio channels on the left speaker and on the right…
wanderso
  • 1,785
  • 3
  • 13
  • 21
1
vote
1 answer

Playing HLS (.m3u8) using QTKit in MacOS 10.6.8

I'm creating an app that supports playing hls files (.m3u8) on a Mac OS environment, and I've just found out that AVFoundation is only available for Mac OS 10.7 onwards. So, I've been left with QTKit. Apple's documentation on HLS says that HLS can…
mltpyt
  • 96
  • 1
  • 8
1
vote
1 answer

How can I access a Cocoa IB binding from the object the binding is defined for but in code?

I have a Class (File's Owner) that has an instance of a QTMovieViewer subclass (movieViewer) and a QTMovie (movie). QTMovieViewer is an IBOutlet, QTMovie is not. Within IB I set up a binding for movieViewer using KVC to movie. How can I access movie…
Dodomac
  • 194
  • 2
  • 17
1
vote
1 answer

QTKitServer remaining in Activity Monitor

I have a simple block of code in which I read a movie's size to get the width. BOOL isHD; if ([[NSFileManager defaultManager] fileExistsAtPath: filePath]) { QTMovie *movie = [QTMovie movieWithFile: filePath error: nil]; NSValue *movieSize =…
Kris
  • 349
  • 1
  • 2
  • 13
0
votes
1 answer

Problems with QTMovie and .m3u8

I'm trying to make an app for OS X for playing .m3u8 urls videos. I tried to use this code: NSURL *movieURL = [NSURL URLWithString:@"url.m3u8"]; QTMovie* movie = [[QTMovie alloc] initWithURL: movieURL error: nil]; [_movieView setMovie:movie];…
0
votes
1 answer

How to create a controller in a Cocoa MVC application?

I want to build a Cocoa application using the Model-View-Controller design pattern. I have a view subclassing QTMovieView that handles the keyDown event. I want to create a controller with several methods like setRate, getTime, but I don't know…
Martin Delille
  • 11,360
  • 15
  • 65
  • 132
0
votes
1 answer

Swapping QTMovieView on an NSWindow causes flicker

What I would like to do is this: play a master quicktime movie (prores or pjpg) on one screen (with audio) play another slave quicktime movie (prores or pjpg) on another screen, in-sync with the master when i press left or right, cycle through…
memo
  • 3,554
  • 4
  • 31
  • 36
0
votes
1 answer

Use MAC OS Library QTKit for iPhone App

Apple developer document has the QTKit examples. I have noticed that it is only for Mac OS X v10.4 and I don't see QTKit in frameworks list. Is there anyway I can use this framework in developing my iPhone app?
Paresh Masani
  • 7,474
  • 12
  • 73
  • 139
0
votes
1 answer

trouble with python + QTKit on Mac Lion

I am having trouble with generating a QT .mov in Mac Lion. The (longer) script uses QTKit from python takes a sequence of images and builds a movie. The following is boiled down to get straight to the error. The following succeeds on one machine…
0
votes
1 answer

QTCaptureOutput.delegate captureOutput:didOutputVideoFrame:... never called

Source So, I have a QTCaptureSession set up thusly: //Setup Camera cameraSession = [[QTCaptureSession alloc] init]; QTCaptureDevice *camera = [QTCaptureDevice deviceWithUniqueID: cameraID]; BOOL success = [camera open: &error]; …
Patrick Perini
  • 22,555
  • 12
  • 59
  • 88
0
votes
1 answer

A QTMovie isn't writing to file

I'm trying to add these images to the QTMovie, but the file never appears. I think it has something to do with the attributes or addImage: NSTimeInterval t; QTGetTimeInterval(frameInterval, &t); NSLog(@"%f", t); // outputs 0.0333333 // ---…
personak
  • 539
  • 4
  • 15
0
votes
2 answers

QTTime to position a movie to a certain timecode

I want to position a QuickTime movie containing a timecode track to a user-defined TC position. I am well aware of the whole timeScale, timeValue stuff but I don't know what I am missing and hope you guys can give me a hint here!! I want to give you…
guitarflow
  • 2,930
  • 25
  • 38