#205 Crash: AviSource with Top Down (Negative biHeight) BGR24 AVI

v2.5x
closed-fixed
Filters (75)
5
2014-08-15
2009-09-11
Josh Harris
No

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.

For reference about negative biHeight:
http://msdn.microsoft.com/en-us/library/dd183376\(VS.85).aspx
http://www.fourcc.org/fccbihgt.php

Thanks,

Josh (tateu)

Discussion

  • Ian Brabham

    Ian Brabham - 2009-09-27

    Fixed in CVS, ready for 2.6.0 alpha 2 release

     
  • Ian Brabham

    Ian Brabham - 2009-09-27
    • labels: 438410 --> Filters
    • milestone: --> v2.5x
    • assigned_to: nobody --> ianb1957
    • status: open --> closed-fixed
     
  • Ian Brabham

    Ian Brabham - 2009-09-27

    Oops, it no longer crashes but the flip code does not correctly activate. I'll have it fixed for the next release.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks