VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. So I'm trying to write a simple Sylia script to compress avi files with VirtualDub. It gets stuck on the line

    VirtualDub.audio.SetCompression(0x0055,2,0,8000,1) ;

    It gives an error message saying "Overloaded method SetCompression(int, int, int, int, int) not found". I'm not sure why this is, but my guess is that I need to provide the other two arguments, cbData and data (as described here). Problem is, I'm not sure what those are supposed to be. The page at the link says:

    These fields are present when using an audio compressor with
    private data, opaque to VirtualDub:

    cbData: Size of data in bytes
    data: MIME BASE64 encoded data string

    Usually, you will want to derive these fields by querying the compressor
    or looking at job scripts VirtualDub saves, because audio compressors
    tend to only accept specific values. Some, but not all, of the private
    data formats are documented in MMREG.H in the Win32 Platform SDK.
    And I'm not sure precisely what that means. Can somebody please help me interpret it?
    Quote Quote  
  2. Why don't you just configure the compression you want from the GUI, save the processing settings, then look at the resulting script. Copy the compression settings from that script.
    Quote Quote  
  3. Because I wasn't aware I could do that. But I will try it. Thank you for the suggestion, it sounds like it will work.
    Quote Quote  



Similar Threads

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