Re: Access violation in AviStreamWrite using Xvid with width>720
Dark Sylinc <[email protected]>
| Newsgroups | gmane.comp.video.xvid.devel |
|---|---|
| Message-ID | <[email protected]> |
--- Renate Schaaf <[email protected]> escribió: > In article > <[email protected]>, 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