Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rendering compositions to QuickTime movie



Hi everyone,

I am currently working on a small utility that renders some compositions using an Objective-C application. This application runs fine with a user interface and using a standart graphical session, however running it when no sessions are opened is impossible unless running it as root. My code is based on QuartzComposer_WWDC_QCTV and QuartzComposerOffline and has to run as user nobody without a session opened. The foolowing errors appear when launching as root:

2006-02-15 16:52:13.151 XgridAddVideoIntroduction[26624] invalid pixel format attribute
2006-02-15 16:52:13.151 XgridAddVideoIntroduction[26624] invalid pixel format
2006-02-15 16:52:13.152 XgridAddVideoIntroduction[26624] invalid context
2006-02-15 16:52:13.176 XgridAddVideoIntroduction[26624] Failed init framereader
2006-02-15 16:52:13.177 XgridAddVideoIntroduction[26624] *** Uncaught exception: <NSGenericException> -[QCRenderer initWithOpenGLContext:pixelFormat:file:]: Argument "context" cannot be null
Trace/BPT trap


Pixel attributes used are : {NSOpenGLPFAAccelerated, NSOpenGLPFANoRecovery, NSOpenGLPFADoubleBuffer, NSOpenGLPFADepthSize, 24, 0}
Does anybody have a solution ? Is this even possible ?



Thanks a lot.

--
Augustin Prats

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.