qtkit

using QTkit for recording audio

∥☆過路亽.° 提交于 2019-12-06 12:28:49
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 recording audio? Here is an example of using QTKit for recording audio. In order to capture audio only, you have to either select the default device that supports sounds, or disable video connection on muxed devices. // Get the default sound capture device QTCaptureDevice *theDefaultSoundDevice = [QTCaptureDevice defaultInputDeviceWithMediaType:

iOS alternative to QTMovieLayer that has non-nil `contents`?

别等时光非礼了梦想. 提交于 2019-12-03 10:48:47
问题 Background QTKit (QuickTime Kit) is a Mac framework from the 10.3 days that got some layer additions in 10.5 like for example QTMovieLayer . One of the nice things with QTMovieLayer is that you can access the movie content using the regular content property on the layer and get a CAImageQueue object back. The nice thing with this is that you can create a bunch of regular CALayer s and set the image queue as their content and give all the layers their own part of the movie by setting the

iOS alternative to QTMovieLayer that has non-nil `contents`?

匆匆过客 提交于 2019-12-03 01:20:15
Background QTKit (QuickTime Kit) is a Mac framework from the 10.3 days that got some layer additions in 10.5 like for example QTMovieLayer . One of the nice things with QTMovieLayer is that you can access the movie content using the regular content property on the layer and get a CAImageQueue object back. The nice thing with this is that you can create a bunch of regular CALayer s and set the image queue as their content and give all the layers their own part of the movie by setting the correct contentRect . This means that you can create something like the image below with only one movie

QTKit - Merge two videos with different width and height?

不羁的心 提交于 2019-12-01 11:31:32
I have just made a simple app which uses QTKit to merge two videos together Here is the problem: I have just discovered that if I try to merge two videos with different width & height the output is a video whose height and width is the same of the big video but contains the small one with black and wide borders. Question: How can i merge two videos together and get an output video with a correct format (width/height) ? Example to understand better what i need: I have two videos: Video 1 = 1920 x 1280 VIdeo 2 = 1280 x 960 What i want: A video in 1920 x 1280 (Need to up-scale and crop the small

QTKit - Merge two videos with different width and height?

孤人 提交于 2019-12-01 09:38:44
问题 I have just made a simple app which uses QTKit to merge two videos together Here is the problem: I have just discovered that if I try to merge two videos with different width & height the output is a video whose height and width is the same of the big video but contains the small one with black and wide borders. Question: How can i merge two videos together and get an output video with a correct format (width/height) ? Example to understand better what i need: I have two videos: Video 1 =