Hi.
Here is a (potential) replacement video player plugin for QC, similar
to async mode with the current movie player, but with some more
controls. This was a first attempt, right now, this works within the
main drawing thread, but in theory it should be pretty easy to add a
display link /other timer to call the getCurrentFrame function from
another thread. In fact, its set up to do it, but performance is
pretty decent as is.
Here is the project with an example QTZ, set up to show how it works.
Project is included.
http://abstrakt.vade.info/ILOVETHEQCLIST/v002%20MoviePlayer.zip
On Sep 24, 2008, at 6:16 AM, Memo Akten wrote:
I think this came across as a joke (maybe the wink wink bit was a
joke).
But I am genuinely wondering, (before I decide to embark on such a
journey), if it is technically possible to write a QCPlugIn that
uses QTKit to play and load a seekable and controllable movie with
sound. It sounds like it should be doable, but then I don't know
QTKit, so there maybe some issues with timing, controlling movies
etc that I'm unaware of...
On 16 Sep 2008, at 16:48, Memo Akten wrote:
This is something that has been plaguing me (and I'm sure lots of
other people too) so I'm quite interested in the answer.
I don't know anything about Core Video or QTKit ... but are you
saying that potentially someone could write their own Quicktime
Player plugin which supports easy to use playback control, seeking
etc. and even sound / volume etc.? (wink wink ;)
On 16 Sep 2008, at 16:41, vade wrote:
Your best bet is to use core video to drive your QT movie and use
QTKit/Cocoa and pass your textures into the Quartz Patch by using
published ports.
It sounds hard, but look at the Core Video/Quartz Composer example
apps in /Developer/Example.
This gives you lots of advantages, and you have full control over
the movie playback rates, just like Quicktime Player, but can then
use any Quartz Composer patch to display/effect/alter the video.
I recall that the file that helped me most was MovieSource.h from
the Performer project in Quartz Composer/Applications/ examples.
Id suggest sticking with the 10.4 method, as QTkits
currentFrameImage did not seem to perform quite the same as using
the more verbose QTVisualContextCopyImageForTime method. Either
way, the code is right there, and is usable now, rather than
waiting for an updated plugin.
On Sep 16, 2008, at 11:26 AM, chris wrote:
Hi,
We are using QC to drive a QuickTime movie. We need to control
the movie in different ways: play it at nominal rate but also
play it slower or faster, possibly in reverse and locate at any
frame in the movie. Controlling the moving externally by
accessing the frame number is a way to do that, but we have
jitter problems.
We read a thread about related issues in july 2207 on QC mailing
list and it seems the better way is to setup the QuickTime movie
in "asynchronous" mode and have QuickTime handle the time base.
Unfortunately we cannot have finer control anymore as desired
(frame rate and location). Since QuickTimePlayer give this kind
of control, we guess the QuickTime API allows that.
Will is be possible to access the frame rate and location in
future versions of the QuickTime movie object included in in QC?
regards
ChrisL
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/doktorp%40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/memo%40memo.tv
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/memo%40memo.tv
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]