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

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)

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

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

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

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
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

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)

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

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

This is call-back event from AForge.Video.DirectShow library for getting each frame from webcam
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