Difference between revisions of "How to obtain an image or a video from an Elphel 353 camera?"

From ElphelWiki
Jump to: navigation, search
(tools and capabilities table)
(tools and capabilities table)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
= tools and capabilities table =
 
= tools and capabilities table =
  
<TABLE  BORDER=1 CELLPADDING=2 CELLSPACING=3 STYLE="page-break-before: always">
+
{| style="page-break-before: always" border="1" cellspacing="3" cellpadding="2"
<TR>
+
| width="151" |
<TD WIDTH=151></TD>
+
| width="152" |
<TD WIDTH=152></TD>
+
| colspan="6" width="305" |
<TD COLSPAN=6 WIDTH=305>
+
On the Elphel 353 camera
<P>On the Elphel 353 camera</P>
+
| colspan="5" width="304" |
</TD>
+
On remote PC / MAC
<TD COLSPAN=5 WIDTH=304>
+
|-
<P>On remote PC / MAC</P>
+
| width="151" |
</TD>
+
| width="152" |
</TR>
+
| width="58" |
<TR>
+
ccam.cgi
<TD WIDTH=151></TD>
+
| width="41" |
<TD WIDTH=152></TD>
+
imgsrv
<TD WIDTH=58>
+
| width="56" |
<P ALIGN=CENTER>ccam.cgi  
+
camogm
</P>
+
| width="39" |
</TD>
+
camvc
<TD WIDTH=41>
+
| width="62" |
<P ALIGN=CENTER>imgsrv</P>
+
PHP API
</TD>
+
| width="13" |
<TD WIDTH=56>
+
str
<P ALIGN=CENTER>camogm  
+
| width="71" |
</P>
+
ElphelOgm
</TD>
+
| width="61" |
<TD WIDTH=39>
+
ElphelSrv
<P ALIGN=CENTER>camvc</P>
+
| width="52" |
</TD>
+
MPlayer
<TD WIDTH=62>
+
| width="31" |
<P ALIGN=CENTER>PHP API  
+
VLC
</P>
+
| width="60" |
</TD>
+
Quicktime
<TD WIDTH=13>
+
|-
<P ALIGN=CENTER>str</P>
+
| rowspan="3" width="151" |
</TD>
+
supported formats
<TD WIDTH=71>
+
| width="152" |
<P ALIGN=CENTER>ElphelOgm</P>
+
JPEG/JP4 image
</TD>
+
| width="58" |
<TD WIDTH=61>
+
x
<P ALIGN=CENTER>ElphelSrv</P>
+
| width="41" |
</TD>
+
x
<TD WIDTH=52>
+
| width="56" |
<P ALIGN=CENTER>MPlayer</P>
+
| width="39" |
</TD>
+
x
<TD WIDTH=31>
+
| width="62" |
<P ALIGN=CENTER>VLC</P>
+
| width="13" |
</TD>
+
| width="71" |
<TD WIDTH=60>
+
| width="61" |
<P ALIGN=CENTER>Quicktime</P>
+
| width="52" |
</TD>
+
| width="31" |
</TR>
+
| width="60" |
<TR>
+
|-
<TD ROWSPAN=3 WIDTH=151>
+
| width="152" |
<P>supported formats</P>
+
Quicktime MOV video
</TD>
+
| width="58" |
<TD WIDTH=152>
+
| width="41" |
<P>JPEG/JP4 image</P>
+
| width="56" |
</TD>
+
x
<TD WIDTH=58>
+
| width="39" |
<P ALIGN=CENTER>x</P>
+
| width="62" |
</TD>
+
| width="13" |
<TD WIDTH=41>
+
| width="71" |
<P ALIGN=CENTER>x</P>
+
| width="61" |
</TD>
+
| width="52" |
<TD WIDTH=56></TD>
+
x
<TD WIDTH=39>
+
| width="31" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
| width="60" |
<TD WIDTH=62></TD>
+
x
<TD WIDTH=13></TD>
+
|-
<TD WIDTH=71></TD>
+
| width="152" |
<TD WIDTH=61></TD>
+
MJPEG/OGM video
<TD WIDTH=52></TD>
+
| width="58" |
<TD WIDTH=31></TD>
+
| width="41" |
<TD WIDTH=60></TD>
+
| width="56" |
</TR>
+
x
<TR>
+
| width="39" |
<TD WIDTH=152>
+
| width="62" |
<P>Quicktime MOV video</P>
+
| width="13" |
</TD>
+
x
<TD WIDTH=58></TD>
+
| width="71" |
<TD WIDTH=41></TD>
+
x
<TD WIDTH=56>
+
| width="61" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
| width="52" |
<TD WIDTH=39></TD>
+
x
<TD WIDTH=62></TD>
+
| width="31" |
<TD WIDTH=13></TD>
+
x
<TD WIDTH=71></TD>
+
| width="60" |
<TD WIDTH=61></TD>
+
x
<TD WIDTH=52>
+
|-
<P ALIGN=CENTER>x</P>
+
| rowspan="4" width="151" |
</TD>
+
supported protocols
<TD WIDTH=31>
+
| width="152" |
<P ALIGN=CENTER>x</P>
+
HTTP support
</TD>
+
| width="58" |
<TD WIDTH=60>
+
x
<P ALIGN=CENTER>x</P>
+
| width="41" |
</TD>
+
x
</TR>
+
| width="56" |
<TR>
+
| width="39" |
<TD WIDTH=152>
+
| width="62" |
<P>MJPEG/OGM video</P>
+
x
</TD>
+
| width="13" |
<TD WIDTH=58></TD>
+
| width="71" |
<TD WIDTH=41></TD>
+
| width="61" |
<TD WIDTH=56>
+
| width="52" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
| width="31" |
<TD WIDTH=39></TD>
+
| width="60" |
<TD WIDTH=62></TD>
+
|-
<TD WIDTH=13>
+
| width="152" |
<P ALIGN=CENTER>x</P>
+
FTP upload support
</TD>
+
| width="58" |
<TD WIDTH=71>
+
| width="41" |
<P ALIGN=CENTER>x</P>
+
| width="56" |
</TD>
+
| width="39" |
<TD WIDTH=61>
+
| width="62" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
| width="13" |
<TD WIDTH=52>
+
| width="71" |
                        <P ALIGN=CENTER>x</P>
+
| width="61" |
                </TD>
+
| width="52" |
<TD WIDTH=31>
+
| width="31" |
<P ALIGN=CENTER>x</P>
+
| width="60" |
</TD>
+
|-
<TD WIDTH=60>
+
| width="152" |
<P ALIGN=CENTER>x</P>
+
NFS write support
</TD>
+
| width="58" |
</TR>
+
| width="41" |
<TR>
+
| width="56" |
<TD ROWSPAN=4 WIDTH=151>
+
x
<P>supported protocols</P>
+
| width="39" |
</TD>
+
| width="62" |
<TD WIDTH=152>
+
| width="13" |
<P>HTTP support</P>
+
| width="71" |
</TD>
+
| width="61" |
<TD WIDTH=58>
+
| width="52" |
<P ALIGN=CENTER>x</P>
+
| width="31" |
</TD>
+
| width="60" |
<TD WIDTH=41>
+
|-
<P ALIGN=CENTER>x</P>
+
| width="152" |
</TD>
+
RTP support
<TD WIDTH=56></TD>
+
| width="58" |
<TD WIDTH=39></TD>
+
| width="41" |
<TD WIDTH=62>
+
| width="56" |
<P ALIGN=CENTER>x</P>
+
| width="39" |
</TD>
+
| width="62" |
<TD WIDTH=13></TD>
+
| width="13" |
<TD WIDTH=71></TD>
+
x
<TD WIDTH=61></TD>
+
| width="71" |
<TD WIDTH=52>
+
x
<P ALIGN=CENTER>x</P>
+
| width="61" |
</TD>
+
x
<TD WIDTH=31></TD>
+
| width="52" |
<TD WIDTH=60></TD>
+
x
</TR>
+
| width="31" |
<TR>
+
x
<TD WIDTH=152>
+
| width="60" |
<P>FTP upload support</P>
+
x
</TD>
+
|-
<TD WIDTH=58></TD>
+
| rowspan="2" width="151" |
<TD WIDTH=41></TD>
+
HD / CF / USB support
<TD WIDTH=56></TD>
+
| width="152" |
<TD WIDTH=39></TD>
+
on camera HD/CF write support
<TD WIDTH=62>
+
| width="58" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
| width="41" |
<TD WIDTH=13></TD>
+
x
<TD WIDTH=71></TD>
+
| width="56" |
<TD WIDTH=61></TD>
+
x
<TD WIDTH=52></TD>
+
| width="39" |
<TD WIDTH=31></TD>
+
| width="62" |
<TD WIDTH=60></TD>
+
x
</TR>
+
| width="13" |
<TR>
+
<br />
<TD WIDTH=152>
+
| width="71" |
<P>NFS write support</P>
+
x
</TD>
+
| width="61" |
<TD WIDTH=58></TD>
+
| width="52" |
<TD WIDTH=41></TD>
+
| width="31" |
<TD WIDTH=56>
+
| width="60" |
<P ALIGN=CENTER>x</P>
+
|-
</TD>
+
| width="152" |
<TD WIDTH=39></TD>
+
remote PC HD write support
<TD WIDTH=62></TD>
+
| width="58" |
<TD WIDTH=13></TD>
+
x
<TD WIDTH=71></TD>
+
| width="41" |
<TD WIDTH=61></TD>
+
x
<TD WIDTH=52></TD>
+
| width="56" |
<TD WIDTH=31></TD>
+
x
<TD WIDTH=60></TD>
+
| width="39" |
</TR>
+
x
<TR>
+
| width="62" |
<TD WIDTH=152>
+
x
<P>RTP support</P>
+
| width="13" |
</TD>
+
<br />
<TD WIDTH=58></TD>
+
| width="71" |
<TD WIDTH=41></TD>
+
x
<TD WIDTH=56></TD>
+
| width="61" |
<TD WIDTH=39></TD>
+
x
<TD WIDTH=62></TD>
+
| width="52" |
<TD WIDTH=13>
+
x
<P ALIGN=CENTER>x</P>
+
| width="31" |
</TD>
+
x
<TD WIDTH=71>
+
| width="60" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
|-
<TD WIDTH=61>
+
| rowspan="6" width="151" |
<P ALIGN=CENTER>x</P>
+
Features
</TD>
+
| width="152" |
<TD WIDTH=52>
+
command line based tool
<P ALIGN=CENTER>x</P>
+
| width="58" |
</TD>
+
| width="41" |
<TD WIDTH=31>
+
| width="56" |
<P ALIGN=CENTER>x</P>
+
| width="39" |
</TD>
+
x
<TD WIDTH=60>
+
| width="62" |
<P ALIGN=CENTER>x</P>
+
| width="13" |
</TD>
+
x
</TR>
+
| width="71" |
<TR>
+
x
<TD ROWSPAN=2 WIDTH=151>
+
| width="61" |
<P>HD / CF / USB support</P>
+
x
</TD>
+
| width="52" |
<TD WIDTH=152>
+
x
<P>on camera HD/CF write support</P>
+
| width="31" |
</TD>
+
x
<TD WIDTH=58>
+
| width="60" |
<P ALIGN=CENTER>x</P>
+
|-
</TD>
+
| width="152" |
<TD WIDTH=41>
+
GUI based tool
<P ALIGN=CENTER>x</P>
+
| width="58" |
</TD>
+
| width="41" |
<TD WIDTH=56>
+
| width="56" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
| width="39" |
<TD WIDTH=39></TD>
+
x
<TD WIDTH=62>
+
| width="62" |
<P ALIGN=CENTER>x</P>
+
| width="13" |
</TD>
+
x
<TD WIDTH=13>
+
| width="71" |
<P ALIGN=CENTER><BR>
+
| width="61" |
</P>
+
| width="52" |
</TD>
+
x
<TD WIDTH=71>
+
| width="31" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
| width="60" |
<TD WIDTH=61></TD>
+
x
<TD WIDTH=52></TD>
+
|-
<TD WIDTH=31></TD>
+
| width="152" |
<TD WIDTH=60></TD>
+
Live video view
</TR>
+
| width="58" |
<TR>
+
| width="41" |
<TD WIDTH=152>
+
| width="56" |
<P>remote PC HD write support</P>
+
x
</TD>
+
| width="39" |
<TD WIDTH=58>
+
x
<P ALIGN=CENTER>x</P>
+
| width="62" |
</TD>
+
| width="13" |
<TD WIDTH=41>
+
| width="71" |
<P ALIGN=CENTER>x</P>
+
| width="61" |
</TD>
+
| width="52" |
<TD WIDTH=56>
+
x
<P ALIGN=CENTER>x</P>
+
| width="31" |
</TD>
+
x
<TD WIDTH=39>
+
| width="60" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
|-
<TD WIDTH=62>
+
| width="152" |
<P ALIGN=CENTER>x</P>
+
make use of circular bufer
</TD>
+
| width="58" |
<TD WIDTH=13>
+
| width="41" |
<P ALIGN=CENTER><BR>
+
x
</P>
+
| width="56" |
</TD>
+
x
<TD WIDTH=71>
+
| width="39" |
<P ALIGN=CENTER>x</P>
+
| width="62" |
</TD>
+
x
<TD WIDTH=61>
+
| width="13" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
| width="71" |
<TD WIDTH=52>
+
| width="61" |
<P ALIGN=CENTER>x</P>
+
| width="52" |
</TD>
+
| width="31" |
<TD WIDTH=31>
+
| width="60" |
<P ALIGN=CENTER>x</P>
+
|-
</TD>
+
| width="152" |
<TD WIDTH=60>
+
EXIF support
<P ALIGN=CENTER>x</P>
+
| width="58" |
</TD>
+
x
</TR>
+
| width="41" |
<TR>
+
x
<TD ROWSPAN=6 WIDTH=151>
+
| width="56" |
<P>Features
+
x
</P>
+
| width="39" |
</TD>
+
| width="62" |
<TD WIDTH=152>
+
x
<P>command line based tool</P>
+
| width="13" |
</TD>
+
x
<TD WIDTH=58></TD>
+
| width="71" |
<TD WIDTH=41></TD>
+
x
<TD WIDTH=56></TD>
+
| width="61" |
<TD WIDTH=39>
+
x
<P ALIGN=CENTER>x</P>
+
| width="52" |
</TD>
+
| width="31" |
<TD WIDTH=62></TD>
+
| width="60" |
<TD WIDTH=13>
+
|-
<P ALIGN=CENTER>x</P>
+
| width="152" |
</TD>
+
setting the sensor parameters
<TD WIDTH=71>
+
| width="58" |
<P ALIGN=CENTER>x</P>
+
x
</TD>
+
| width="41" |
<TD WIDTH=61>
+
| width="56" |
<P ALIGN=CENTER>x</P>
+
| width="39" |
</TD>
+
| width="62" |
<TD WIDTH=52>
+
x
<P ALIGN=CENTER>x</P>
+
| width="13" |
</TD>
+
| width="71" |
<TD WIDTH=31>
+
| width="61" |
<P ALIGN=CENTER>x</P>
+
| width="52" |
</TD>
+
| width="31" |
<TD WIDTH=60></TD>
+
| width="60" |
</TR>
+
|}
<TR>
 
