GithubHelp home page GithubHelp logo

Comments (5)

davidplowman avatar davidplowman commented on August 16, 2024

Hi, yes, on the Raspberry Pi H.264 encoding is limited to 1080p. Actually you can go very slightly larger, I don't have the exact numbers in my head, but it's not much. We could probably improve the error message, though. Sorry about that.

from picamera2.

sdegrace avatar sdegrace commented on August 16, 2024

Yeah that's the impression I've been getting. Are there or will there be any options for higher resolutions? The highest resolution possible is critical for my use case.

from picamera2.

davidplowman avatar davidplowman commented on August 16, 2024

The approx-1080p limit for the h.264 encoder is down to the hardware and is, unfortunately, very fundamental. There are line buffers that are 2048 pixels wide so anything wider than that (in fact, exactly that size too) will fail. There is no prospect of any fixes or workarounds.

You could go larger if you encode using MJPEG, on a Pi 4 I'd expect you to achieve "several frames per second", though note that nothing will ever go faster than 10fps in full resolution because that's the limit at which we can read from the sensor.

Can you say what resolution you require? For example you could encode 1080p (or slightly larger) which is downscaled from the full resolution. That would still be limited to 10fps (because of the sensor readout), but you'd get better per-pixel detail than the default setup, though the latter would give you better framerates. So there are swings and roundabouts here...

from picamera2.

sdegrace avatar sdegrace commented on August 16, 2024

My application is astrophotography without tracking, so the answer is always "bigger". The picam2 is a remarkably good choice because its sensor is so small, which is a very good thing for astrophotography. I've just stumbled on the "digital zoom" example though, which may be a good fit, though it's definitely not going to be easy to set it up to track the chosen object. On the other hand, I'll be able to dump more images much more quickly than I'd ever be able to with a full resolution image, so it may be worth the struggle.

BTW I'm using picamera2 for its ability to control analogue gain, which is a HUGE selling point. Thanks so much for helping to put all this together!

from picamera2.

davidplowman avatar davidplowman commented on August 16, 2024

I think we've explained the original issue so I'll close this now. But if you have any other questions please feel free to open a new issue here instead! Thanks.

from picamera2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.