weixin_39569894 2020-11-30 15:25
浏览 0

Raw capture at full res on still port fails

Raw (YUV/RGB/RGBA/etc.) captures against the still port fail when resolution is 2592x1944 with an out of memory error in the latest firmware (656). This doesn't happen in raspiyuv but the pipeline in picamera is rather more complex: raspiyuv sets the preview res to 1296x972 (rounded up) while picamera has one res for everything (in this case 2592x1944), and picamera uses a resizer (in this case redundantly) to perform conversion to the appropriate raw format rather than reconfigure the camera's ports (which would break capture-while-recording for the video ports).

Not sure what the solution here is - it's probably soluble in picamera but only by breaking backwards compatibility by changing various things about raw capture. For now I'm tempted to leave it as a known issue in the release and see if anybody complains about it? (i.e. does anyone really care about full res raw captures or is this a niche bit of functionality)

该提问来源于开源项目:waveform80/picamera

  • 写回答

7条回答 默认 最新

  • weixin_39569894 2020-11-30 15:25
    关注

    Okay, definitely need to fix this as it seems some people are relying on this functionality (had two reports of people encountering it now)

    Fixing YUV captures wouldn't be hard as we can just ditch the resizer for those, but what about the other raw formats?

    评论

报告相同问题?