Hi,
I would like to suggest another patch to enable bitrate control for
VP3.2 encoding. It simply enables the second registry key strSettings
(besides the strPostProcessingLevel key), which is used for encoding
parameter and bitrate control. Please find it enclosed in the
attachment.
Best wishes,
Yue Shi Lai
diff -Naur avifile-0.6/plugins/libwin32/libwin32.cpp
avifile-0.6-vp31/plugins/libwin32/libwin32.cpp
--- avifile-0.6/plugins/libwin32/libwin32.cpp Mon Feb 11 12:11:52 2002
+++ avifile-0.6-vp31/plugins/libwin32/libwin32.cpp Wed Feb 13 19:56:44 2002
@@ -283,7 +283,8 @@
break;
case fccVP30:
case fccVP31:
- if (strcmp(attribute, "strPostProcessingLevel") == 0)
+ if (strcmp(attribute, "strPostProcessingLevel")
+ || strcmp(attribute, "strSettings") == 0)
return GetRegValue(vp31name, attribute, 0, &value, 0);
break;
case fccMJPG:
@@ -362,7 +363,8 @@
break;
case fccVP30:
case fccVP31:
- if (strcmp(attribute, "strPostProcessingLevel") == 0)
+ if (strcmp(attribute, "strPostProcessingLevel")
+ || strcmp(attribute, "strSettings") == 0)
return SetRegValue(vp31name, attribute, value, 0);
break;
case fccMJPG: