FFmpeg creates uncompressed BGR24 and BGRA AVIs with Top Down encoding and sets biHeight to negative to indicate this. AviSource crashes when trying to load this type of AVI. I have attached a zip file containing an AVI that causes the crash.
My guess is that, inside of AVISource, we need something like:
vi.height = abs(pbiSrc->biHeight);
and then something to indicate to the AviSynth RGB decoder to read each frame Top Down.
Log in to post a comment.