<TD WIDTH=152>
 
<P>GUI based tool</P>
 
</TD>
 
<TD WIDTH=58></TD>
 
<TD WIDTH=41></TD>
 
<TD WIDTH=56>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=39>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=62></TD>
 
<TD WIDTH=13>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=71></TD>
 
<TD WIDTH=61></TD>
 
<TD WIDTH=52>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=31>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=60>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
</TR>
 
<TR>
 
<TD WIDTH=152>
 
<P>Live video view</P>
 
</TD>
 
<TD WIDTH=58></TD>
 
<TD WIDTH=41></TD>
 
<TD WIDTH=56>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=39>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=62></TD>
 
<TD WIDTH=13></TD>
 
<TD WIDTH=71></TD>
 
<TD WIDTH=61></TD>
 
<TD WIDTH=52>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=31>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=60>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
</TR>
 
<TR>
 
<TD WIDTH=152>
 
<P>make use of circular bufer</P>
 
</TD>
 
<TD WIDTH=58></TD>
 
<TD WIDTH=41>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=56>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=39></TD>
 
<TD WIDTH=62>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=13>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=71></TD>
 
<TD WIDTH=61></TD>
 
<TD WIDTH=52></TD>
 
<TD WIDTH=31></TD>
 
<TD WIDTH=60></TD>
 
