Menu

#18 Multiple RIFF chunks

closed
Core (15)
5
2012-06-27
2009-07-02
Bob Babcock
No

I have several avi files flagged with errors at about 1 GB offset. When I look at the error with a hex editor, I see what appears to be a RIFF chunk. If I fix such a file, it becomes unplayable. (This is with version 0.32. Version 0.31 reported errors near the beginning of these avi files and a small new stream size.)

At http://www.morgan-multimedia.com/download/odmlff2.pdf on page 3 I see the conflicting statements "There is only one RIFF chunk per file" and "An AVI file can be extended beyond 1 GB by placing more than one RIFF chunk in the same file (which is legal)."

Discussion

  • Death Knight®

    Death Knight® - 2009-07-03

    AVI designed to have 1 RIFF chunk.
    But later engineers decided that 1 GB is not enough for AVI file. So they added RIFF AVIX chunks to file to extend it with compatibility.

    In v0.32 I tried to support multiple AVI chunks. But this support make Multi RIFF chunk to one big RIFF chunk. AVI 1.0 supports only 1GB RIFF. But you can extend this to 4GB without problem because implementation of modern video players.

    But beyond that DivFix++ needed to support AVIX rules. I wanted to implement that in near future I wish.

    I wanted to know that video's name for download. ( Could you send personal email on this files location on web for debugging? )

    Thanks for feedback :)
    (I found also some bugs in v0,32 and there will be bug release version in this month. )
    Best Regards, Erdem.

     
  • Death Knight®

    Death Knight® - 2009-07-13

    Fixed in svn. Please check.

     
  • Bob Babcock

    Bob Babcock - 2009-07-14

    Thanks. I've downloaded the tarball but it may be a few days before I have time to setup a build environment.