- 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
This commit is contained in:
parent
c9adfd020b
commit
e85d191b46
3100 changed files with 775434 additions and 3073 deletions
29
Gem/plugins/videoQTKit/README.txt
Normal file
29
Gem/plugins/videoQTKit/README.txt
Normal file
|
@ -0,0 +1,29 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue