guncam_man
9th April 2007, 15:19
Can I change XviD's encoder config from inside a program I wrote?
I'm using the AVIFile api that comes with Visual Studios to create an avi file, and I'm using XviD for the codec. As it stands, I run into problems if the encoder config isn't set right. I would like to set it to the default values, and then change the 'target quantizer' value for quality settings.
Or can I change the options with the AVIFile interface? I messed around a little bit with no success. For example, it seems to ignore the dwQuality variable of my AVICOMPRESSOPTIONS structure.
I'm using the AVIFile api that comes with Visual Studios to create an avi file, and I'm using XviD for the codec. As it stands, I run into problems if the encoder config isn't set right. I would like to set it to the default values, and then change the 'target quantizer' value for quality settings.
Or can I change the options with the AVIFile interface? I messed around a little bit with no success. For example, it seems to ignore the dwQuality variable of my AVICOMPRESSOPTIONS structure.