Firstly, no, you can't add a custom video codec to the Apple-supplied export component. It is hardcoded to only accept those few video formats. You'll need to make your own custom AVI export component. This has been done before, for instance, both the DivX ( http://www.divx.com/ ) and XviD ( http://n.ethz.ch/student/naegelic/ ) QuickTime components have their own custom AVI exporter just for this reason.
Secondly, you might be better off without Huffyuv. Our good friends at BitJazz have spent a long time working their own lossless codec, SheerVideo ( http://www.bitjazz.com/sheervideo/ ). Compared to Huffyuv, it's faster, already cross-platform and cross-container (works in MOV and beta testing in AVI), and supports a lot more color formats; Huffyuv only support RGB and YUV 4:2:2. It costs a little money, but frankly it's money well spent, especially compared to writing the 3 components you'd need for QuickTime support of Huffyuv (Movie Exporter, Image Decoder, Image Encoder).
Some BitJazz people seem to frequent the list, I'm sure they could give you even more reasons to use their stuff. :)
-Henry
On Thursday, December 22, 2005, at 11:21AM, Michael Rich <email@hidden> wrote:
>Hi All,
>
>I'm new to Quicktime programming, but I need to add a new selection to
>the Export to AVI selection you see if you select AVI as the Quicktime
>export type. Currently it lists Cinepak, BMP and some DV formats, is it
>possible to add a custom selection to that list?
>
>What I want to do is port over the Huffyuv lossless codec from Windows
>and have it as a possible selection since it would allow me to export my
>HD footage straight to AVI from my FCP sequence.
>
>You can find the information on the existing Windows AVI codec here:
>http://neuron2.net/www.math.berkeley.edu/benrg/huffyuv.html
>
>Are there any Quicktime examples of writing custom AVI export
>components? If so then I would really appreciate any links to them you
>may have.
>
>Thanks,
>Mike
> _______________________________________________
>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
>
>This email sent to email@hidden
>
>
_______________________________________________
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
This email sent to email@hidden