Hello monkeyiq,
Sunday, August 26, 2001, 10:53:33 AM, you wrote:
m> Hi,
m> I noticed that in the vector of video_codecs I have installed
m> many codecs that can handle the same fourcc.
m> How can I force avifile to use a particular version of codec
m> when resolving a fourcc?
m> I am using code like the following:
m> OutputCodecID = fccDIV5;
m> IVideoFrameRate = 24;
m> IAviWriteFile* OutputStream;
m> IAviVideoWriteStream* OutputVStream;
m> ...
m> OutputVStream = OutputStream->AddVideoStream(
m> OutputCodecID, &OutputBitmapInfo,
m> (int) (1000000 / IVideoFrameRate));
m> And cant seem to find a AddVideoStream() style function that allows
m> me to give the CodecInfo object instead of a fourcc.
m> Any ideas?
I think it is not possible to do programmatically. ATM you can only
create video stream using default codec for this fourcc. In almost all
cases it's not causing any problems: many fourccs are shared by
different codecs for _decoding_, but usually there's only one codec
that's able to _encode_ into that fourcc.
--
Best regards,
Eugene mailto:[EMAIL PROTECTED]
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile