[XviD-devel] Access violation in AviStreamWrite using Xvid with width>720

Dark Sylinc dark_sylinc at yahoo.com.ar
Thu Feb 28 00:00:41 CET 2008


--- Renate Schaaf <rme-schaaf at web.de> escribió:

> In article
> <346326.18136.qm at web56310.mail.re3.yahoo.com>, Dark
> Sylinc 
> wrote:
> > I have no experience with avifil32.dll, although
> I've had problems
> > in the past regarding resolutions.
> > I suggest you to first try nice ones (by
> nice=power of two) like
> > 1024x1024.
> > Strange resolutions (specially odd numbered ones)
> may crash XviD. I
> > didn't care that time because video codecs aren't
> supposed to
> > support such weird movie resolutions. }
> > Let us know how a 1024x1024 goes.
> >
> 
> You have got a point with the powers of 2, but it
> also depends on the 
> bitrate. I've left the default encoding options, and
> only changed the 
> bitrate, I've used 25fps throughout:

mmmm... If I recall correctly AVIStreamXX from MS
doesn't work too good with XviD's VFW (not propperly
registered, nobody knows how to do it right, MS
doesn't say)

Also check your bitmaps are propperly aligned.
Check that you're using the latest CVS snapshot rather
the latest stable release.

I can't say much more to you, but if VirtualDub is
working for you, then you must be wrongly using XviD
within your code (by debugging... where does it
crash??), poorly managing the bmps, or MS' AVIStreamXX
may not be the ideal solution.
What is the bpp of the inputted images? Colorspace?

Why don't you try the AVI input/output sample from
xvid_encraw and see if it crashes, I believe it uses
the same interface.

Cheers Dark Sylinc


      Tarjeta de crédito Yahoo! de Banco Supervielle.
Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar 


More information about the XviD-devel mailing list