JVC 257VP, 137, 237VP, VN-H57, 157WP, VN-H37 specifications Example of MPEG-4 Stream

Page 16

Ratio of I-VOP and P-VOP depends on I-Frame interval setting. Encode page of Web has the setting.

First VOP can be I-VOP or P-VOP. If client want to decode from I-VOP, please skip P-VOP and wait first I-VOP.

Example of MPEG-4 Stream

HTTP response

P-VOP

P-VOP

P-VOP

VOL

I-VOP

P-VOP

~

There are VOL, Userdata1, GOV and Userdata2 before each I-VOP.

Data structure before I-VOP

 

Item

 

 

 

Note

 

 

VOL

 

 

 

VOL of MPEG-4 Video

 

 

Userdata1

 

 

 

Reserved

 

 

GOV

 

 

 

GOV of MPEG-4 Video

 

 

Userdata2

 

 

 

Userdata

 

 

Data structure of Userdata2

 

 

 

 

 

 

 

 

 

 

 

Item

Size

Example

 

Note

 

Start code

4

0x000001B2

 

Start code of User data in MPEG-4 stream.

 

Model Name

18

type = VN-H137

 

Product Name

 

Time Stamp

70

timestamp

=

This is made up of the year/month/day,

 

 

 

2012030623341253

hour/minute/second, millisecond and timezone code.

 

 

 

8UTC

 

 

 

 

Camera ID

50

camera = input01

Camera ID that user can define

 

Motion Detect Result

7

md = 1

 

Specified as 1 if motion is detected at the time when

 

 

 

 

 

data is created.

 

Tampering Detect

14

tampering = 0

 

Specified as 1 if tampering is detected at the time when

 

Result

 

 

 

data 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 1.00 to 8.00.

 

Preset Posision

15

position = 19

 

Indicates preset position number after moving to

 

Number

 

 

 

preset position. In other cases, position = NA.

16

Image 16
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 camera Example of H.264 Stream JVC Protocol MPEG-4 Streaming MPEG-4 Stream Format Send Out by the camera Example of MPEG-4 Stream API to Search Camera URIJpeg H.264Procedure Using API that Requires Basic AuthenticationResponse Example System.id=VN-H37192.168.0.2/24&200 Okcrlf Getting Parameter Api/param?ParamA.ParamB.ParamCApi/param?ParamA.ParamB.ParamC&ParamA.ParamD.ParamE ParamA.ParamB.ParamC=Data&200 OKJVC API for Camera Setting ParameterGetting Camera ID Setting Camera ID Example of setting /api/param?camera.id=Camera01Getting Current Scene File Number As follows. /api/param?camera.id=Comment%20In%20JPEGLoading/Saving/Initializing Scene File Getting Preset Data of Scene FileGetting Current Scene File Name Setting Auto Exposure Reference of a Scene File Setting Color Level of a Scene FileGetting Auto Exposure Reference of a Scene File Getting Color Level of a Scene FileSetting Enhance of a Scene File Setting 3DDNR of a Scene FileGetting Enhance of a Scene File Getting 3DDNR of a Scene FileSetting White Balance of a Scene File Setting R-Gain of White Balance of a Scene FileGetting R-Gain of White Balance of a Scene File Getting B-Gain of White Balance of a Scene FileSetting B-Gain of White Balance of a Scene File Setting AGC of a Scene FileSetting Limit of Sense Up of a Scene File Getting AGC of a Scene FileSetting ALC priority of Scene File Setting Shutter Speed of a Scene FileGetting ALC priority of Scene File Getting Shutter Speed of a Scene FilePage Setting Back Light Compensation of a Scene File Setting Clvi of a Scene FileGetting Back Light Compensation of a Scene File Getting Clvi of a Scene FileSetting Compression Format Getting Resolution Frame SizeJVC API for Encode Getting Compression FormatGetting Rate Control Setting Setting Resolution Frame SizeSetting Rate Control Setting H.264 or MPEG-4 bitrate Getting Jpeg File Size SettingSetting Jpeg File Size Getting H.264 or MPEG-4 I-Frame Interval SettingSetting H.264 or MPEG-4 I-Frame Interval Getting Frame Rate SettingSetting Frame Rate Setting Monitor Out StatusGetting Audio Duplex Mode Setting Audio Duplex ModeSetting Mike Gain JVC API for Audio VN-H57/157WP/257/257VPJVC API for Alarm Getting Mike Power Supply settingSetting Mike Power Supply Getting On/Off of Alarm ActionGetting Alarm Action Format /api/param?application.eventNumber.actionApi/param?application.event1.action Example of Response 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 TypeGetting Alarm Trigger Setting Alarm TriggerFormat /api/param?application.eventNumber.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 Address Setting Setting Smtp Server AddressGetting Smtp Server Port Number Setting Setting Smtp Server Port NumberSetting Sender Mail Address Getting POP before Smtp SettingSetting POP before Smtp Getting POP Server Address SettingSetting POP Server Address Getting POP Server Port Number SettingSetting POP Server Port Number Getting POP Server User Name SettingSetting POP Server Password Getting FTP Server Address SettingSetting FTP Server Address Example of Response application.pop.user&200 OKGetting FTP Server Path Setting Setting FTP Server PathGetting FTP Server User Name Setting Setting FTP Server User NameSetting FTP Server Password Setting File Naming of Periodic FTPApi/param?application.ftp.password=%00 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 Setting SD Card to Use/Disable Setting SD Card Constant Recording On/OffGetting Status of SD Card formatting Formatting SD CardSetting Encoder No. for SD Card Recording Getting SD Card CapacityGetting SD Card Recording Status Getting Encoder No. for SD Card RecordingSetting Auto Return Mode Getting Auto Return ModeJVC API for Digital PTZ Getting Timeout of Auto Return Setting Timeout of Auto ReturnSetting Auto Return Status Getting Speed of Going to Preset PositionSetting Speed of Going to Preset Position Setting Direction of Pan OperationGetting Pan Position Moving to Specified Pan PositionSetting Speed of Pan Operation Getting Pan Operation StatusGetting Tilt Position Moving to Specified Tilt PositionSetting Direction of Tilt Operation Setting Speed of Tilt OperationGetting Tilt Operation Status Getting Zoom PositionSetting Direction of Zoom Operation Setting Speed of Zoom OperationZoom Operation Getting Zoom Operation StatusGetting Current Preset Position Getting Status of Specified Preset PositionRegister Current Position as Preset Position Initialize Preset PositionJVC API for Auto Patrol Getting Preset Postion Number of Auto Patrol Setting Preset Postion Number of Auto PatrolSetting Duarion of Auto Patrol Getting Duration of Auto PatrolSetting Speed of Auto Patrol Saving Preset Position Number/Duarion of Auto PatrolJVC API for Privacy Masking Getting Speed of Auto PatrolSetting Privacy Masking to On/Off Setting Privacy Masking ColorGetting 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 Setting Tampering Detect to On/Off Setting Tampering Detect SensitivityGetting Tampering Detect On/Off Status Getting Tampering Detect SensitivityEnabling Network Setting Changes Getting Dhcp SettingSetting Dhcp Allowed user adminSetting IP Address Setting Subnet MaskGetting Default Gateway Getting IP AddressSetting Default Gateway Setting Host NameSetting DNS Server Status to On/Off, or Validate Changes Getting Host NameSetting DNS Server IP Address Setting IPv6 statusGetting DNS Server IP Address Getting IPv6 statusSetting TOS Value of Stream Getting Global Address of IPv6Getting MAC Address Getting TOS Value of StreamSetting Unicast TTL Setting Multicast TTLGetting Unicast TTL Value Getting Multicast TTL ValueSetting MTU Value Getting Network Negotiation SettingSetting Network Negotiation JVC API for ProtocolSetting Port Number of Http Setting Status of AMX Discovery ProtocolSetting Status of Psia Protocol Getting Status of AMX Discovery ProtocolSetting Status of Onvif Protocol Setting Status of Multicast Streaming, or Save ChangesJVC API for Multicast Streaming Getting Status of Onvif ProtocolSetting Multicast Address Setting Multicast Port NumberGetting Multicast Address Getting Multicast Port NumberGetting Status of Audio Multicast Streaming Setting Frame Rate of Jpeg MulticastGetting Audio Multicast Address JVC API for Access Restrictions Setting Audio Multicast AddressSetting Audio Multicast Port Number Getting Deny/Allow Setting of Client RestrictionsSetting Client Restriction to Deny/Allow Getting IP Address Setting of Restricted ClientSetting IP Address of Restricted Client Format /api/param?network.accesscontrolstreamout.hostNumberSetting On/Off of Sntp Client, or Validate Changes Setting NTP Server AddressJVC API for Time Getting On/Off of Sntp ClientGetting Access Interval to NTP Server Setting Access Interval to NTP ServerGetting Access Interval Unit of NTP Setting Access Interval Unit of SntpSetting Time Getting TimezoneJVC API for Password Setting TimezoneSetting Password of admin Format /api/param?system.password.adminnum=data2JVC API for Maintenance Setting Password of operatorSetting Password of user Delete AcountJVC API for LED Setting Getting LED blinking mode Setting LED blinking modeJVC API for Getting Status Getting Sending StatusAlarm input 1ch make Getting LogGetting Model Name Format /api/param?system.logGetting Alarm Input Status VN-H57/157/257 Getting Mode of FTP ServerJVC API for Others Getting Firmware RevisionsSetting Mode of FTP Server Setting Control Port Number of FTP ServerSetting Port Number of Rtsp 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 Protocols and Port Numbers Used Customizing Built-in ViewerList of ActiveX 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