blueshift
15th November 2007, 17:10
Hi, I am writing an AVI muxing program for an embedded device.
I have demuxed an original AVI and remuxed it successfuly using an idx1 legacy type index, however I want to use interleaved OpenDML style indexes, for memory usage reasons as well as to try and have a shot at a valid file if the file is not closed correctly (power removed, etc).
The version with the idx1 index played in Windows Media Player, but my "indx" style one with interleaved ix00 / ix01 index chunks appears as a grey window (of the correct size and duration). It does however play fine in VLC media player.
If I run it through virtualdub or avimuxgui and save it back out, it plays correctly in Media Player (but the indexes are completely changed).
How can I tell what is wrong with my file that is stopping Media Player from being able to play it?
What I am after ideally is some kind of very pedantic AVI parser that will complain at me.
Thanks for any help,
I have demuxed an original AVI and remuxed it successfuly using an idx1 legacy type index, however I want to use interleaved OpenDML style indexes, for memory usage reasons as well as to try and have a shot at a valid file if the file is not closed correctly (power removed, etc).
The version with the idx1 index played in Windows Media Player, but my "indx" style one with interleaved ix00 / ix01 index chunks appears as a grey window (of the correct size and duration). It does however play fine in VLC media player.
If I run it through virtualdub or avimuxgui and save it back out, it plays correctly in Media Player (but the indexes are completely changed).
How can I tell what is wrong with my file that is stopping Media Player from being able to play it?
What I am after ideally is some kind of very pedantic AVI parser that will complain at me.
Thanks for any help,