View Full Version : DIVX settings - from Code
nkarnold
16th December 2005, 11:41
Hi all,
Anyone any idea on how to from (vb.net, vb, vc), to get at the Divx compressor settings screen (the one, where you can choose your profile, settings etc).
Thanks
N
DaveEL
21st December 2005, 12:20
You will need to use the VCM API
the call (well macro) which makes this happen is http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_icconfigure.asp
you will however need to get a handle to the divx compressor first. take a look at the avs2avi source code for how to get the handle via the DIVX fourcc code.
DaveEL
bobmaster
21st December 2005, 19:30
Hi,
I made divx settings thing ages ago, i should have posed the code before anyhoo here it is now. (VB.NET)
My method used the registry to change the settings. I used Divx5.(point.something). I donno how its changed in Divx6, but i assume its simmilar.
See attached file (to long to post)
DivxSettings.vb
and some example code for testing:
Dim MySettings As New DIVXSettings
'set the bitrate value - in the reg
MySettings.Bitrate = 40000 '
'get the bitrate value - in the reg
MsgBox(MySettings.Bitrate)
I'm sure there is better / nicer code. Like i said i did it a wile ago and wansn't trying very hard.
Good Luck
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.