lms-video/Gem/plugins/videoQTKit/README.txt
Santi Noreña e85d191b46 - Reestructuración de ficheros y directorios general
- merge v0.01 --> Añadido fileselector
- Añadidas fuentes de Gem y Pure Data
- pix2jpg incluído en Gem. Archivos de construcción de Gem modificados.
- Añadido fichero ompiling.txt con instrucciones de compilación
2013-02-04 18:00:17 +01:00

29 lines
836 B
Text

video-plugin with a QTKit backend
=================================
input (from cam)
QTCaptureDevice
output (to pix)
QTCaptureVideoPreviewOutput
QTCaptureDecompressedVideoOutput
see also:
getPosterFrame getFrameImageAtTime
from TechNote2138: Listing 1 How to get a CGImage for a movie frame at a given time.
<snip>
NSDictionary *dict = [NSDictionary
dictionaryWithObject:QTMovieFrameImageTypeCGImageRef
forKey:QTMovieFrameImageType];
QTTime time = [movie currentTime];
CGImageRef theImage = (CGImageRef)[movie frameImageAtTime:time
withAttributes:dict error:NULL];
</snip>
example-code using QTKit for reading images:
https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/quicktime/apple/qtkit_import.m