VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    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.
    Quote Quote  
  2. Xvid's settings are stored in the registry under \HKEY_CURRENT_USER\Software\GNU\XviD. You just export/import from/to the registry.
    Quote Quote  
  3. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    oh great! thank you. now all i have to do is figure out how to export/import through code.
    Quote Quote  
  4. Use RegEdit. Right click on XviD in the left pane and select Export. That will create a .REG file. Double click on the .REG file to import it.

    Click image for larger version

Name:	reg.png
Views:	487
Size:	38.5 KB
ID:	17124
    Quote Quote  
  5. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    on my rig, it opens in notepad.
    Quote Quote  
  6. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    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.
    Quote Quote  
  7. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    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 ?
    Quote Quote  
  8. Any editor that supports VFW should work with Xvid.
    Quote Quote  
  9. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    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.
    Quote Quote  
  10. 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.
    Quote Quote  
  11. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    Please post back to let us know if you try saving the settings to a script and if it works.
    yes

    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.
    Quote Quote  
  12. 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.
    Quote Quote  
  13. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    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.
    yes, those are the methods i was using..the scripting (vcf) and the other method (by creating an shortcut icon and modify the load properties, etc) but they have out-lived their purpose with me. i'm very fussy about tedious things. so i have something nearly complete. when i'm done i'll post a screenshot of it so you get an idea of what i was trying to accomplish.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!