VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    a rather strange question, but.. does anyone know if there is a way to configure virtualdub to load with a different default codec ? here's the scenario.. when i first load vdub, if i want to save video in xvid format, i have to go to the \video\compression and select xvid, otherwise the default codec/compressor is NONE or (Uncompressed RGB/YUY2) thanks for any leads.
    Quote Quote  
  2. Lone soldier Cauptain's Avatar
    Join Date
    Jan 2006
    Location
    Brazil
    Search Comp PM
    Easy. Select Xvid and config if you want. Same to audio too.

    Go to FILE, SAVE PROCESSING SETTINGS. Select a name and save.

    Close VD. In next time, for any video only use CTRL+L, load the VCF file and voia la.

    Only method I know.
    Last edited by Cauptain; 27th Oct 2011 at 04:40.
    Quote Quote  
  3. Create a custom shortcut to VirtualDub.exe and add to command line:
    Code:
    /cmd VirtualDub.video.SetCompression(0x64697678,0,10000,0)
    Where 0x64697678 it's just a fccHandler for Xvid.

    ---

    Or set what You want in VirtualDub, save processing settings (to .vcf file) and add to command line (in shortcut):
    Code:
    /s"namefile.vcf"
    Of course if .vcf file is in a different location than VirtualDub directory, need to add path:
    Code:
    /s"d:\folder\namefile.vcf"
    Codec settings are also saved, but it can be removed from file (just edit in notepad and remove VirtualDub.video.SetCompData section).
    VideoAudio.pl - Serwis o technologii wideo & audio
    Quote Quote  
  4. Lone soldier Cauptain's Avatar
    Join Date
    Jan 2006
    Location
    Brazil
    Search Comp PM
    Originally Posted by Placio74 View Post
    Virtualdub tips
    Thank you Placio74 for hints.

    Only worked well on my windows 7 with 2 commas like this
    : "C:\Program Files (x86)\Virtualdub\VirtualDub.exe" /cmd "VirtualDub.video.SetCompression(0x32796c75,0,1000 0,0)"


    Claudio
    Last edited by Cauptain; 27th Oct 2011 at 05:17.
    Quote Quote  
  5. BTW
    If someone uses context menu (Open With) to open video files in VirtualDub, it's also possible to modify shell/open/command in registry.

    Key:
    Code:
    HKEY_CLASSES_ROOT\Applications\VirtualDub.exe\shell\open\command
    and string value, for example:
    Code:
    "d:\Tools\VirtualDub\VirtualDub.exe" /cmd "VirtualDub.video.SetCompression(0x64697678,0,0,0)" "%1"
    or
    Code:
    "d:\Tools\VirtualDub\VirtualDub.exe" /s"d:\Tools\VirtualDub\custom.vcf" "%1"

    .vcf file may contain selected functions. For example, content can be just as below:
    Code:
    VirtualDub.video.SetMode(0);
    VirtualDub.video.SetCompression(0x64697678,0,0,0);
    VideoAudio.pl - Serwis o technologii wideo & audio
    Quote Quote  
  6. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    Originally Posted by Placio74 View Post
    Create a custom shortcut to VirtualDub.exe and add to command line:
    Code:
    /cmd VirtualDub.video.SetCompression(0x64697678,0,10000,0)
    Where 0x64697678 it's just a fccHandler for Xvid.

    ---

    Or set what You want in VirtualDub, save processing settings (to .vcf file) and add to command line (in shortcut):
    Code:
    /s"namefile.vcf"
    Of course if .vcf file is in a different location than VirtualDub directory, need to add path:
    Code:
    /s"d:\folder\namefile.vcf"
    Codec settings are also saved, but it can be removed from file (just edit in notepad and remove VirtualDub.video.SetCompData section).
    hi placio74

    i don't have that ability in xp home.

    when i right click my shortcut icon, and select properties, those commands don't work. i get an error message.
    Quote Quote  
  7. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    never mind!! its working. i had to paste those codes in the Target: [ . . . . . . ] box...thanks you for that time saving tip.

    am now that much closer to accomplishing my project goals...which is testing a bunch of matrice encodes in vdub w/xvid codec.
    Quote Quote  
  8. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    hi placio74, thanks for all the tips.

    here's what i'm trying to do:

    1. working on some xvid matrice in a tool i developed
    2. when i chose a matrice i want to test an encode with
    3. from my tool, load virtualdub
    4. what i want to do is have virtualdub load with a specific avs script
    5. but with the matrice i choose from my tool
    6. so every time i chose a matrice, and load virtualdub, it should open via the script using the matrice i selected from my tool.

    7. the problem with the above scenario is this. if you load virtualdub with the .vcf filename, it will load the the last vdub settings, plus the last xvid matrice used, and over-riding my choosen matrice...is probably doing this through the registry most likely

    8. so i found a way around this problem. i added another feature in my tool to read/write the matrice(s) directrly from the registry. but, for this purpose,and for this to work properly,
    8a. i would have to close down vdub completely
    8b. choose the matrice i want xvid to use in the endcode from inside vdub (via my tool)
    8c. write the matrice directly into the registry (via my tool)
    8d. load vdub, open the avs script, go to \video\compression and select xvid codec
    8e. finally, start the xvid encode inside vdub

    /cmd VirtualDub.video.SetCompression(0x64697678,0,10000 ,0)
    now, this method works perfectly, almost. that is. vdub first has to be completely close down. then, with your modified schort-cut (above) i load vdub by itself, but not with any scripts. then, i drag-drop a script into vdub. that's the only way i can get it to work with my choosen matrice.

    but i would much rather be able to call vdub from my tool with the choosen matrice and begin the xvid encoding in one step if at all possible. then, i can enhance the tool to attach an output.avi filename, altimately batch these test encodes.

    if all else fails, i can live with
    9a. choosing my matrice from the tool
    9b. just drag-drop the avs script into the modified vdub short-cut
    9c. F7 + filename to begin the xvid encoding

    thank you for any further tips you can supply me in this endeavor.
    Quote Quote  
  9. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    ok, i got it...figured it out. yeah.

    if you want to load virtualdub with a specific avs script and specific codec (ie, xvid in this case)
    we can use the following:

    D:\VirtualDub.exe "c:\tvshows24fps.avs" /cmd VirtualDub.video.SetCompression(0x64697678,0,10000 ,0)
    Quote Quote  
  10. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    bumping an old thread here...

    Q: is there a way to open an (huffy) avi in vdub at a specific frame number ? ... [ RESOLVED ]

    use:
    VirtualDub.subset.Clear();
    VirtualDub.subset.AddRange(x,y); where x,y is your range values


    history-- i am working on a twitter app to help me keep track of my captures of the london olympic games off of directv. at the moment, the app keeps track of: Frame; Time; and Filesize; so that i can get an idea of where i am in the avi file. these are twitters in real time as i capture inside vdub. i set a global-wide hotkey, { F8 } to snip the info into a grid control while watching the games and make my twitter or comment about the scenes. its becoming a challenge twittering accurately.

    but the next thing i want to do (inside the app) is drag the row into vdub's window to quickly review it to make revision to the twitter properties, frame/time/filesize and twitter topics.

    thank you.
    Last edited by vhelp; 6th Aug 2012 at 18:49.
    Quote Quote  



Similar Threads

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