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
2
votes
2 answers

How to play QuickTime movie while downloading?

I am writing a mac app that can download videos from different sources to the local hard disk. Works great so far, but I'd like to allow the user to play those videos while they are being downloaded. Looking through the documentation for QTKit I…
Sven
  • 22,475
  • 4
  • 52
  • 71
1
vote
2 answers

Getting a codecs OSType from a UTType format in pyobjc

I'm currently writing a script that processes batches of quicktimes, and its my first time using pyobjc (I have only written one other really simple script in actual objective-c). I need to be able to determine the four character OSType of the codec…
jdi
  • 90,542
  • 19
  • 167
  • 203
1
vote
1 answer

QTMovie addImage performance

I'm working on desktop video capture. I implemented screenshot grabbing which works fast. Then I add every screenshot to QTMovie via addImage:forDuration:withAttributes: but it works very slow, so when I'm trying to create fullscreen capture…
Alex Kievsky
  • 114
  • 6
1
vote
1 answer

How can I programmatically pipe a QuickTime movie into a Quartz Composer input?

I'm working on an app that applies Quartz Composer effects to QuickTime movies. Think Photo Booth, except with a QuickTime movie for the input, not a camera. Currently, I am loading a quicktime movie as a QTMovie object, then have an NSTimer…
1
vote
1 answer

Creating a selectable Video Input patch for Quartz: Muxed Inputs fail

I'm trying to create a custom patch for Quartz Composer that will function just like the Video Input patch, but with a selectable capture device on an input port. It's a small patch, and looks right to me, but when I connected a DV device (Canopus…
Adam
  • 913
  • 1
  • 9
  • 26
1
vote
1 answer

QTKit, capture video for live streaming

I am trying to create an application for the Mac that would create live video streaming. I know about VLC and other solutions, but still. To that end i am trying to record video from iSight using QTKit, and save it continuously as a series of tiny…
Ibolit
  • 9,218
  • 7
  • 52
  • 96
1
vote
1 answer

How to perform audio file analysis with Cocoa?

my aim is to perform analysis (like DFT) on an audio file (mp3). Then : my input is a file And my output is a treatment I would like to use QTKit framework to perform this, but I am a bit disappointed: QTMovie is able to open a file but I…
Benoît
  • 7,395
  • 2
  • 25
  • 30
1
vote
1 answer

Get QuickTime metadata: codecs, bitrates, dimensions

I'm finding it difficult to determine how to extract the following information from a QuickTime movie, either using QTKit or the older QuickTime APIs in OS X, targeting 10.5+: Video and audio codecs used (e.g. "H.264") Video and audio bitrates…
Noah Harrison
  • 197
  • 1
  • 5
  • 15
1
vote
1 answer

Noise in recording in mac app

I am using QTKit for recording and playing, but when i am recording the resultant file having lot of noise(air pressure). I am using QTCaptureDevice *audioDevice = [QTCaptureDevice defaultInputDeviceWithMediaType:QTMediaTypeSound]; and capture…
Ishu
  • 12,797
  • 5
  • 35
  • 51
1
vote
1 answer

QTKit issue on OSX Lion

I'm having an issue with an existing QTKit codebase which I need to support for OSX Lion. On upgrading to Lion our QT based capture (via QTCaptureSession) mostly seems to work fine. However, on certain boxes, we get a crash as soon as QT is…
George
  • 1,457
  • 11
  • 26
1
vote
0 answers

QT Movie Metadata Tagging with QTKit

I'm trying to do some metadata tagging to some video files using QTKit. I've got things down for tagging atom that take a string as their value, but having a hard time setting atoms that take an 8-bit integer as their argument. Here is what I got…
Kris
  • 349
  • 1
  • 2
  • 13
1
vote
1 answer

next/previous track buttons action

I have an NSTableView (URLs of songs) and QTMovieView elements. I need to create an action that will execute when previous/next buttons on QTMovieView will be pressed. what I need to do?
void
  • 718
  • 7
  • 21
1
vote
2 answers

playing music by url

I want to play the music from internet by url. I create a simply project that has one button with the following code: NSURL *url = [[NSURL alloc] initWithString:@"http://someURL.mp3"]; NSError **err; QTMovie *movie = [[QTMovie alloc] initWithURL:url…
void
  • 718
  • 7
  • 21
1
vote
3 answers

QTKit A file or directory could not be found

I'm trying to record and play movies with my app using qtkit. I record the video in one view and display it into another view. Here's how I do it - (void)startRecording { NSString *applicationSupportDirectory = [[NSFileManager defaultManager]…
Oscar Del Ben
  • 4,485
  • 1
  • 27
  • 41
1
vote
1 answer

Crop video from QTKit

I'm using the OSX QTKit sample code from here: http://bit.ly/mAaHGI I'd like to crop the video, both on the screen and the saved file, to simulate different aspect ratios. What is the best way to do this?
Daniel
  • 11
  • 3