Questions tagged [isight]

iSight is a webcam, both external and internal, developed and marketed by Apple Inc. The external iSight was connected to a computer via a FireWire cable, and came with a set of mounts to place it atop any then-current Apple display, laptop computer, all-in-one desktop computer, or flat surface. Currently iSight camera are

The iSight is programmable via QTKit.

37 questions
13
votes
3 answers

record a video with isight using ffmpeg

So to record webcam video with ffmpeg on linux you may use something like... ffmpeg -f video4linux2 -s 640x480 -i /dev/video0 out.avi But on a mac this doesn't work, so i was wondering how do you record with the isight with ffmpeg on a mac? I've…
alex
  • 545
  • 2
  • 6
  • 18
11
votes
2 answers

How to capture frames from Apple iSight using Python and PyObjC?

I am trying to capture a single frame from the Apple iSight camera built into a Macbook Pro using Python (version 2.7 or 2.6) and the PyObjC (version 2.2). As a starting point, I used this old StackOverflow question. To verify that it makes…
mrmekon
  • 373
  • 2
  • 9
9
votes
0 answers

What would be the equivalent to /dev/video0 in OSX Snow Leopard on a MacBook Pro (integrated iSight Camera)

I'm trying to do a live video stream of the webcam with ffserver and ffmpeg. I've found some resources on the net (#1 and #2), which more or less do the same thing. I'm on a MacBook Pro running OS X 10.6.5. The webcam is an iSight integrated camera.…
honi
  • 161
  • 1
  • 9
7
votes
7 answers

Accessing iSight programmatically?

Is it possible to access the iSight camera on a macbook programmatically? By this I mean I would like to be able to just grab still frames from the iSight camera on command and then do something with them. If so, is it only accessible using…
Paul Wicks
  • 62,960
  • 55
  • 119
  • 146
7
votes
4 answers

Get webcam stream on Mac Os X in Java

I would like to get the webcam stream of my Macbook (the integrated iSight webcam). I use Java, and I don't know anything about Objective-C so I'm looking for a "full-java" solution. I found some class example, but they were made in 2005 and they…
Matthieu Napoli
  • 48,448
  • 45
  • 173
  • 261
6
votes
2 answers

OpenCV wont' capture from MacBook Pro iSight

Since a couple of days I can't open my iSight camera from inside an opencv application any more. cap = cv2.VideoCapture(0) returns, and cap.isOpened() returns true. However, cap.grab() just returns false. Any ideas? Example Code: import…
Alex Attinger
  • 63
  • 1
  • 1
  • 3
6
votes
1 answer

iSight Ambient Sensor

I realize there is not any public documentation about the use of the isight light sensor, however programs such as ShadowBook (shown here) are able to access the the brightness data and I was simply wondering if anyone has been able to achieve a…
Grant Wilkinson
  • 1,088
  • 1
  • 13
  • 38
5
votes
2 answers

How can I capture iSight frames with Python in Snow Leopard?

I have the following PyObjC script: from Foundation import NSObject import QTKit error = None capture_session = QTKit.QTCaptureSession.alloc().init() print 'capture_session', capture_session device =…
Martin Blech
  • 13,135
  • 6
  • 31
  • 35
4
votes
1 answer

how can I get information from every pixel from a CVImageBufferRef type?(OSX)

I'm trying to extract pixel data from individual frames of a QT Movie. I think I need to use CV, because QTKit and NSImage would be too slow... I need to compare each pixel of the image in the buffer (CVImageBufferRef) containing the current frame…
4
votes
2 answers

iOS: Can you record without displaying video?

Simple question but the keywords involved made Googling fruitless. I'm just curious if the back camera on an iOS device can be recording/streaming video while the display is used for something other than a viewfinder.
Dan
  • 4,197
  • 6
  • 34
  • 52
3
votes
4 answers

Exposure Lock in iSight

I am creating object-detection program on Mac. I want to use iSight in manual exposure mode to improve detection quality. I tried iGlasses & QTKit Capture to do that and it worked but program runs very slowly and unstable. So I want to try other…
fish potato
  • 5,319
  • 6
  • 27
  • 32
2
votes
0 answers

Trouble with the ffmpeg -ss flag when capturing one frame from a Macbook iSight webcam

For about five years I've used ffmpeg in a shell script to grab one frame from my linux'd-up Macbook's iSight: ffmpeg -f video4linux2 -s 640x480 -r 15 -i /dev/video0 -an -vframes 1 -vcodec mjpeg -y -sameq -ss 1.5 snapshot.jpg I just upgraded my…
Andy
  • 21
  • 2
2
votes
1 answer

CoreMediaIO, incorrectly updated properties kCMIODevicePropertyDeviceIsRunningSomewhere

I need to receive an event when some process starts using the camera. I did this through CMIOObjectGetPropertyData. But it does not work correctly, the correct value is only the first time it is accessed. I also tried to use the…
Bezpaliy
  • 21
  • 2
2
votes
1 answer

Saving data with dataWithPDFInsideRect: just makes a black pdf

I have a QTCaptureView and Im trying to save the view as a picture. So far I have this: NSRect rect = [outputView bounds]; NSData *viewData = [outputView dataWithPDFInsideRect:rect]; [viewData writeToFile:@"/test.pdf" atomically:YES]; but for…
nosedive25
  • 2,477
  • 5
  • 30
  • 45
2
votes
1 answer

video4linux2 command for mac osx with isight

So I was just wondering is there anything like this on a mac with the isight, where you can record video using the isight via the command line? Thanks in advance!
alex
  • 545
  • 2
  • 6
  • 18
1
2 3