Hi
I'm using Aforge.net for a camera application. When I use the 1920 * 1080 (30fps) VideoResolution to open a VideoSourcePlayer for previewing video.
The delay of the real-time video is too huge, at least 2-3 second.
thank you
![]() |
|
|||||
|
||||||
1920 x 1080 resolution
6 posts
• Page 1 of 1
1920 x 1080 resolutionHi
I'm using Aforge.net for a camera application. When I use the 1920 * 1080 (30fps) VideoResolution to open a VideoSourcePlayer for previewing video. The delay of the real-time video is too huge, at least 2-3 second. thank you
Re: 1920 x 1080 resolutionHello,
Do you have same issue when using this resolution from any other application (Skype, for example)?
Re: 1920 x 1080 resolutionHi.
I have same problem. If resolution in high, as sample 1920x1080, the delay from camera to PictureBox near 1.5...2 sec. I checked Skype with this camera. Have not delay in Skype. Is this problem AForge?
Re: 1920 x 1080 resolution
I have exactly the same problem. is there any way to reduce the dimensions on the Image frame?
Re: 1920 x 1080 resolution
Yes. Check documentation - there is a property to set camera resolution (VideoCaptureDevice.VideoResolution).
Re: 1920 x 1080 resolutionThats great Andrew. Thanks for your response. It works for me and I'm very happy for that. I gonna share my code for those you have the same problem;
_videoSource = new VideoCaptureDevice(CurrentDevice.MonikerString); _videoSource.VideoResolution = _videoSource.VideoCapabilities[0]; //It selects the default size int a =_videoSource.VideoCapabilities.Length; for (int i = 0; i < _videoSource.VideoCapabilities.Length; i++) { string resolution = "Resolution Number " + Convert.ToString(i); string resolution_size = _videoSource.VideoCapabilities[i].FrameSize.ToString(); Console.WriteLine("resolution , resolution_size>> " + resolution + "" + resolution_size); } /* The output of the function above: resolution , resolution_size>> Resolution Number 0{Width=640, Height=480} resolution , resolution_size>> Resolution Number 1{Width=320, Height=180} resolution , resolution_size>> Resolution Number 2{Width=320, Height=240} resolution , resolution_size>> Resolution Number 3{Width=424, Height=240} resolution , resolution_size>> Resolution Number 4{Width=640, Height=360} resolution , resolution_size>> Resolution Number 5{Width=848, Height=480} resolution , resolution_size>> Resolution Number 6{Width=960, Height=540} resolution , resolution_size>> Resolution Number 7{Width=1280, Height=720} resolution , resolution_size>> Resolution Number 8{Width=1920, Height=1080} _videoSource.NewFrame += video_NewFrame; _videoSource.Start();
6 posts
• Page 1 of 1
|
![]() |
|