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

Preview fails at full resolution with V2 camera module #296

Closed
waveform80 opened this issue Jun 19, 2016 · 1 comment
Closed

Preview fails at full resolution with V2 camera module #296

waveform80 opened this issue Jun 19, 2016 · 1 comment
Assignees
Milestone

Comments

@waveform80
Copy link
Owner

@waveform80 waveform80 commented Jun 19, 2016

The camera's preview fails to operate correctly with a V2 module set to maximum resolution. This appears to be a hardware limitation (the failure looks similar to when too many overlays are applied), and is replicable with raspistill with the the -fp switch.

To mitigate we'll need to separate preview and camera resolution just as raspistill does. Check whether preview resolution can be changed without re-constructing the renderer (probably just means tweaking port formats but I'd bet the preview connection will need disabling first). Add a resolution parameter to start_preview and a similar attribute to PiPreviewRenderer.

@waveform80 waveform80 added this to the 1.11 milestone Jun 19, 2016
@waveform80 waveform80 self-assigned this Jun 19, 2016
@6by9
Copy link
Collaborator

@6by9 6by9 commented Jun 19, 2016

Yes the HVS (Hardware Video Scaler) will be underflowing when trying to do that. 5MP tends to do it too - there are too many lines of context required to produce each line of output, and whilst there are some levels of decimation, they're only vertical as there's no sensible way to skip pixels horizontally when reading bursts from RAM.

TBH the -fp option of raspistill etc should probably be deprecated - I think it only had a real use when we had different FOVs between preview and stills resolutions.

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

Successfully merging a pull request may close this issue.

None yet
2 participants