JVC 137, 257VP, 237VP, VN-H57, 157WP, VN-H37 Jpeg File Format Sent Out by the camera, FFD9

Page 10

Refer the instruction manual for detailed infomation.

2.5.JPEG File Format Sent Out by the camera

JPEG file from the camera is JFIF compliant and consist of the following.

FFD8

Start Code

FFE0

Application Segment

FFFE

Comment Segment 1

FFFE

Comment Segment 2 (reserved)

FFC4

DHT Huffman Table

FFDB

DQT Quantization Table

FFDD

DRI Restart Interval

FFC0

SOF Frame Information

FFDA

Data Start Segment

FFD9

End Code

The following information is stored in the comment segment 1. Each item has a fixed length.

Item

Size

Example

 

Note

Version Information

9

JVC V1.0

 

Indicates the version of information stored in the

 

 

 

 

comment segment.

File Size

18

size = 123456

 

Indicates JPEG size in bytes.

Width

13

width = 1920

 

Width of JPEG.

Height

14

height = 1080

 

Height of JPEG.

Model Name

18

type = VN-H137

 

Name of model that created the JPEG.

(reserved)

12

reverse = 0

 

(reserved)

Time Stamp

70

timestamp

=

Indicates the time when the JPEG is created. This is

 

 

2012030623341253

made up of the year/month/day, hour/minute/second,

 

 

8UTC

 

millisecond and timezone code.

 

 

 

 

(reserved)

13

alarm = 00000000

 

(reserved)

Camera ID

50

camera = input01

 

Stores camera information set at VN-X35/235.

Motion Detect Setting

11

motion = 1

 

Specified as 1 when the motion detect is ON.

Motion Detect Result

7

md = 1

 

Specified as 1 if motion is detected at the time when

 

 

 

 

JPEG is created.

Tampering Detect

14

tampering = 0

 

Specified as 1 if tampering is detected at the time when

Result

 

 

 

JPEG is created.

Pan position

16

digipan = 123

 

Indicates pan position in pixels from 0 to 1278.

Tilt position

17

digitilt = 123

 

Indicates tilt position in pixels from 0 to 958.

Zoom position

17

digizoom = 1.23

 

Indicates zoom value from 0.25 to 8.00.

Preset Posision

15

position = 19

 

Indicates preset position number after moving to

Number

 

 

 

preset position. In other cases, position = NA.

Item names and values, excluding the version information that does not include =, are stored in the following

format.

name

space

=

space

value

(stuffed with 0x00)

fixed length for each item

10

