<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2149" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello ,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am trying to use ON2's VP3 codec in a VC++ 
DirectX application. I get amazing clarity in the recorded video but 
simultaneous preview is very jerky. I am not sure how to change the codec 
properties in VC++ but theses are the changes i applied to the videoinfo 
header</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>
<P>VIDEOINFOHEADER *pvi1 = (VIDEOINFOHEADER *)pmt1-&gt;pbFormat;</P>
<P>pvi1-&gt;AvgTimePerFrame = (LONGLONG)(10000000 / 30);</P>
<P>pmt1-&gt;majortype = MEDIATYPE_Video; </P>
<P>pvi1-&gt;bmiHeader.biBitCount=24;</P>
<P>pvi1-&gt;bmiHeader.biWidth=width; </P>
<P>pvi1-&gt;bmiHeader.biHeight=height; </P>
<P>pvi1-&gt;dwBitRate = 40;</P>
<P>hr = pSC-&gt;SetFormat(pmt1);</P>
<P><FONT face=Arial></FONT>&nbsp;</P>
<P><FONT face=Arial>However i realised that changing the framerate from 30 to 15 
didnt help any as the video still recorded @ 30fps. </FONT></P>
<P><FONT face=Arial>Any help regarding how to overcome the jerky preview will be 
greatly appreciated</FONT></P></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,<BR>Rahul<BR></FONT></DIV></BODY></HTML>