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
0 answers

QTKit: Analog for VideoContext for the sound

I am writing a simple application for streaming video over the network, using a slightly different from the ordinary "H.264 over RTP" approach (i am using my own codecs). To achieve this, i need raw frames and raw audio samples that QTMovie, when…
James
  • 81
  • 2
1
vote
1 answer

addInput method of QTCaptureSession not returning

I have the following code: BOOL success; QTCaptureSession *session = [[QTCaptureSession alloc] init]; QTCaptureDevice *device = [QTCaptureDevice defaultInputDeviceWithMediaType: QTMediaTypeVideo]; success = [device open: &e]; if ( !success ) { …
Alexander Battisti
  • 2,178
  • 2
  • 19
  • 24
1
vote
1 answer

Real-time way to extract all video frames in YV12 (YUV420) format from QuickTime movie?

I have QTMovie open in QTKit. I need to get each frame of this video in YV12 format (kYUV420PixelFormat), in real time (ie. I'm passing it to foreign code which only accepts YV12 and needs to play the video in real time). It seems The Way It Should…
Krystian Gałaj
  • 217
  • 3
  • 9
1
vote
1 answer

QTKit makes my program freeze when attempting to play a video while recording sounds from an other source

I have an application where I use QTKit to acquire realtime information about the sounds surrounding the machine. While this is happening some user events may launch the playback of a video (still using QTKit). When this happens I see the video…
1
vote
0 answers

Cocoa QTKit resolution problem

Based on a lot of online references, the way to change resolution is using the following code. NSDictionary * pixelBufferAttr = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt:320], kCVPixelBufferWidthKey, [NSNumber…
rocksing
  • 21
  • 1
  • 3
1
vote
1 answer

Play QTMovie in ScreenSaver for Cocoa/OSX

I'm trying to create a screen saver that will play a QTMovie, in the ScreenSaverView class. I think I have to use QTMovieView, but I'm having trouble figuring out how to create and initialize the QTMovieView object without using interface builder…
worker1138
  • 2,071
  • 5
  • 29
  • 36
1
vote
2 answers

How to properly save a QTMovie after editing using QTKit?

I am making minor edits to a QTMovie in an application using NSDocument architecture (such as adding a track, as shown below). After the edit, I want to save to the original file. However, I keep getting a 'file is busy' error. I assume this is…
pj4533
  • 1,701
  • 4
  • 17
  • 38
1
vote
1 answer

NSPanel parent window floats on top of full-screened NSView

I have an NS panel that is the child of an NS Window; the panel is set to floating window level. The parent window has an NSView that is in full screen mode, so the NSPanel, is floating on top of the full screened NSView. Anytime I click the panel,…
worker1138
  • 2,071
  • 5
  • 29
  • 36
1
vote
2 answers

QT movie processing on GPU

I'm working on a QTKit project in cocoa where the QT movie is taking up ~70% of the CPU load. I would like to move some of the processing load onto the GPU, if possible. Does anyone know if that is possible?
worker1138
  • 2,071
  • 5
  • 29
  • 36
1
vote
1 answer

Xcode Cocoa QTKit - Creating a Reference file

Sorry if this is a very easy question but: I'm trying to create a reference movie of a Quicktime movie . I am cutting parts of the movie out then I want to save the file as a reference not a self contained movie. I know how to do the cutting and how…
1
vote
1 answer

Playing two QTMovie's synchronously

I have a Cocoa application that should play two different QTMovie objects completely synchronized. Both movies are equal in resolution, size etc. but might have a different length. The movies are compressed and it's necessary that they are…
Philipp Gebert
  • 131
  • 1
  • 4
1
vote
1 answer

Playing a stream of video data using QTKit on Mac OS X

I've been playing with QTKit for a couple of days and I'm successfully able to record video data to a file from the camera using a QTCaptureSession and QTCaptureDeviceInput etc. However what I want to do is send the data to another location, either…
Jasarien
  • 58,279
  • 31
  • 157
  • 188
1
vote
0 answers

how can we have a sound pcm wav little endian (mono) in output

can you please help me retrieve the wav format pcm but in little endian (mono) you will find my code as an attachment code source
simo
  • 11
  • 2
1
vote
1 answer

QTMovie pauses on minimize?

I'm trying to create a video player that plays in the dock when minimized. I'm grabbing the current frame from the QTMovie and intermittently setting it as the minimized icon, but when the window minimizes, the movie (or associated QTMovieView)…
tmoc
  • 11
  • 1
1
vote
2 answers

Convert FLV to MP4 video files on MAC OSx

I am newbie on Mac OSx. I want to convert videos from one format to another like MP4 to MOV, FLV to MP4, MP4 to 3GP etc. I have already surfed on net. I found cocoa can do something using its QTKit architecture. In this, we can export videos in…
Ashish
  • 219
  • 2
  • 6
  • 22