</TR>
 
<TR>
 
<TD WIDTH=152>
 
<P>EXIF support</P>
 
</TD>
 
<TD WIDTH=58>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=41>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=56>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=39></TD>
 
<TD WIDTH=62>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=13>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=71>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=61>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=52></TD>
 
<TD WIDTH=31></TD>
 
<TD WIDTH=60></TD>
 
</TR>
 
<TR>
 
<TD WIDTH=152>
 
<P>setting the sensor parameters</P>
 
</TD>
 
<TD WIDTH=58>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=41></TD>
 
<TD WIDTH=56></TD>
 
<TD WIDTH=39></TD>
 
<TD WIDTH=62>
 
<P ALIGN=CENTER>x</P>
 
</TD>
 
<TD WIDTH=13></TD>
 
<TD WIDTH=71></TD>
 
<TD WIDTH=61></TD>
 
<TD WIDTH=52></TD>
 
<TD WIDTH=31></TD>
 
<TD WIDTH=60></TD>
 
</TR>
 
</TABLE>
 
  
 
= tools =
 
= tools =
Line 500: Line 371:
  
 
== on camera HD/CF write support ==
 
== on camera HD/CF write support ==
On camera IDE HD, CF card or USB-storage-device can be connected to the camera truth [[10349 | 10349 additional IO board]]
+
On camera IDE/SATA HD, CF card or USB-storage-device can be connected to the camera truth [[10369 | 10369 additional IO board]]

