Closed jw-suh closed 1 year ago
Can anyone confirm or deny that this issue exists outside of our development environment? We still have this issue and can reproduce it on all of our development machines.
I have the same problem.
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.
Summary of your issue
When using opencvsharp to create a mp4 file in a 32-bit WPF application, no output file is generated. Easily reproducible by creating a new Console Application (in my case .NET core 3.1) and adding the Platform Target x86. The error is reproducible with a console application, for completion’s sake we are encountering this issue in a WPF application.
Environment
Using .NET core 3.1 with the following Nuget Packages:
The application is built and run on a 64-bit Windows 10 machine
What did you do when you faced the problem?
Create a VideoWriter like so:
var videoWriter = new VideoWriter($@"C:\Temp\Snapshots\TestTimelapse\TestTimelapse.mp4", FourCC.Default, 20, new OpenCvSharp.Size(2304, 1296), true);
and add frames (in my case 100) to it with the Write() Method:
Project to reproduce(~ 16kb): VideoWriterx86.zip
Picture to reproduce (~ 13mb): TestTimelapse.zip
Output:
The folder only contains the images and no additional file was created.
Console output:
What did you intend to be?
I expected the frames to be added to a video file with the file extension .mp4