Hi all. I'm a newbie Mac programmer, but an experienced PC programmer
and am after some advice or thoughts on how to tackle a small project
I'm doing. Been reading lots of docs, samples, and ordered a couple
of books but haven't got a totally clear grasp yet on the best path
to go down.
I'm looking at writing a small application that can capture from
Firewire devices. Here are some requirements:
It will need to both record that footage to disk, as well as display
it for preview.
It will need to support both DV (NTSC and PAL) and the new HDV
formats, and if I feel keen DVCPROHD.
It will need access to the frames as I want to check the footage for
various quality checks.
My assumptions:
- Looking at the Quicktime API, it seems that unless the user has an
MPG codec installed, I can only use Quicktime to capture and preview
DV correct? If this is the case, is there a way to get access to the
data from the firewire stream, and decode it myself, but still use
the QT decompression for the DV stuff? I can't see anything in
Quicktime that gets me access to a frame's raw data before
decompression.
- In the examples I've seen, it's not as easy to decode a frame to a
PAL (4:2:0) codec format as the pixelFormat requirement of
QTNewGWorld won't accept planar formats and 4:2:0 is considered planar.
Questions:
- If I convert to RGB, I'm losing colour space information from YUV,
so I need to access the data directly in (DV's case) 4:1:1 or 4:2:0
(PAL) correct?
- Is Sequence Grabber the way to go for everything?
- Using Sequence Grabber, will that assure me there is no re-
compression when written to disk? Does the data come in from the bus,
and straight out to file?
- Is AVCServices (In the FirewireSDK) better? With that I can get the
raw stream data, and decompress myself, but I'll have to intimately
know the RTP structure of DV and MPG.
Sorry for the big post, too much info to absorb. I have a headache.
Cheers
Aaron
_______________________________________________
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