VideoWriter produces file with unneeded bytes at the end of file

asked 2015-03-31 03:26:39 -0600

I create a video file using the VideoWriter class on Windows 7. It is using Lagarith Lossless Video Codec. It creates the file just fine but when I open VLC to see the video I get

Because this AVI file index is broken or missing, seeking will not work correctly

Also, when I open the AVI file in GSpot, I get

Note: 378 bytes unneeded bytes at end of file

AVI v1.0

Is that normal, or how can I produce a video file that doesn't have unneeded bytes and has AVI file index?

edit retag flag offensive close merge delete