opencvsharp icon indicating copy to clipboard operation
opencvsharp copied to clipboard

VideoWriter, file too big

Open neoana opened this issue 2 years ago • 1 comments

code: OpenCvSharp.VideoWriter(@"D:\mm\aaf.mp4",OpenCvSharp.FourCC.XVID,capture_test.Fps, new OpenCvSharp.Size(capture_test.FrameWidth,capture_test.FrameHeight),true);

Hi friend, when writting frame to video, XVID fourcc was used, but only .mp4 out format could write file successfully, and the file is too big. When changed file format to .avi, the size of output file is zero. But for pyopencv or emgucv, .avi file format is ok for XVID fourcc, and the file size is small. I also test other fourcc in opencvsharp, in most cases, only .mp4 file format worked, and the file size is too big. Could you please help check this issue? Thanks very much.

neoana avatar Mar 15 '23 06:03 neoana

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 17 '23 11:09 stale[bot]