Richard,
It is possible with https://wiki.elphel.com/wiki/Camogm . Most efficient way to record video stream is when the SSD is formatted with two partitions - one normal, and the other - just raw data, recorded consecutively. This reduces CPU load, wears SSD flash uniformly and provides higher frame rate. Additionally, I would recommend to use JPEG-based jp4 format (developed for Google Books and later used fro Street View project), not JPEG - it is closer to raw and re-coding is simple. You may also get better quality de-Bayer than implemented in the camera (simple bi-linear interpolation). Andrey ---- On Sun, 25 Feb 2018 13:47:13 -0800 Richard Rigby<rri...@redzone.com> wrote ---- Hi Oleg, Thank you for your reply. I will wait with great anticipation for the new driver. :) On another note, would it be possible for me to run my own recorder application directly on the camera and access a jpeg stream and record to a hard drive? We would like to build a robotic device capable of recording the video stream and I was thinking that in stead of running the recording software on a seperate computer, I could run it on the camera since it's already running linux. Kind regards, Richard Rigby Software Developer www.redzone.com Ph: +64 9 479 9901 Fax: +64 9 479 9904 13 Tarndale Grove • Albany • Auckland 0632 • New Zealand On 26 February 2018 at 10:37, Oleg <support-list@support.elphel.com> wrote: Hi, 14MPx is not yet supported in the current firmware but I'm working on the driver at the moment - hopefully will have something within a couple weeks. There's an old firmware where exposure, gains and lane phases can be set, not much more. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 5555 x124 Elphel, Inc. On Fri, Feb 23, 2018 at 11:23 AM, Andrey Filippov <and...@elphel.com> wrote: == == == == == == Forwarded message == == == == == == >From : Richard Rigby<rri...@redzone.com> To : <support-l...@elphel.com> Date : Thu, 22 Feb 2018 18:28:08 -0800 Subject : 14Mpix sensor not detected == == == == == == Forwarded message == == == == == == Hello, I have a 393 board as well as one 5 Mpix sensor and one 14 Mpix sensor. However only the 5Mpix sensor is working. I am using the web interface to view the camera. I have tried to run the init_elphel393.py script for both sensors and it looks to me that the 14 Mpix sensor cannot be detected. This is the output from init_elphel393.py when only the 14 Mpix sensor is connected: [ 443.35] init_elphel393: Fan on [ 443.36] init_elphel393: Initialize USB hub [ 443.37] init_elphel393: 10389 was not detected: skipping USB hub init [ 443.37] init_elphel393: init_elphel393.py: ip = 192.168.0.9, mask = 255.255.255.0 [ 443.38] init_elphel393: init_elphel393.py: imgsrv Set port number: 2323 Set port number: 2324 Set port number: 2325 Set port number: 2326 [ 443.77] init_elphel393: init_elphel393.py: auto exposure daemon autoexposure#0 started, daemon_bit=0x0, debug=0x1 autoexposure#1 started, daemon_bit=0x0, debug=0x1 autoexposure#2 started, daemon_bit=0x0, debug=0x1 autoexposure#3 started, daemon_bit=0x0, debug=0x1 [ 443.99] autocampars: Processing camera state: INITIALIZED [ 444.05] autocampars: Active sensor ports: master_port = -1 [ 444.07] autocampars: Sensors map read from the sysfs: [none, none, none, none],[none, none, none, none],[none, none, none, none],[none, none, none, none] [ 444.12] autocampars: get_application_mode()->4369 [ 444.17] autocampars: Detecting sensors for MT9P006 [ 444.20] autocampars: Got --init command for already initialized camera, trying to re-initialize [ 444.22] autocampars: after reset - current frame on master port = [ 444.25] autocampars: Reset camera state to BITSTREAM [ 444.33] autocampars: ports: [ 444.35] autocampars: System FPGA version: 0x039300da [ 444.38] autocampars: Sensor interface type: PAR12 [ 444.45] autocampars: Detected sensors: [none, none, none, none],[none, none, none, none],[none, none, none, none],[none, none, none, none] [ 444.48] autocampars: Reached state: SENSORS_DETECTED [ 444.53] autocampars: Disabling sensor port 0 [ 444.56] autocampars: Disabling sensor port 1 [ 444.58] autocampars: Disabling sensor port 2 [ 444.61] autocampars: Disabling sensor port 3 [ 444.69] autocampars: Frames: -1, -1, -1, -1 [ 444.71] autocampars: Reached state: SENSORS_SYNCHRONIZED [ 444.74] autocampars: ports: [ 444.81] autocampars: init_cameras() start: camera_state=SENSORS_SYNCHRONIZED [ 444.86] autocampars: Collected gammas == Array ( ) [ 444.89] autocampars: will need to skip local frames [ 444.92] autocampars: Reached state PARAMETERS_PRESET [ 444.94] autocampars: Skipping frames [ 444.97] autocampars: Frame delay = 0 s [ 445.02] autocampars: Remaining trigger parameters: Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/bin/autocampars.php on line 1074 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/bin/autocampars.php on line 1085 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/bin/autocampars.php on line 1086 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/bin/autocampars.php on line 1091 Warning: elphel_set_P_arr() expects parameter 2 to be array, null given in /usr/bin/autocampars.php on line 1095 [ 445.09] autocampars: Skipping more frames [ 445.14] autocampars: Reached state PARAMETERS_PRESET [ 445.17] autocampars: Reached state INITIALIZED [ 445.20] autocampars: Sensors on ports: were successfully initialized [ 445.22] autocampars: INITIALIZED [ 445.25] autocampars: revisions differ [ 445.27] autocampars: Log file saved as /var/log/autocampars.log [ 445.32] init_elphel393: init SATA [ 445.32] init_elphel393: 10389 was not detected: skipping SATA init [ 445.32] init_elphel393: Start GPS and event logger Initializing Exif template: /www/pages/exif.php init noGPS nocompass [ 445.75] init_elphel393: /var/volatile/state already exists [ 445.75] init_elphel393: DONE, log file: /var/log/init_elphel393.log This is the output from init_elphel393.py when only the 14 Mpix sensor is connected: [ 45.92] init_elphel393: Fan on [ 45.93] init_elphel393: Initialize USB hub [ 45.94] init_elphel393: 10389 was not detected: skipping USB hub init [ 45.94] init_elphel393: init_elphel393.py: ip = 192.168.0.9, mask = 255.255.255.0 [ 45.95] init_elphel393: init_elphel393.py: imgsrv Set port number: 2323 Set port number: 2324 Set port number: 2325 Set port number: 2326 [ 46.34] init_elphel393: init_elphel393.py: auto exposure daemon autoexposure#0 started, daemon_bit=0x0, debug=0x1 autoexposure#1 started, daemon_bit=0x0, debug=0x1 autoexposure#2 started, daemon_bit=0x0, debug=0x1 autoexposure.c:141:main: autoexposure#2: drivers initialized autoexposure.c:146:main: autoexposure#2 started daemon_bit=0x0, debug=0x1 autoexposure.c:154:main: autoexposure#2 this_frame = 0xe2 autoexposure.c:157:main: frame 14: autoexposure#2 this_frame = 0xe2 autoexposure#3 started, daemon_bit=0x0, debug=0x1 [ 46.58] autocampars: Processing camera state: INITIALIZED [ 46.63] autocampars: Active sensor ports: 2 master_port = 2 [ 46.66] autocampars: Sensors map read from the sysfs: [none, none, none, none],[none, none, none, none],[mt9p006, none, none, none],[none, none, none, none] [ 46.71] autocampars: get_application_mode()->4369 [ 46.76] autocampars: Detecting sensors for MT9P006 [ 46.79] autocampars: Got --init command for already initialized camera, trying to re-initialize [ 46.81] autocampars: Current frame on master port =230, sleeping to give daemons a chance [ 51.84] autocampars: Current frame on master port =280, waking up, daemons should be dead already [ 51.87] autocampars: after reset - current frame on master port =281 [ 51.89] autocampars: Reset camera state to BITSTREAM [ 51.97] autocampars: ports:2 [ 52.02] autocampars: Started detection for sensor port 2 [ 52.05] autocampars: System FPGA version: 0x039300da [ 52.07] autocampars: Sensor interface type: PAR12 [ 52.15] autocampars: Detected sensors: [none, none, none, none],[none, none, none, none],[mt9p006, none, none, none],[none, none, none, none] [ 52.17] autocampars: Reached state: SENSORS_DETECTED [ 52.43] autocampars: Disabling sensor port 0 [ 52.45] autocampars: Disabling sensor port 1 [ 52.48] autocampars: Disabling sensor port 3 [ 52.66] autocampars: Frames: -1, -1, 0, -1 [ 52.68] autocampars: Reached state: SENSORS_SYNCHRONIZED [ 52.71] autocampars: ports:2 [ 52.76] autocampars: autocampars.php parsed configuration file /etc/elphel393/autocampars2.xml. [ 52.84] autocampars: init_cameras() start: camera_state=SENSORS_SYNCHRONIZED [ 52.89] autocampars: Collected gammas == Array ( [2617] => 1 ) [ 52.95] autocampars: port 2 setting @1 init exposure: EXPOS= 1000 [ 53.05] autocampars: port 2 setting @8 restoring exposure: EXPOS= 10000 [ 53.08] autocampars: will need to skip local 7 frames [ 53.10] autocampars: Reached state PARAMETERS_PRESET [ 53.13] autocampars: Skipping 7 frames [ 53.15] autocampars: Frame delay = 0.1 s aexp_utils.c:140:getPercentile: ERROR Requested histograms for frame 7 (0x7) are not available. this_frame=0x8, now=0x8 autoexposure.c:241:main: ERROR (port 2): Restarting autoexposure due to errors, skipping a frame aexp_utils.c:140:getPercentile: ERROR Requested histograms for frame 8 (0x8) are not available. this_frame=0x9, now=0x9 autoexposure.c:241:main: ERROR (port 2): Restarting autoexposure due to errors, skipping a frame [ 54.62] autocampars: Started camera in periodic self-triggered mode, period = 0.1 s [ 54.65] autocampars: Reached state PARAMETERS_PRESET [ 54.68] autocampars: Reached state INITIALIZED [ 54.70] autocampars: Sensors on ports: 2 were successfully initialized aexp_utils.c:140:getPercentile: ERROR Requested histograms for frame 9 (0x9) are not available. this_frame=0xa, now=0xa autoexposure.c:241:main: ERROR (port 2): Restarting autoexposure due to errors, skipping a frame [ 54.73] autocampars: INITIALIZED [ 54.75] autocampars: Log file saved as /var/log/autocampars.log [ 54.81] init_elphel393: init SATA aexp_utils.c:140:getPercentile: ERROR Requested histograms for frame 10 (0xa) are not available. this_frame=0xb, now=0xb autoexposure.c:241:main: ERROR (port 2): Restarting autoexposure due to errors, skipping a frame [ 54.81] init_elphel393: 10389 was not detected: skipping SATA init [ 54.81] init_elphel393: Start GPS and event logger aexp_utils.c:140:getPercentile: ERROR Requested histograms for frame 11 (0xb) are not available. this_frame=0xc, now=0xc autoexposure.c:241:main: ERROR (port 2): Restarting autoexposure due to errors, skipping a frame Initializing Exif template: /www/pages/exif.php init noGPS nocompass [ 55.24] init_elphel393: /var/volatile/state already exists [ 55.24] init_elphel393: DONE, log file: /var/log/init_elphel393.log Any assistance in resolving this would be greatly appreciated. Kind regards, Richard Rigby Software Developer www.redzone.com Ph: +64 9 479 9901 Fax: +64 9 479 9904 13 Tarndale Grove • Albany • Auckland 0632 • New Zealand _______________________________________________ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com _______________________________________________ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
_______________________________________________ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com