Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

AVI - RIFF - Video

  • 25-04-2008 02:58PM
    #1
    Registered Users, Registered Users 2 Posts: 413 ✭✭


    hey,
    has any one ever worked with RIFF/AVI video files before? Either ODMl or microsoft ones.

    I'm looking for an explanation as to why a reported block size isn't as reported :)

    Is the file broken (As they often be (apparently)), or have I missed something in the documentation?

    The data block:
    0x30, 0x31, 0x77, 0x62, (Type - 01dc - compressed video block)
    0x60, 0x00, 0x00, 0x00, ( size = 0x60)
    0xFF, 0xFB, 0x14, 0x64, 0x2A, 0x0F, 0xF0, 0x75, 0x00, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x0E, 0x00, 0x17, 0xD0, 0x00, 0x00, 0x00, 0x01, 0xC4, 0x00, 0xFA, 0x00, 0x00, 0x00, 0x00, 0x38, 0x80, 0x1F, 0x80, 0x00, 0x00, 0x00, 0xBF, 0xA3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFD, 0xCD, 0xFF, 0xB0,0x5F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF5, 0x7D, 0x15, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xE3, 0xB4, 0x17, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDE, 0x9F, 0xC5, 0x7F

    First line 0x30 31 77 62 = 01dc followed by the next 4 bytes telling the size of the data chunk, in this case0x60 bytes (85)
    If you count, you can see theres actually about 96 bytes of data after.

    Has anyone any insight? Or should I stop moaning and just deal with it? :D


Advertisement