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

OV2640 - with h.264 output #111

Closed
WTHfloyd opened this issue Jan 16, 2020 · 6 comments
Closed

OV2640 - with h.264 output #111

WTHfloyd opened this issue Jan 16, 2020 · 6 comments

Comments

@WTHfloyd
Copy link

I working on getting a OV2640 with h.264 (I think I found one...).
I requested specs for the camera - but sounds like it is possible...

How hard would it be to update the library to use h.264 rather than the current JPEG output?

And from there... I am thinking if gstreamer with a webRTC module can work on the esp32 ) - then you can do some live streaming to anywhere...... but not sure if that is possible. Or something of the sort...

Thanks.

Phil

@me-no-dev
Copy link
Member

not really doable on esp32. not enough memory and processing power to encode into h264 :) mJPEG is prolly the best you can get.

@WTHfloyd
Copy link
Author

WTHfloyd commented Jan 16, 2020

Hmmm

No no the camera would do the encoding...not the esp32.
So output from camera is h.264.

Then run pre-encoded h.264 signal through esp32....

Is that possible?

@me-no-dev
Copy link
Member

I do not know of sensor that supports h264. I guess that is because it requires memory and processing that the sensors can not afford :)

@WTHfloyd
Copy link
Author

I am talking to a factory to get costs, etc... for such a camera - waiting for details. They said they can make it. However Chinese New Year coming up so will take a bit of time to get info.

But if I could find a low cost camera that outputted h.264 video as the current OV2640 with similar speeds and specs - can you adapt the library to work?
And what data specs are important?
What info would you need from the camera to make to make it work?

Thx.

@me-no-dev
Copy link
Member

The camera needs to support 8 bit camera interface for the image data + I2C or SPI for communication. MIPI will not work.

@gitcnd
Copy link

gitcnd commented Jan 18, 2023

There's lots around ( https://www.aliexpress.com/i/32963953305.html) but the all seem to use USB - so you'd need to write code to read a USB Video Class (UVC) stream to get it to work...

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

3 participants