2019-11-24 09:27:21 -0600 | received badge | ● Notable Question (source) |
2019-02-22 07:12:26 -0600 | received badge | ● Popular Question (source) |
2017-06-20 18:40:00 -0600 | answered a question | Streaming a webcam at 60 fps After a lot of tests with ffmpeg and try to understand how i can get access to the webcam features in opencv. I found out that my cam is a so called "dshow" device which is provided from Windows Standard Webcam Driver. So to get deeper access to the device I have to start the capture with this flag. The FourCC flag is also necessary. Now this line has an effect.. After this changes i can capture with 58 fps and have almost no latency! Hope this helps someone! |
2017-06-19 08:54:42 -0600 | received badge | ● Enthusiast |
2017-06-18 02:50:53 -0600 | received badge | ● Editor (source) |
2017-06-14 04:13:48 -0600 | asked a question | Streaming a webcam at 60 fps hi everybody i have a problem with capturing a webcam (logitech c922) video stream. the webcam provides a stream at 60fps at a resolution of 720p. right now i initialize a capture convert it from BGR2toGray send the frame to an ImageView object. here is my code. i use opencv3.1 Java, Eclipse neon, JavaFx my problem is i can´t get more than 30 fps out of this thing i Need the 60 fps for my application. to set the codec to M J P G brings up speed from 15 fps to 30fps and MJPG is the only Codec which holds my resolution all others fall back to 640 / 480 so i play with some formats of video- and Picture codecs stuff. Jpg an Png is simular stable at 30 fps bmp is a little faster but not so stable 28- 36 fps i already tried to set the fps via capture.set(CAP_PROP_FPS,60) which has no effect for values above 30. I read some stuff about ffmpeg but i don´t understand how the pipeline should work. can anyone help. greetz |