Multi camera system operation: Difference between revisions

From ElphelWiki
Jump to navigation Jump to search
Oleg (talk | contribs)
No edit summary
Oleg (talk | contribs)
No edit summary
Line 2: Line 2:
Example for 2 cameras (2 X-Cams) - list comma-separated addresses in the GET line:
Example for 2 cameras (2 X-Cams) - list comma-separated addresses in the GET line:
  http://192.168.0.39/multicam/?ip=192.168.0.39,192.168.0.38
  http://192.168.0.39/multicam/?ip=192.168.0.39,192.168.0.38
* record button - starts recording on raw paritions (camera internal)
* snapshot button - saves a zip archive to host pc


==Download footage==
==Download footage==
Line 10: Line 12:
  Device          Start LBA      Current LBA    End LBA  
  Device          Start LBA      Current LBA    End LBA  
  /dev/sda2      12500992        38196200        250068992
  /dev/sda2      12500992        38196200        250068992
===scripts for downloading===
===scripts for downloading from internal SSD (via eSATA)===
* Get [https://git.elphel.com/Elphel/elphel-tools-x393 int_ssd_download.py]:
~$ python3 int_ssd_download.py -h
# Download 100GB from each
~$ python3 int_ssd_download.py -c root@192.168.0.39 -n 10 /path
~$ python3 int_ssd_download.py -c root@192.168.0.38 -n 10 /path
The script automatically creates a UID (/path/UID) directory, where UID - ID of the SSD
 
===scripts for extraction===
* Get [https://git.elphel.com/Elphel/eyesis4pi-393-gui/blob/master/footage_downloader/split_mov_jp4.php split_mov_jp4.php]. It takes channel shift as argv[1] when splitting. Example:
~$ cd /path/UID-of-192.168.0.39
~$ /path-to-script/split_mov_jp4.php 0
~$ cd /path/UID-of-192.168.0.38
~$ /path-to-script/split_mov_jp4.php 4


[[Category:393]]
[[Category:393]]

Revision as of 23:25, 10 August 2018

Recording

Example for 2 cameras (2 X-Cams) - list comma-separated addresses in the GET line:

http://192.168.0.39/multicam/?ip=192.168.0.39,192.168.0.38
  • record button - starts recording on raw paritions (camera internal)
  • snapshot button - saves a zip archive to host pc

Download footage

  • /dev/sda1 - ext4
  • /dev/sda2 - raw

raw partition write pointer position

root@elphel393:~# cat /mnt/sda1/camogm.disk    
Device          Start LBA       Current LBA     End LBA 
/dev/sda2       12500992        38196200        250068992

scripts for downloading from internal SSD (via eSATA)

~$ python3 int_ssd_download.py -h
# Download 100GB from each
~$ python3 int_ssd_download.py -c root@192.168.0.39 -n 10 /path
~$ python3 int_ssd_download.py -c root@192.168.0.38 -n 10 /path

The script automatically creates a UID (/path/UID) directory, where UID - ID of the SSD

scripts for extraction

~$ cd /path/UID-of-192.168.0.39
~$ /path-to-script/split_mov_jp4.php 0
~$ cd /path/UID-of-192.168.0.38
~$ /path-to-script/split_mov_jp4.php 4