Hi Elphel, I'm using a NC353L-369-IMU-GPS that comes with a 16G CF card. I'm recording images to the CF card, with settings: jp46 format, as a mov file, 1248x960 @ 20fps (trigger mode = 4). In the same time, I also record IMU data using /usr/local/bin/log_imu. The script I'm running on the camera has been attached.
I have been experiencing a couple of problems as follows. 1. Sometimes, after running the script, an error immediately happens, saying "Opened /dev/imu at position 0x8c63b00 Rewind back by 160000 to 0x8c3ca00" When this error comes out, no video file is created or recorded, but a imu log file. However, when I disable IMU recording, this error seems to disappear also. I don't understand why IMU logging can possibly affect the video recording. 2. Oftentimes, the recording starts recording successfully, but after around 4-5 min, errors come out repeatedly "camogm.c:line 1385 - error=6 writev error 9 (returned -1, expected 289833)". When this error happens, the video size is around 2.1GB. I wonder why it happens in the middle of the recording. Any advice or solutions would be appreciated. Thanks, Yan #!/bin/bash killall camogm; killall autoexposure; if [ $# -gt 0 ]; then IMU_IDX=$1; else IMU_IDX=1; fi #start IMU /usr/local/bin/log_imu imu.log $IMU_IDX& camogm /var/state/camogm_cmd & echo "status; exif 1; format=mov; duration=6000; length=10000000000; status=/var/tmp/camogm.status" > /var/state/camogm_cmd & echo "Camogm has started and is waiting for recording..." MOUNT_POINT="/var/hdd"; RECORDING_PREFIX=""; echo "Started recording..." echo "status; exif=1; format=mov; duration=6000; length=10000000000; prefix=$MOUNT_POINT/$RECORDING_PREFIX; start; status=/var/tmp/camogm.status" > /var/state/camogm_cmd &
recmov.sh
Description: Bourne shell script
_______________________________________________ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com