in some of my projects, i capture in virtualdub because some capture cards drop frames, and older/newer versions of vdub will help. anyway. i do a lot of encoding to xvid. at the moment, i have two pretty good xvid encoding settings, LQ and HQ, and more to come, depending on the matrix i fine tune. but the main problem is when i want to switch to either one, i have to reset each one accordingly, and its messy and time consuming between each encode, and i do lots of them. so, i managed to use ms powerpoint to save (screen shots) of both methods so i can get the settings correct each time. but what i would like to do now is just capture the same xvid settings and save each as a preset, maybe an (LQ.ini and HQ.ini) file via a utility that i will code in delphi, maybe add it to my matrix utility.
is this possible, saving/loading xvid settings?
thank you in advance.
+ Reply to Thread
Results 1 to 13 of 13
-
-
Xvid's settings are stored in the registry under \HKEY_CURRENT_USER\Software\GNU\XviD. You just export/import from/to the registry.
-
oh great! thank you. now all i have to do is figure out how to export/import through code.
-
-
command line parameters: /e exports and /s imports.
i have it working through code, to export and import. i need this method because i will have it in a floating toolbar on screen, probably down the bottom/right tray area. thank you for the quick help. -
i searched all afternoon but googles not helping me much.. is there an alternate method of encoding with xvid instead of virtualdub ? xvidencraw looks horible. i'm still reading on it, but it doesn't seem to be the exact same thing. i want to use the same xvid dll that is installed on my system, the one virtualdub uses. basically, i want to take the exact same params in the .reg files i created and pass that through xvid and encode, something like:
xvid -> hq.xvid.reg.txt -> g:\hq.xvid.avi
is this possible ? -
i only know the simple non- .net virtualdub. i suppose if i can figure out how to write my own save_compressioncodec_avi routine in delphi, i'll be set. i'm still researching that aspect for my other (bmp2avi) project. i can only save as raw avi atm. i'll keep searching. thanks again.
-
VirtualDub can save all of it's settings as a script, including (I'm pretty sure) the encoder settings. I've not used it much, or for a long time, but I think to save only the settings you need to setup Xvid with no video loaded, then use the "File/Save processor settings" menu to save the setup. The "File/Load processor settings" menu loads them again. I assume it'll also include a custom matrix, but I've not tried it myself.
There's also a "run script" option which I assume can automatically run an encode by opening a script, but I don't know how to save the whole encoding job or how the "run script" option differs from "load processor settings". They both seem to use the same scripts.
AutoGK uses "vcf" scripts to run VirtualDub and setup the Xvid encoder.... I'm pretty sure.
Please post back to let us know if you try saving the settings to a script and if it works. -
Please post back to let us know if you try saving the settings to a script and if it works.
thanks for your response. if you re-read my initial post, i believe it explains everything that i want to do. basically, to reduce the same repetitive steps down to one-button. and i am aware of vdub's scripting method, used it for years, but no longer satisfies me, hence the discussion about a custom stand alone utility. the method that jagabo mentioned is great for a one time use basically, but i will have many xvid settings. so basically the utility will work whether i'm in virtualdub or not. -
Well short of a better method, you could probably still use ViurtualDub to save and load Xvid's settings. It's not quite a "one button" method, but if you save the processor settings using VirtualDub and then load them again, it'd configure Xvid as a result.
When you load the processing settings in VirtualDub, the Xvid settings don't seem to take effect until you actually run an encode, but you could create a script which loads the processing settings and then runs a "dummy" encode for a second or two. I just gave it a quick test and it seems to work fine.
Possibly not ideal, but you could no doubt create a script which automatically opens and runs in VirtualDub when you double click on it, runs a short "dummy" encode and configures Xvid as a result. Then it'd just be a matter of closing VirtualDub and using Xvid with another program..... I assume. There's maybe a better way.... if so, hopefully someone will suggest it. -
Possibly not ideal, but you could no doubt create a script which automatically opens and runs in VirtualDub when you double click on it, runs a short "dummy" encode and configures Xvid as a result. Then it'd just be a matter of closing VirtualDub and using Xvid with another program..... I assume. There's maybe a better way.... if so, hopefully someone will suggest it.
Similar Threads
-
Settings Xvid codec in Virtualdub
By Docoptik in forum SubtitleReplies: 7Last Post: 6th Mar 2011, 14:15 -
How do I get best settings for XviD using VirtualDubMod?
By helloworld123 in forum DVD RippingReplies: 4Last Post: 17th Aug 2010, 19:14 -
Xvid Settings
By flash_49 in forum Video ConversionReplies: 5Last Post: 10th Nov 2009, 16:37 -
XVid codec settings question?
By 3thman in forum Video ConversionReplies: 5Last Post: 10th Oct 2009, 16:36 -
Xvid Codec settings (1.2.2)
By glenpinn in forum Video ConversionReplies: 2Last Post: 21st Jun 2009, 10:29