Skip to content
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

steam in QVGA and record in VGA #5

Open
monroed11 opened this issue Oct 2, 2022 · 2 comments
Open

steam in QVGA and record in VGA #5

monroed11 opened this issue Oct 2, 2022 · 2 comments

Comments

@monroed11
Copy link

monroed11 commented Oct 2, 2022

Hi,

Is it possible to stream and record using different resolution? I want to save a high resolution video and stream at the same time but due to wifi latency, I cannot stream on high fps(more than 10). I figured if I could stream using QVGA resolution I will achieve that framerate. Any key pointers would be appreciated.

@alanesq
Copy link
Owner

alanesq commented Oct 4, 2022

Hi,

I don't think so as you have to tell the camera what resolution to operate in so it would need to reset the camera every frame
I also think any attempt to resize a captured image would take the esp32 so long that the frame rate would be reduced far to much

@monroed11
Copy link
Author

I found this link regarding down-sampling an image:
https://gist.github.com/408881465/6c6f5a3363bab5ee29f1b581982da464

But I am having a hard time incorporating on the code you posted.

Where I now is: if streaming, use VGA resolution, if recording use HD resolution. I know its a hack but since it is not possible, this is the closest thing I got instead of down sampling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants