On May 24, 2006, at 12:26 AM, Thuan Seah, Tan wrote:
Hi all,
I am new to quicktime api and programming on the Mac,
and after getting advice from the mailing list (Big thanks to
Klaus!!! J for his advice), I decided to use Cocoa together with
Objective C for my task. My task is to capture different views of a
viewer using two iSight. I looked through the references and
mailing list, seems like a lot of people would recommend looking at
WhackedTV and SGDataProc as a base to building such application
upon. I tried running WhackedTV with 2 iSight and recording the
movie produces a single movie file with a picture in picture effect
(i.e. camera 1 view is embedded at the top left corner of the movie
file for camera 2).
I would like the program to produce two separate file instead. Is
it at all possible to do it with 1 sequence grabber or must I have
2 sequence grabbers to output to two different files? Hope someone
can give some advice on this.
You can use 1 sequence grabber + SGDataProc and do the writing
yourself (writing the video to two separate qt movies), but this is
hard. I would recommend using 2 sequence grabbers.
BTW - some developers reported crashes/unexpected behavior using
SGAudioChannel with multiple Sequence Grabber instances in QT 7.0 -
QT 7.0.4. These bugs were fixed in QT 7.1. You can now use
SGAudioChannel in multiple sequence grabbers without problems.
Also, it seems to me the different between the WhackedTV and
SGDataProc example is that WhackedTV has some sort of wrapper
around the Quicktime API whereas SGDataProc seems to be directly
using them. Is my understanding correct?
Yes, exactly.
If so, is there any advantage of doing it the way WhackedTV does it
if all I want is the video? I just want something simple that works.
Cocoa programmers seem to like working with Obj-C classes. The
Sequence Grabber Obj-C wrapper classes in WhackedTV do provide some
convenience, but you could certainly just use the C API directly to
accomplish what you want to do.
-Brad Ford
QuickTime Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden