-
Notifications
You must be signed in to change notification settings - Fork 182
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
Very low FPS when trying the AsyncCam example #34
Comments
It is a very good library but I am also having the same problem |
Same problem. cant made a HTTP+JS web joystick for RC Car via websockets with embebed stream video |
Same here. I can get a v. good frame rate if I'm on StreamMjpeg, but the async example is depressingly slow! |
Do they offer an example with AsyncTCP? |
I can confirm that the frame rate on the Async example from this repo is quite poor :(. Even when lowering the resolution. To capture a static jpeg is actually quite fast. I modified the example to have a download button and the download is almost instant. I attempted to characterize the performance of the library - I found in Using platformio with the following settings:
Using this board. |
+1 |
I added some debug logging in full serial logs
Some spreadsheet calculation reveals the average wait time:
In the current codebase, the MjpegController type can only make use of one Separately, it should be possible to refactor MjpegResponse type to reduce or eliminate the "waiting to start capture" duration. |
I tried to reduce the SEND-CAPTURE wait in 00d1ddb. full serial logs
According to the spreadsheet, each step takes average time as follows:
The change is effective in eliminating the SEND-CAPTURE delay, but the duration spent within SEND state is much longer. |
Hello
I tried using the AsyncCam example but I get very poor fps (1-2fps). When i use the standard example from espressif I get normal fps. Changing resolution doesnt help. I have an AI Thinker board and it gets very warm with this example. I am using PlatformIO and have tried upload with both AI thinker setting and Wrover setting but fps is bad on both. When I tried using arduino IDE i got a lot of errors therefore I use platformio instead.
Power: 5V
I would be happy if I recieved help with this issue.
Thanks
The text was updated successfully, but these errors were encountered: