Closed karmelcorn closed 5 months ago
Do you have something in the log?
I get the same error log when I run the VisioForge.VideoCapture.Demos.CS(NuGet)net6.sln. But it actually works on the WPF version. Preview and recording works correctly on the WPF version but not the WinUI version.
Please check the updated sample. We have found an issue - the best format was used by default, and the combo box was ignored. The sample code issue, not SDK.
Hi, I added the line in VideoCapture1.Video_CaptureDevice.Format_UseBest = false;
But the preview is still not working and the video recording seems to be recorded/playback at 2x the speed...
Please share logs - https://www.visioforge.com/help/docs/dotnet/general/sendlogs/
Hi, were you able to see the logs? Any updates on what might be causing the issue?
I was able to check logs. For some reason the frame rate is 0 in your settings. Could you debug code?
Also you can send me a email to support@visioforge.com, and I will be able to connect in AnyDesk to help or debug.
Hi I have sent the email, let me know if you did not receive it.
Although the recording works fine.. is there a different place that's setting the framerate for preview?
Try to hardcode the VideoCapture1.Video_CaptureDevice.FrameRate property. Or check that it's assigned on the btStart method call.
Yes, I've replied to your email.
I was able to compile the VisoForge.VideoCapture.Demos.CS WinUI.sln however the live-preview does not show up. Was anyone able to compile and run the application successfully? I am using dot net 6.