AllskyTeam / allsky

A Raspberry Pi operated Wireless Allsky Camera

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Some IMX519 numbers wrong

EricClaeys opened this issue · comments

Some of the IMX519 numbers are wrong, Updates from this thread.

$ libcamera-still  --list-cameras 
Available cameras
-----------------
0 : imx519 [4656x3496 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx519@1a)
    Modes: 'SRGGB10_CSI2P' : 1280x720 [80.01 fps - (1048, 1042)/2560x1440 crop]
                             1920x1080 [60.05 fps - (408, 674)/3840x2160 crop]
                             2328x1748 [30.00 fps - (0, 0)/4656x3496 crop]
                             3840x2160 [18.00 fps - (408, 672)/3840x2160 crop]
                             4656x3496 [9.00 fps - (0, 0)/4656x3496 crop]
...
$ libcamera-hello -v
Options:
    verbose: 2
    info_text:#%frame (%fps fps) exp %exp ag %ag dg %dg
    timeout: 5000ms
    width: 0
    height: 0
    output: 
    post_process_file: 
    preview: default
    qt-preview: 0
    transform: identity
    roi: all
    metering: centre
    exposure: normal
    ev: 0
    awb: auto
    flush: false
    wrap: 0
    brightness: 0
    contrast: 1
    saturation: 1
    sharpness: 1
    framerate: 30
    denoise: auto
    viewfinder-width: 0
    viewfinder-height: 0
    tuning-file: (libcamera)
    lores-width: 0
    lores-height: 0
    autofocus-range: normal
    autofocus-speed: normal
    autofocus-window: all
    hdr: off
    mode: unspecified
    viewfinder-mode: unspecified
    metadata: 
    metadata-format: json
    keypress: 0
    signal: 0
Opening camera...
Acquired camera /base/soc/i2c0mux/i2c@1/imx519@1a
Configuring viewfinder...
Viewfinder size chosen is 2328x1748
Mode selection for 2328:1748:12:P
    SRGGB10_CSI2P,1280x720/0 - Score: 5319.24
    SRGGB10_CSI2P,1920x1080/0 - Score: 3319.24
    SRGGB10_CSI2P,2328x1748/0 - Score: 1000
    SRGGB10_CSI2P,3840x2160/0 - Score: 1648.24
    SRGGB10_CSI2P,4656x3496/0 - Score: 2019
Stream configuration adjusted
[127:05:07.565519629] [744033]  INFO Camera camera.cpp:1183 configuring streams: (0) 2328x1748-YUV420 (1) 2328x1748-SRGGB10_CSI2P
[127:05:07.566604721] [744039]  INFO RPI vc4.cpp:616 Sensor: /base/soc/i2c0mux/i2c@1/imx519@1a - Selected sensor format: 2328x1748-SRGGB10_1X10 - Selected unicam format: 2328x1748-pRAA
Available controls:
    Sharpness : [0.000000..16.000000]
    AwbEnable : [false..true]
    Contrast : [0.000000..32.000000]
    Saturation : [0.000000..32.000000]
    Brightness : [-1.000000..1.000000]
    AfWindows : [(0, 0)/0x0..(65535, 65535)/65535x65535]
    AeFlickerPeriod : [100..1000000]
    HdrMode : [0..4]
    ExposureValue : [-8.000000..8.000000]
    AeExposureMode : [0..3]
    AfTrigger : [0..1]
    AeMeteringMode : [0..3]
    AeFlickerMode : [0..1]
    AwbMode : [0..7]
    AfRange : [0..2]
    AfSpeed : [0..1]
    AfMetering : [0..1]
    ColourGains : [0.000000..32.000000]
    ScalerCrop : [(0, 0)/128x128..(0, 0)/4656x3496]
    AfMode : [0..2]
    AeEnable : [false..true]
    NoiseReductionMode : [0..4]
    AeConstraintMode : [0..3]
    FrameDurationLimits : [33333..127960799]
    ExposureTime : [305..0]
    AfPause : [0..2]
    AnalogueGain : [1.000000..16.000000]
    LensPosition : [0.000000..32.000000]
Buffers allocated and mapped
Viewfinder setup complete
Requests created
Camera started!
Viewfinder frame 0
#0 (0.00 fps) exp 32844.00 ag 8.00 dg 1.00
...

Fixed in next release