Author Topic: Mobotix Metadata Format  (Read 2228 times)

fluxorsist

  • Newbie
  • *
  • Posts: 3
Mobotix Metadata Format
« on: September 19, 2013, 08:37:38 AM »
Hi everyone,

I have some images coming from a Mobotix S15 camera that I'd like to read the metadata from. (http://www.mobotix.com/other/Products/Cameras/FlexMount-S15) Mobotix seems to store the metadata in the comment section using their own format.

Is it possible to support this metadata format in ExifTool? It would be a great help since it would allow us to use our existing scripts to read the metadata of images coming from different sources.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14752
    • ExifTool Home Page
Re: Mobotix Metadata Format
« Reply #1 on: September 19, 2013, 10:32:10 AM »
Unfortunately this metadata is stored in the JPEG comment:

Code: [Select]
> exiftool ~/Desktop/m130919103610145-002298.jpg -comment -b
#:M1IMG
SECTION FINGERPRINT
VER=1.0
PRD=MOBOTIX
FRM=3048073
DAT=2013-09-19
TIM=10:36:10.145
TZN=CEST
TIT=1379579770.145
ENO=2298 
IMT=IMAGE
ENDSECTION FINGERPRINT
SECTION IMAGE
CTY=DUAL
SSU=ENABLED
ICC=MxPEG
ICB=8192
FRJ=9
FRB=143
FRL=160
XTO=640
YTO=480
RQM=1
QLT=60
CAM=LEFT
CAS=AUTO
CHN=LIVE
DPM=SIMPLE,SIMPLE
PCA=INACTIVE
WIN=lt=0,0:rb=639,479:cam=1:flags=fp:v=137:usx=259:usy=259:isr=5
VLG=0
YPR=0:0:0,0:0:0
CMX=46714,46714
CMY=35036,35036
ZOM=1000,1000
PAX=0,-567
PAY=0,-4
SBX=s1b1,s2b2
SBY=s1b1,s2b2
FSX=65536,65536
FSY=65536,65536
PSR=0,0
MIR=NONE,NONE
ROT=0,0
ACT=AUTO,AUTO
SRP=4,4
BRT=0,0
BLT=4,4
CSA=-10,0
BBL=0,0
RBL=0,0
NSM=LOW,LOW
EXW=100,100
WBW=TOTAL,TOTAL
AVB=398,398
AMB=199,199
ACC=0>0,168>0,3833>4080,4080>4080 0>0,88>0,3923>4080,4080>4080
ACU=0>0,168>0,3833>4080,4080>4080 0>0,88>0,3923>4080,4080>4080
EXB=5,5
GNG=5120,2048
GNR=5120,2432
GNB=5120,3328
GN2=5120,2048
CUG=1076,1084
CUR=1076,1074
CUB=1076,1074
CU2=1076,1081
CNG=1076,1083
CNR=1076,1074
CNB=1076,1076
CN2=1076,1080
BLG=167,164
BLR=168,163
BLB=168,163
BL2=167,163
BMG=167,164
BMR=168,163
BMB=168,163
BM2=167,163
CCG=1690,1624
CCR=1686,1599
CCB=1698,1580
CC2=1694,1629
WBG=0,2271
WBR=0,2289
WBB=0,2291
WB2=0,2277
WBL=100,100
GDG=1024,1024
GDR=1024,1024
GDB=1024,1024
GD2=1024,1024
EXC=0,0
EXI=160,160
EXA=160000,160000
EXP=0,1591
ICL=tc.k,..zh
ICR=0,641
ICE=0,0
ICS=1,207
LFQ=50
ENDSECTION IMAGE
SECTION ID
MAC=00:03:C5:0C:D0:09
NAM=Oudreemstzuid
ET0=10.0.1.198
SWV=MX-V4.1.6.27
UPT=285048
TSI=
PTS=0
NTS=0
BTM=2
CFL=S15D-Sec
TYP=2
BRD=4.2
RAM=268435456
CLK=806
ENDSECTION ID
SECTION SENSORS
BTR=0
BTL=0
LXL=18417
ILL=653
TIN=129
ENDSECTION SENSORS
SECTION EVENT
EVD=RUN
EPR=IMA:AS,SIG:UC
AST=(FT),REC,FR
REC=EVNT
TIP=10
TIS=10
SCF=100
SEF=0
ECT=2288
ALC=2298
VAS=HIDE
LED=2013-09-19
LET=03:19:51
PEV=IMA:AS,2298.0
PEV=SIG:UC,37.0
ENDSECTION EVENT
MXF? ?
         ??#r????.?F& ??7)f`)d@)c)f?
                                      7Q:R? ?
?????-7"9 
??-7"9??????
            ? |???-7"9 ?

So you will have to extract what you want from the comment text.

There also seems to be a bit of binary data after the text, but this could just be garbage.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).