DivFix++
DivFix++ is designed to repair broken AVI file streams by rebuilding index part of file. This is very useful when trying to preview movies which has no index part, like some files are currently downloading from ed2k or bittorent networks.
It has supports CLI tools, this means you can fix a file to temporary location, preview with a player, than delete temporary movie file after preview automatically via script by using argument parameters...