I have developed a video which approximates to 13 Mb.I try opening it with Windows media player or Nero.It tries to open but then the player automatically closes.
Format is .avi
What could be the possible reason.Is size the issue?
Not enough info. Try getting a copy of the GSpot Codec Information program (google it) and report back here what it says about the file.
Size is almost certainly not the problem.
Best tool for this is MediaInfo. This tool is opensource and has nearly daily updates for features and bug fixes. It is an analyzer of media files. Have many levels of how deep it will report you about media file. While it is not checking the integrity of the whole media file it check correctness of headers and tells you about capabilities.
Size should not be an issue. You probably have a corrupt video file. This would explain why players close when trying to decode it.
You can try to preview the video with this tool: http://mp4repair.org
(disclaimer: I'm affiliated with this website)