Comments (5)
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.
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.
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.
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.
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)
- [HOW-TO] Sync two cameras in software HOT 6
- [OTHER] ffmpeg exception HOT 9
- ModuleNotFoundError: No module named 'picamera2' HOT 1
- [SUGGESTION] give autofocus an initial value to start focusing with (or a bracket of values) HOT 11
- [BUG]ImportError: cannot import name 'ControlType' from 'libcamera' (unknown location) HOT 2
- [OTHER] *OR BUG Picamera 0.3.19-1 hangs on easy_capture script while older versions work fine HOT 8
- use auto exposure from night time to day time HOT 5
- [HOW-TO] change the exposition mode and constraint? HOT 4
- [HOW-TO] Reduce delay after switching sensor modes. HOT 4
- [SUGGESTION] HOT 1
- [OTHER] Please improve/update Documentation HOT 3
- [BUG]Program blocking due to camera disconnection HOT 1
- Unexpected warning from v4l2 HOT 1
- strange video size increase with waiting time between video captures
- [SUGGESTION] Mirror DRM/KMS camera preview, across multiple monitors HOT 6
- disable logging when taking picture HOT 5
- [HOW-TO] Improve streaming quality of Raspberry Pi Camera v3 during drone flight HOT 4
- [HOW-TO] Improve video quality of Raspberry Pi Camera v3 for detecting aruco markers in very high or low light conditions HOT 1
- [BUG] capture.array not working with imx296 and rpi-update > 6.6.31 on compute module 4 Bullseye 64bit HOT 1
- [BUG] libav_h264 encoder uses pyav function wrong HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picamera2.