Can I make QTKit Capture support an IP camera? - cocoa

I've got an IP camera - an Axis M1114 - that I'd like to use as a QTKit Capture device. Only DV cameras and the iSight usually appear on this capture menu. Is there any way of getting the IP camera to appear in this list and work with QTKit Capture?
This might not be possible, but if it is, I'd appreciate any pointers at ways of going about it. Thanks!

I asked Apple engineers the same question on WWDC 2010. The answer was "No, you cannot make your own QTCaptureDevice". To record video from AXIS IP cameras we have developed our own framework. You can get frames from the camera and write them to a Quicktime movie. You can do it with QTKit, but works better in 32bit Quicktime framework.

Related

Detect HDR mode on tvOS

I'm making an Apple TV app and need to play one of two video files based on whether the Apple TV is in HDR mode or not, but I can't find a way to detect HDR mode.
Does anyone know how to detect this? All I can find is UIScreen, and it only seems to provide the resolution and aspect ratio.
According to this answer from Apple staff it is recommended to have one playlist supporting HDR and SDR. AVFoundation can automatically select the most appropriate variant for the device, if you use UIScreen you will get the wrong answer because it is possible to turn HDR off from the tvOS settings and this will not be presented by checking the UIScreen.

Mac OS: get full control of web-camera (USB connected)

The task:
OS: Mac OS X 10.9 +
Description:
There is web-camera connected to a Mac via USB. I need to discover a way of getting access to its' brightness, pan, color temperature, focus, etc.
I also need a way to apply image filters against camera's video stream.
I need to be able to control the camera while it is being used by other programs like Skype, so I can transmit for example video stream with increased contrast at Skype video call.
Reference app: https://itunes.apple.com/app/webcam-settings/id533696630?mt=12
Solution:
This is the question.
As far as I understood I must to find custom kext (driver) in order to perform all this magic.
Could you please show me right direction, libraries, drivers, etc.
You can use opencv library to capture camera frames, apply filters, etc.
http://docs.opencv.org/2.4/doc/tutorials/introduction/display_image/display_image.html
Then you can feed a virtual cam that can feed into Skype, etc.
http://download.cnet.com/Virtual-Webcam/3000-2348_4-75754338.html
There also many open source virtual webcam available.
I hope this helps.

how to create a video for iPod touch app video ?

for ppt presentation i want to create video for ipod touch app.
is their any possibility to create video
from Xcode using simulator
or directly from device
or any other possibility
thank you very much
Please see: Is there a way I can capture my iPhone screen as a video?
This post describes many ways to capture video. It looks like there isn't a completely intuitive way to record the video, but this post lists some of the options others have used for their applications.

windows app live video

Whats the best and easiest way to play an incoming live video stream in a c++ windows application (visual studio 2010) and write some notes (eg. this is a blue ball) on the stream display? ActiveX? DirectX? Flash?
I have Windows SDK 7.1 installed. Do I need to install any other software?
Appreciate any pointers.
In simplest, you can do everything you ask with just directshow. There is directshow.net managed library that wraps it for you.
So - try to find an example that just gets video from capture device to the renderer. Then, insert SampleGrabber filter in between those, and modify frame data accordingly. I am using such technique to draw timestamp on the recorded video in my recorder, I am even drawing it with simple GDI+ calls.
Thing to consider: you'll have to watch out for PICTURE format - some webcams have YUY2 as default or ONLY format. You'll want RGB24 format to be able to wrap Bitmap then Graphics around it.

simple record and play application!

I am trying to make a simple application which will store the sound said by user , say on click of record button and will play it back to him/her , say on click of play button.
Can anyone suggest me some appropriate way to do this ??
Thanks,
Miraaj
You can use QuickTime Kit's capture APIs to record a movie of the audio, and QTMovie (from the same framework) to convert it to a more conventional format for audio files and to play back both the intermediate file and the converted file.
There used to be a QuickTime Kit Programming Guide, but it didn't cover capturing and is now gone from developer.apple.com. You should file a bug against the docs.
This answer will work in a Cocoa (Mac) app. If you meant to ask about the iPhone, you should re-tag your question, as the solution will be completely different for a Cocoa app vs. a Cocoa Touch (iPhone) app.
I used direct sound to create an entire internet phone application a few years ago. Your question is far simpler, you won't have to deal with the circular buffer as critically. Direct sound is pretty main stream and you can find a lot of help with it in forums, and it's free!

Resources