How to determine if a compressor can output a certain format with a given
width x height ?
Currently, I use a call to ICCompressQuery() with some input / output
BITMAPINFO.
I specify some width and height both for input and output but it always
return Ok... meaning that the compressor would support this video generation
- and obviously it is not possible because later, the call
AVIStreamWrite(...) will fail when the width and height are too large for a
compressor.
Here is the source code on which I am playing with ICCompressQuery(...)
http://pierloic.free.fr/compress/width_height.html
The only way I see - so far - is to try to write a dummy AVI file with the
requested width and height and see if it works.
I would expect ICCompressQuery(...) or one of his friends to say it the
width x height is supported by a compressor.
But may be it is just not possible...
Any help welcome !
Thanks