Latest revision as of 01:56, 19 April 2010

This page describe different ways to get image or video from the camera and link to more detailed wiki pages.

tools and capabilities table

On the Elphel 353 camera

On remote PC / MAC

ccam.cgi

imgsrv

camogm

camvc

PHP API

str

ElphelOgm

ElphelSrv

MPlayer

VLC

Quicktime

supported formats

JPEG/JP4 image

x

x

x

Quicktime MOV video

x

x

x

x

MJPEG/OGM video

x

x

x

x

x

x

x

supported protocols

HTTP support

x

x

x

x

FTP upload support

x

NFS write support

x

RTP support

x

x

x

x

x

x

HD / CF / USB support

on camera HD/CF write support

x

x

x

x


x

remote PC HD write support

x

x

x

x

x


x

x

x

x

x

Features

command line based tool

x

x

x

x

x

x

GUI based tool

x

x

x

x

x

x

Live video view

x

x

x

x

x

make use of circular bufer

x

x

x

x

EXIF support

x

x

x

x

x

x

x

setting the sensor parameters

x

x

tools

ccam.cgi

Ccam.cgi allow to set sensor parameters and get images through HTTP GET method. This is actually the most complete interface to sensors settings, but will soon become obsolete with our new PHP API.

imgsrv

imgsrv is the fastest way to get images via HTTP. It make use of the circular buffer and can mark images with EXIF data.

camogm

camogm is a command line application running on the camera (can be controlled truth PHP) what can record on a HD/CF/USB-storage-device connected to the camera. It does support EXIF, MJPEG/OGM, Quicktime MOV, JPEG, JP4.

PHP API

PHP_in_Elphel_cameras allow you to set sensor parameters, get images, do any funky stuff what PHP can do.

ElphelOgm

ElphelSrv

MPlayer

VLC

See the full article more information.

To use VLC, first turn on camera streaming. Open vlc and select file > "open network stream". You will be presented with a menu. Select "RTSP" and input the url. Then, in the advanced options, select "Stream/Save" and check the settings to fit your needs.

Again, there is more information in the main article

camvc

capabilities

EXIF

Here is our Exif data table description. EXIF data can be controlled in PHP as described in Exif_init.php

Circular Buffer

NFS

on camera HD/CF write support

On camera IDE/SATA HD, CF card or USB-storage-device can be connected to the camera truth 10369 additional IO board