Image 10
Contents VN-H37/137/237/237VP VN-H57/157WP/257/257VP Updates Page Preface JVC API for Alarm FAQ Streaming Protocol Basic ProceduresJVC Protocol Jpeg Streaming API Format Structure Parameter DescriptionResponse RestrictionsJpeg File Format Sent Out by the camera FFD9JVC Protocol H.264 Streaming When API is successfully received H.264 Stream Format Send Out by the cameraExample of H.264 Stream JVC Protocol MPEG-4 Streaming MPEG-4 Stream Format Send Out by the camera Example of MPEG-4 Stream Jpeg API to Search CameraURI H.264Procedure Using API that Requires Basic AuthenticationResponse Example System.id=VN-H37192.168.0.2/24&200 Okcrlf Api/param?ParamA.ParamB.ParamC&ParamA.ParamD.ParamE Getting ParameterApi/param?ParamA.ParamB.ParamC ParamA.ParamB.ParamC=Data&200 OKJVC API for Camera Setting ParameterGetting Camera ID Getting Current Scene File Number Setting Camera IDExample of setting /api/param?camera.id=Camera01 As follows. /api/param?camera.id=Comment%20In%20JPEGLoading/Saving/Initializing Scene File Getting Preset Data of Scene FileGetting Current Scene File Name Getting Auto Exposure Reference of a Scene File Setting Auto Exposure Reference of a Scene FileSetting Color Level of a Scene File Getting Color Level of a Scene FileGetting Enhance of a Scene File Setting Enhance of a Scene FileSetting 3DDNR of a Scene File Getting 3DDNR of a Scene FileGetting R-Gain of White Balance of a Scene File Setting White Balance of a Scene FileSetting R-Gain of White Balance of a Scene File Getting B-Gain of White Balance of a Scene FileSetting Limit of Sense Up of a Scene File Setting B-Gain of White Balance of a Scene FileSetting AGC of a Scene File Getting AGC of a Scene FileGetting ALC priority of Scene File Setting ALC priority of Scene FileSetting Shutter Speed of a Scene File Getting Shutter Speed of a Scene FilePage Getting Back Light Compensation of a Scene File Setting Back Light Compensation of a Scene FileSetting Clvi of a Scene File Getting Clvi of a Scene FileJVC API for Encode Setting Compression FormatGetting Resolution Frame Size Getting Compression FormatGetting Rate Control Setting Setting Resolution Frame SizeSetting Rate Control Setting Jpeg File Size Setting H.264 or MPEG-4 bitrateGetting Jpeg File Size Setting Getting H.264 or MPEG-4 I-Frame Interval SettingSetting Frame Rate Setting H.264 or MPEG-4 I-Frame IntervalGetting Frame Rate Setting Setting Monitor Out StatusSetting Mike Gain Getting Audio Duplex ModeSetting Audio Duplex Mode JVC API for Audio VN-H57/157WP/257/257VPSetting Mike Power Supply JVC API for AlarmGetting Mike Power Supply setting Getting On/Off of Alarm ActionApi/param?application.event1.action Example of Response Getting Alarm ActionFormat /api/param?application.eventNumber.action Example of Response application.event1.action=&200 OKReturned. Segments are indicated by Setting Example Setting Alarm ActionFormat /api/param?application.eventNumber.action=Data To add JPEG, specify objectNumber instead of none Getting Alarm Filter Setting Setting Alarm FilterGetting Alarm Filter Time Setting Alarm Filter TimeGetting Alarm Filter Type Setting Alarm Filter TypeFormat /api/param?application.eventNumber.trigger Getting Alarm TriggerSetting Alarm Trigger Format /api/param?application.eventNumber.trigger=dataSetting Example /api/param?application.event1.trigger=v1 JVC API for Alarm EnvironmentSetting Example /api/param?application.event6.trigger=i1500 Getting Smtp Server Port Number Setting Getting Smtp Server Address SettingSetting Smtp Server Address Setting Smtp Server Port NumberSetting POP before Smtp Setting Sender Mail AddressGetting POP before Smtp Setting Getting POP Server Address SettingSetting POP Server Port Number Setting POP Server AddressGetting POP Server Port Number Setting Getting POP Server User Name SettingSetting FTP Server Address Setting POP Server PasswordGetting FTP Server Address Setting Example of Response application.pop.user&200 OKGetting FTP Server User Name Setting Getting FTP Server Path SettingSetting FTP Server Path Setting FTP Server User NameApi/param?application.ftp.password=%00 Setting FTP Server PasswordSetting File Naming of Periodic FTP Getting File Naming of Periodic FTPGetting User Define Name of File Naming Setting User Define Name of File NamingGetting Parameters of Pre/Post Recording for FTP JVC API for SD Card Record Setting Parameters of Pre/Post Recording for FTPGetting SD Card Status Getting Status of SD Card formatting Setting SD Card to Use/DisableSetting SD Card Constant Recording On/Off Formatting SD CardGetting SD Card Recording Status Setting Encoder No. for SD Card RecordingGetting SD Card Capacity Getting Encoder No. for SD Card RecordingSetting Auto Return Mode Getting Auto Return ModeJVC API for Digital PTZ Setting Auto Return Status Getting Timeout of Auto ReturnSetting Timeout of Auto Return Getting Speed of Going to Preset PositionGetting Pan Position Setting Speed of Going to Preset PositionSetting Direction of Pan Operation Moving to Specified Pan PositionGetting Tilt Position Setting Speed of Pan OperationGetting Pan Operation Status Moving to Specified Tilt PositionGetting Tilt Operation Status Setting Direction of Tilt OperationSetting Speed of Tilt Operation Getting Zoom PositionZoom Operation Setting Direction of Zoom OperationSetting Speed of Zoom Operation Getting Zoom Operation StatusRegister Current Position as Preset Position Getting Current Preset PositionGetting Status of Specified Preset Position Initialize Preset PositionJVC API for Auto Patrol Setting Duarion of Auto Patrol Getting Preset Postion Number of Auto PatrolSetting Preset Postion Number of Auto Patrol Getting Duration of Auto PatrolJVC API for Privacy Masking Setting Speed of Auto PatrolSaving Preset Position Number/Duarion of Auto Patrol Getting Speed of Auto PatrolGetting Privacy Masking Color Setting Privacy Masking to On/OffSetting Privacy Masking Color Getting Privacy Masking AreaSetting Motion Detect Sensitivity Setting Motion Detect to On/OffGetting Motion Detect Sensitivity JVC API for Tampering Detect Setting Motion Detect MaskGetting Motion Detect Mask Getting Tampering Detect On/Off Status Setting Tampering Detect to On/OffSetting Tampering Detect Sensitivity Getting Tampering Detect SensitivitySetting Dhcp Enabling Network Setting ChangesGetting Dhcp Setting Allowed user adminGetting Default Gateway Setting IP AddressSetting Subnet Mask Getting IP AddressSetting DNS Server Status to On/Off, or Validate Changes Setting Default GatewaySetting Host Name Getting Host NameGetting DNS Server IP Address Setting DNS Server IP AddressSetting IPv6 status Getting IPv6 statusGetting MAC Address Setting TOS Value of StreamGetting Global Address of IPv6 Getting TOS Value of StreamGetting Unicast TTL Value Setting Unicast TTLSetting Multicast TTL Getting Multicast TTL ValueSetting Network Negotiation Setting MTU ValueGetting Network Negotiation Setting JVC API for ProtocolSetting Status of Psia Protocol Setting Port Number of HttpSetting Status of AMX Discovery Protocol Getting Status of AMX Discovery ProtocolJVC API for Multicast Streaming Setting Status of Onvif ProtocolSetting Status of Multicast Streaming, or Save Changes Getting Status of Onvif ProtocolGetting Multicast Address Setting Multicast AddressSetting Multicast Port Number Getting Multicast Port NumberGetting Status of Audio Multicast Streaming Setting Frame Rate of Jpeg MulticastGetting Audio Multicast Address Setting Audio Multicast Port Number JVC API for Access RestrictionsSetting Audio Multicast Address Getting Deny/Allow Setting of Client RestrictionsSetting IP Address of Restricted Client Setting Client Restriction to Deny/AllowGetting IP Address Setting of Restricted Client Format /api/param?network.accesscontrolstreamout.hostNumberJVC API for Time Setting On/Off of Sntp Client, or Validate ChangesSetting NTP Server Address Getting On/Off of Sntp ClientGetting Access Interval Unit of NTP Getting Access Interval to NTP ServerSetting Access Interval to NTP Server Setting Access Interval Unit of SntpSetting Time Getting TimezoneSetting Password of admin JVC API for PasswordSetting Timezone Format /api/param?system.password.adminnum=data2Setting Password of user JVC API for MaintenanceSetting Password of operator Delete AcountJVC API for LED Setting JVC API for Getting Status Getting LED blinking modeSetting LED blinking mode Getting Sending StatusGetting Model Name Alarm input 1ch makeGetting Log Format /api/param?system.logJVC API for Others Getting Alarm Input Status VN-H57/157/257Getting Mode of FTP Server Getting Firmware RevisionsSetting Port Number of Rtsp Server Setting Mode of FTP ServerSetting Control Port Number of FTP Server Getting Control Port Number of FTP ServerExample /api/param?network.rtsp.port=554 Camera Response When API is successfully received Sending Audio to the Camera VN-H57/157WP/257/257VPProcedures CameraGetting SD Card data from the Camera via RTSP/RTP Playback controlExample of message sequence Getting Total Number of Files and File Size Exporting H.264 data from SD Card to the PC1fCRLF Exporting SD Card Data as a File List of ActiveX List of Protocols and Port Numbers UsedCustomizing Built-in Viewer Protocol / Port Number UseHow to download ActiveX controls Properties of ActiveX102 Method of ActiveX Control How to use ActiveX Control by HtmlDirection Number of n Html Sample Sample code105 106 107 FAQ Psia