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

QTKit capture: what frame size to use?

I am writing a simple video messenger-like application, and therefore i need to get frames of some compromise size to be able to fit into the available bandwidth, and still to have the captured image not distorted. To retrieve frames I am using…
James
  • 81
  • 2
2
votes
1 answer

QTKit isn't properly mixing audio tracks

I'm trying to import a single movie file twice (2 separate QTMovie instances) offset the audio track of the second instance by a second and then mix it with the audio track of the first instance. It doesn't mix. The first track starts to play and…
richcollins
  • 1,504
  • 4
  • 18
  • 28
2
votes
1 answer

QTKit does not enumerate my USB- and virtual cams in 64Bit mode. Is there a workaround?

I have a problem with Quicktime, that means, QTKit. A long time ago I wrote an app, which is using camera devices on Mac OS X. The user could select the camera using a popup box. I populated the device list into a popup box so the user could choose…
JackPearse
  • 2,922
  • 23
  • 31
2
votes
1 answer

How do I Extract Raw Audio from movie using QTKit

I'm trying to extract the raw audio from a movie using QTKit so I can draw a waveform. I'm using the following code but all of my output frames are zero. Any ideas about what I might be doing wrong? (you can also download the project here:…
richcollins
  • 1,504
  • 4
  • 18
  • 28
2
votes
0 answers

My QTKit is crashing while popping down a menu. JVT - Lib (H.264) encoding is responsible for this issue. What can I do?

I use H.264 encoding using QTKit in my application. This Application is always crashing with a "segmentation fault" or "EXEC_BAD_ACCESS". My debugger shows the crash at this place: 0x7fff801fea94: je 0x7fff801feba6 ;…
JackPearse
  • 2,922
  • 23
  • 31
2
votes
1 answer

How to add a socket as QTCaptureOutputs for a QTCaptureSession

I'm reading Apple's documentation on using QTKit to capture streaming audio and video from input sources. I read that the central class QTCaptureSession handles the input and sends it to every possible output (QTCaptureOutput). The documentation…
gvalero87
  • 855
  • 3
  • 15
  • 32
2
votes
1 answer

Extracting an image from H.264 sample data (Objective-C / Mac OS X)

Given a sample buffer of H.264, is there a way to extract the frame it represents as an image? I'm using QTKit to capture video from a camera and using a QTCaptureMovieFileOutput as the output object. I want something similar to the CVImageBufferRef…
Jasarien
  • 58,279
  • 31
  • 157
  • 188
2
votes
2 answers

using QTkit for recording audio

It looks like using core audio to record audio is overly complicated. While QTkit is basic and down to earth However. All of the examples I have see integrate video and audio together. Does some one have or know an example of using QTkit for…
RW.
  • 637
  • 6
  • 14
2
votes
1 answer

Vibrations when exploding/repacking movie

Please bear with me, I know that what I'm doing can sound strange, but I can guarantee there's a very good reason for that. I took a movie with my camera, as avi. I imported the movie into iMovie and then exploded the single frames as PNG. Then I…
Stefano Borini
  • 138,652
  • 96
  • 297
  • 431
2
votes
0 answers

How to play audio/video using AirPlay in cocoa app

I am working on a cocoa app where i play some audio and video using url. I have used QTMovieview for playing Audio/Video. Now what is my requirement is to play audio/video on another device like AppleTv/Another Mac by using airplay functionality. I…
Surjeet Singh
  • 11,691
  • 2
  • 37
  • 54
2
votes
2 answers

Is it possible to create a QTTimeRange from two frame numbers?

All QTKit examples use seconds for making ranges. I, unfortunately, have frame numbers and need to be frame accurate. I suppose I could multiply up by the frame rate if I could figure out how to get that out of my movie.
Gareth Simpson
  • 36,943
  • 12
  • 47
  • 50
2
votes
2 answers

Which video file formats can QTKit play?

Is there an overview of file formats which QTKit understands?
HelloMoon
2
votes
0 answers

How to continue QTCaptureSession at login screen?

I've got a program I have written which creates a QTCaptureSession, and is able to receive and process image frames. The problem is when I switch to the login screen the iSight LED goes off and I don't get any frames. As soon as I log back in the…
Michael
  • 9,060
  • 14
  • 61
  • 123
2
votes
0 answers

How to create a QTMovieView within an NSWindow that is able to be moved and resized within that window?

I am creating a Cocoa NSWindow, inside this (via IB) are a QTCaptureView, QTMovieView and various buttons and text fields. Programmatically, I have done the following: Created a new QTMovie: - (BOOL)readFromURL:(NSURL *)url ofType:(NSString…
Dodomac
  • 194
  • 2
  • 17
2
votes
0 answers

Programmatically set poster frame of .MOV in ios

on Mac OS, QtKit allows me to load in a quicktime movie and set the poster frame. that framework isn't ported to ios. is there an alternative way to do this? I'm writing the movie using AVAssetWriter, so I'd love to set this before saving, but I'd…
supadenz
  • 305
  • 3
  • 9