Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay in preview of webcame, FPS drop on live preview and In video recording, video get pixelated when user select high resolution(1920 * 1080 : 60 FPS) #52

Open
rajdipsimform opened this issue Jan 27, 2022 · 0 comments

Comments

@rajdipsimform
Copy link

Issue 1: Delay in preview of webcam, FPS drop on live preview

On high resolution i am facing issue of delay in preview of webcam, FPS drop on live preview in AForge.Video.DirectShow(Version=2.2.5.0). I am using AForge.Video.DirectShow for getting camera feed in WPF c# application. On high resolution(1920 * 1080 : 60 FPS) user can observe delay in preview of webcam. On normal resolution preview is look good. But when user select higher resolution current frame rate is drooping and user can observe delay in preview of webcam.

This is event for get camera frame and assign to picture box and calculation for get framerate
image

Issue 2 video get pixelated when user select high resolution(1920 * 1080 : 60 FPS)

For video recording i have used Accord.Video.FFMPEG.VideoFileWriter(Version=3.8.0.0) package but in this video get pixelated when user select high resolution(1920 * 1080 : 60 FPS) In this screen shoot we can see that its pixelated video on high resolution(1920 * 1080 : 60 FPS)
image

This is normal preview from webcam where cant notice any pixelated feed on high resolution(1920 * 1080 : 60 FPS)
image

This is button click event where I am creating VideoFileWriter object for creating video
image

This is call-back event from AForge.Video.DirectShow library for getting each frame from webcam

image

I am not sure where i am doing wrong, Please let me know if I can overcome from this issue, Other suggestion is also welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant