Skip to content

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

@rajdipsimform

Description

@rajdipsimform

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions