View Full Version : DivX Profile Settings: Where are they stored?
Zach
5th August 2008, 02:30
When one makes a modification to a profile (720 HD for example) when configuring it under VirtualDub, where do the new settings get stored? In some ini file (hopefully) or in the registry?
Changes made are persistent, so I know they get stored somewhere.
Zach
6th August 2008, 01:13
I've noticed over the past three years that rarely do my questions ever get answered here on this forum. Am I being shunned, and if so, what exactly did I do to offend everyone? Just curious.
Sharktooth
6th August 2008, 01:23
uhm, i would answer if only i knew where the settings are stored... wait some more time but from a rapid search on google i think (but im not sure) the settings are stored in the registry.
jeffy
6th August 2008, 01:37
@Zach: some questions are tough and it shouldn't harm to bump such a thread once a half year...
Isn't it this registry branch and its subbranches?
HKEY_CURRENT_USER\Software\DivXNetworks\DivX4Windows
Wolfman
6th August 2008, 21:48
Only three years? I had to wait Five years to get my first question answered. pah! Newbie
DigitAl56K
14th August 2008, 01:40
When one makes a modification to a profile (720 HD for example) when configuring it under VirtualDub, where do the new settings get stored? In some ini file (hopefully) or in the registry?
Changes made are persistent, so I know they get stored somewhere.
There are a few things that happen. The encoder itself will store its settings under:
HKEY_CURRENT_USER\Software\DivXNetworks\DivX4Windows\State
The "default" key gives you the build tag of the currently installed encoder. All but the first couple of versions in the 6.x series will write this value, and by querying the string value with the same name you will see the last set encoder CLI.
You should be able to cause the encoder to write the default value without triggering other actions using ICGetInfo() (http://msdn.microsoft.com/en-us/library/ms708897(VS.85).aspx). This is all well and good so long as your app simply makes use of ICCompress() (http://msdn.microsoft.com/en-us/library/ms708672(VS.85).aspx). VirtualDub, on the other hand, when processing jobs and other tasks will also make use of the messages ICM_GETSTATE (http://msdn.microsoft.com/en-us/library/ms709087(VS.85).aspx)/ICM_SET_STATE (http://msdn.microsoft.com/en-us/library/ms709093(VS.85).aspx) to request the configuration state from the encoder, store it (e.g. in memory or a Sylia script/jobs file), and later push it back to the encoder to restore the configuration state later. VirtualDub doesn't understand the configuration state information, it just stores and restores it as necessary. The user is asked to configure the codec when the application calls ICConfigure() (http://msdn.microsoft.com/en-us/library/ms708683(VS.85).aspx), and the codec creates the state information that is passed to VirtualDub in response to the ICM_GETSTATE message based on this.
I've noticed over the past three years that rarely do my questions ever get answered here on this forum. Am I being shunned, and if so, what exactly did I do to offend everyone? Just curious.
You forgot to do the secret handshake! SSL/TLS will suffice in future..
Zach
16th August 2008, 02:23
There are a few things that happen. The encoder itself will store its settings under:
HKEY_CURRENT_USER\Software\DivXNetworks\DivX4Windows\State
Thanks for the info, but that saddens me. :(
I edited my original post to a one line question since I figured maybe it was the A.D.D. that most internet users suffer from that kept it from being read and getting any replies--and it worked! (Thanks, Sharktooth! :p)
The whole story is that for over a year now, I've been encoding my stuff using the default HD720 profile with the only change being that I set the keyframes to every 30 frames as opposed to every 300 frames. (At 300 frames, forward/reverse seeking is useless on all DivX players I have tried it on--I've owned three of them.)
Well, this was under WinXP, but when I switched back to Vista a few weeks ago, the same profile with the same changes on the same test video clip increased the resultant file size from 190 MB to a whooping 527 MB!!!
My obvious first conclusion is that I must have changed more than just the keyframe value and just forgot, and as I have a Ghost Image of my XP system made prior to my switch to Vista, I was just hoping I could just mount that image and find the settings. I guess not. :(
But again, thanks for the response! :thanks:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.