> #include <creators.h>
>
> const CodecInfo* ci=0;
> while(1)
> {
> ci=CodecInfo::match(fccDIVX, CodecInfo::Video, ci);
> if(!ci)
> break;
> /* here you make sure if this is the right codec by e.g.
> checking ci->GetName() */
> /* here you try to start encoding with this codec. This step
> is needed because CodecInfo::match will return something if
> e.g. Windows DLL for this codec is missing or defective */
> }
> Creators::SetCodecAttr(*ci, "BitRate", 780000); // bits/second
> IVideoEncoder* pEnc=Creators::CreateVideoEncoder(fccDIVX, m_bh, ci->GetName());
and how can I set the linux codec with the IAviWriteFile::AddVideoStream
method?
rgds,
Rainer
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile