Hello Jacek,

Tuesday, June 19, 2001, 3:59:12 AM, you wrote:

JP> In video converting tools that method is used to set bitrate of divx files, in
JP> current CVS there is no that method, what should be used instead...?

#include <creators.h>
using namespace Creators;
...

    const CodecInfo* ci=CodecInfo::match(fccDIV3, CodecInfo::Video,
    0);
      if(ci && (ci->direction & CodecInfo::Encode))
            SetCodecAttr(*ci, "BitRate", 910);

or
  IVideoEncoder* pEnc;
  // create the encoder somehow
  SetCodecAttr(pEnc->GetCodecInfo(), "BitRate", 910);
  pEnc->Start();

-- 
Best regards,
 Eugene
mailto:[EMAIL PROTECTED] or [EMAIL PROTECTED]
[Team GADGET]  [Team Two Divided By Zero]



_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to