Integrated Camera Interface Specifications

Supplement for Web Control
Target Models
AW-UE4 (Ver.2.05)
AW-HE20/AW-UE20 (Ver.1.27)

Panasonic Entertainment & Communication Co., Ltd.

Table of Contents
1. Introduction............................................................................................................................................... 2
2. CGI List for Video Transmission ............................................................................................................... 3
2.1. Transmission User Management ........................................................................................................ 3
2.2. JPEG-based Image Transmission ...................................................................................................... 4
2.3. Image Transmission Sequence based on MJPEG ............................................................................. 7
2.4. Image Transmission Sequence based on JPEG Image 1 shot ........................................................... 8
3. CGI List for Various Settings..................................................................................................................... 93.1. Basic Settings .................................................................................................................................... 93.2. Video over IP Settings ...................................................................................................................... 103.3. Network Settings .............................................................................................................................. 113.4. Restarting......................................................................................................................................... 124. CGI List for Acquisition of Different Types of Information ........................................................................ 13
4.1. Basic Settings Information Acquisition.............................................................................................. 13
4.2. Priority Mode Acquisition .................................................................................................................. 134.3. VideoOverIP Screen Information Acquisition .................................................................................... 13
4.4. Network Settings Information Acquisition ......................................................................................... 144.5. System Log Information Acquisition ................................................................................................. 15
5. CGI List for RTMP Control ...................................................................................................................... 16
5.1. RTMP Stream control ....................................................................................................................... 16
5.2. RTMP Stream Status Aquisition ....................................................................................................... 16
5.3. RTMP Server Setting ....................................................................................................................... 16
5.4. RTMP Server Setting Acquisition ..................................................................................................... 17
6. About Control Based on RTSP ............................................................................................................... 18
6.1. About the URLs for an RTSP Request ............................................................................................. 18

Integrated Camera Interface Specifications / Supplement for Web Control

11. Introduction
This manual describes the specifications for video transmission and network application operation when aremote camera is operated via the network. For details on the general camera operations of the remotecamera, see the separate volume "HD Integrated Camera Interface Specifications".
Panasonic shall not take any responsibility of damages caused as a result of the use of this information.
This information may be changed without prior notice due to upgrade of product version in future. The usage
examples are only reference examples for this series. Support cannot be offered for each program.
Moreover, some information of the communication between the camera and browser is not disclosed.

About the access levels
In this manual, "Live" and "Admin" are defined as the access levels. The necessity of the ID/password during
CGI execution is changed from the User auth. menu of the remote camera.
When User auth. is OFF (factory settings):
Live (Video acquisition and camera control)
Admin (All SETUP controls)
When User auth. is ON:
Live (Video acquisition and camera control)
Admin (All SETUP controls)... Authentication not necessary... ID/password for Administrator authority are necessary... ID/password for camera control
or Administrator authority are necessary... ID/password for Administrator authority are necessary

About the priority mode
The type of CGI that can be executed and the range of parameter values differ depending on the priority mode ofthe remote camera.
For details, see the instruction manual.

Integrated Camera Interface Specifications / Supplement for Web Control

22. CGI List for Video Transmission
2.1. Transmission User Management
MethodAccess level: GET: LiveCGI item name
Transmission userURL/cgi-bin/getuidmanagement

Parameter

Parameter

namevalue

Description

FILE

22 (Fixed)

vcodecjpeg

jpeg: During JPEG transmission

h264

h264: During H.264 transmission

h265

h265: During H.265 transmission

browser

Command response format

info

specification (can be omitted)

replybrowser: for the camera browser
info: for the application

Usage example) Acquisition of user ID (during H264 transmission)
http://192.168.0.10/cgi-bin/getuid?FILE=2&vcodec=h264
The response data is as shown below.
UID=< User ID >[CR][LF]

The description of the response data is as shown below.
Item
UID

Value of response
Numeric value

Description
User ID

Integrated Camera Interface Specifications / Supplement for Web Control3

2.2. JPEG-based Image Transmission
MethodAccess level: GET: LiveCGI item nameURLParameter

Parameter value

Description

name
JPEG image/cgi-bin/jpeg

connecttransmission(MJPEG)

frameratestart

start: Starts JPEG image transmission

stop

stop: Stops JPEG image transmission[60Hz/59.94Hz]

10 fps (1280x720 only for AW-UE4)

1030 (25) fps : 640 x 360 only30

The values within () are for the case

[50Hz]

when the system frequency is 50 Hz

1025resolution
UID

640

640: 640 x 360

1280

1280: 1280 x 720

Numeric value

User ID* UID acquired by /cgi-bin/getuid

JPEG image/cgi-bin/mjpeg

resolution

transmission(MJPEG)

framerate640640: 640 x 360

1280

1280: 1280 x 720[60Hz/59.94Hz]

10 fps (1280x720 only for AW-UE4)

1030 (25) fps : 640 x 360 only30

The values within () are for the case

[50Hz]

when the system frequency is 50 Hz

1025
JPEG image/cgi-bin/view.c

1shot request

gi

JPEG image/cgi-bin/camer

1shot request

aactionsnapshotsnapshot: Acquires one JPEG image

resolution

640

640: 640 x 360

1280

1280: 1280 x 720

Numeric value

Dummy for disabling cache

pageIntegrated Camera Interface Specifications / Supplement for Web Control4

[Notes]
In a remote camera, various techniques are provided for acquisition of a JPEG video. Use the technique
suitable to your purpose.
MJPEG
By continuously displaying the videos that arrive, a movie display can be realized.
The frame rate is decided based on the arguments.
Depending on the software and hardware at the receiving side, some frame rates may not be supported.
JPEG image 1 shot
By repeating the processes of acquisition, display, and standby for a single JPEG image, a movie
display can be realized.
The frame rate is decided according to the standby time in the software and hardware at the receivingside.

The characteristics of each CGI of MJPEG are as described below.
/cgi-bin/jpeg
When CGI is called once, the MJPEG stream is transmitted continuously.
Before calling, the acquisition of UID with /cgi-bin/getuid is necessary.
Specific usage examples and sequences are described in the next chapter.
/cgi-bin/mjpeg
When CGI is called once, the MJPEG stream is transmitted continuously.
Before calling, the acquisition of UID with /cgi-bin/getuid is not necessary.
It is used when calling JPEG from some mobile terminals.
Usage example) When acquiring a 1280 x 720 video in 10 fps in the MJPEG format:
http://192.168.0.10/cgi-bin/mjpeg?resolution=1280&framerate=10Usage example) When acquiring a 640 x 360 video in 30 fps in the MJPEG format:
http://192.168.0.10/cgi-bin/mjpeg?resolution=640&framerate=30
Usage example) When acquiring a 1280 x 720 video in 10 fps in the MJPEG format (parameteromitted):
http://192.168.0.10/cgi-bin/mjpeg

Integrated Camera Interface Specifications / Supplement for Web Control5

The characteristics of each CGI of JPEG image 1 shot are as described below.
/cgi-bin/view.cgi
When CGI is called once, only one JPEG image is transmitted.
Before calling, the acquisition of UID with /cgi-bin/getuid is not necessary.
Not supported by other than 1280 x 720, 640 x 360 resolution which is set by set_jpeg command.
Usage example) When acquiring a 640 x 360 video through a JPEG image 1 shot request:
http://192.168.0.10/cgi-bin/view.cgi?action=snapshot&n=3333<Appropriate standby time>
http://192.168.0.10/cgi-bin/view.cgi?action=snapshot&n=3334<Appropriate standby time>
http://192.168.0.10/cgi-bin/view.cgi?action=snapshot&n=3335/cgi-bin/camera
When CGI is called once, only one JPEG image is transmitted.
Before calling, the acquisition of UID with /cgi-bin/getuid is not necessary.

Integrated Camera Interface Specifications / Supplement for Web Control

6

2.3. Image Transmission Sequence based on MJPEG
Camera(server)

Client/cgi-bin/getuid?FILE=2&vcodec=jpeg&page=<page>

Ex. page=2345

200 OK

Ex. UID=12345/cgi-bin/jpeg?connect=start&framerate=30&resolution=640&UID=<UID>
200 OKHTTP JPEG stream 640x360/30fps

MJPEG Sequence

Integrated Camera Interface Specifications / Supplement for Web Control

7

2.4. Image Transmission Sequence based on JPEG Image 1 shot
Camera(server)

Client/cgi-bin/camera?resolution=640&page=<page>

Ex. page=3333

HTTP JPEG 1shot 640x360
wait/cgi-bin/camera?resolution=640&page=<page+1>
HTTP JPEG 1shot 640x360

Ex. page=3334
Different value neededwait/cgi-bin/camera?resolution=640&page=<page+2>
HTTP JPEG 1shot 640x360

Ex. page=3335
Different value needed

JPEG 1shot Sequence

Integrated Camera Interface Specifications / Supplement for Web Control83. CGI List for Various Settings
3.1. Basic Settings
MethodAccess level: GET / POST: Admin

CGI item name
Basic settings

URL/cgi-bin/set_basic

Parameter

Parameter

namevalue

cam_title

StringDescription
Camera title (within 20 double-bytecharacters)

Usage example) Set the camera title
http://192.168.0.10/cgi-bin/set_basic?cam_title=he20

MethodAccess level：GET：Admin

CGI 項目名

URL

Priority mode setting/cgi-bin/set_priori
ty_modeパラメータ名mode

パラメータ値

説明ip

ip: IPusb

usb: HDMI/USB

ip_4k

ip_4k: IP(4K)

usb_4kusb_4k: USB(4K)hdmi_4k

hdmi_4k: HDMI(4K)

usb_video_co

usb_video_conference: USB(VideonferenceConference)

Usage example）Set the priority mode to IP
http://192.168.0.10/cgi-bin/set_priority_mode?mode=ip

Integrated Camera Interface Specifications / Supplement for Web Control

9

3.2. Video over IP Settings
MethodAccess level: GET / POST: Admin

CGI item name
JPEG settings

H.264 stream

URL/cgi-bin/set_jpeg/cgi-bin/set_h264

Parameter

Parameter

namevalue

resol_stream1

Description

640

640: 640 x 360

1280

1280: 1280 x 720

jpeg_transmit

00: OFFDo not transmit

11

1: ONTransmit

jpeg_interval1[60Hz/59.94Hz]

Frame rate of JPEG10

10:10fps (1280x720 only for AW-UE4)

3030(25):30(25)fps : 640 x 360 only

[50Hz]* The values within () are for the10case when the system frequency is2550 Hz

00: OFF

Do not transmit

1

1: ONTransmit

h264_resoluti

640

640: 640 x 360

on

1280

1280:1280 x 720

1920

1920: 1920 x 1080

3840

3840: 3840 x 2160 (Not available

h264_transmit

settings

on AW-HE20)
framerate[60Hz/59.94Hz]

5: 5 fps

515 (10): 15 (10) fps

1530 (25): 30 (25) fps

3060 (50): 60 (50) fps

60* The values within () are for the[50Hz]

case when the system frequency is

550 Hz102550H.265 stream/cgi-bin/set_h265h265_transmit

00: OFFDo not transmit

1

1: ONTransmit

h265_resoluti

640

640: 640 x 360

on

1280

1280:1280 x 720

1920

1920: 1920 x 1080

3840

3840: 3840 x 2160 (Not availablesettongs

on AW-HE20)
framerate[60Hz/59.94Hz]

5: 5 fps

515 (10): 15 (10) fps

1530 (25): 30 (25) fps

3060 (50): 60 (50) fps

60* The values within () are for the[50Hz]case when the system frequency is550 Hz

10Integrated Camera Interface Specifications / Supplement for Web Control

10CGI item name

URL

Parameter

Parameter

name

value

Description

2550

3.3. Network Settings
MethodAccess level: GET / POST: Admin

CGI item name
Network settings

URL/cgi-bin/network

Parameter

Parameter

namevaluedhcp

Description

0

0: DHCP OFF (Static settings)

1

1: DHCP ON

IP_addr1

0 to 255

IP address First octet

IP_addr2

0 to 255

IP address Second octet

IP_addr30 to 255

IP address Third octet

IP_addr4

0 to 255

IP address Fourth octetnetmask10 to 255

Subnet mask First octet

netmask20 to 255

Subnet mask Second octet

netmask30 to 255

Subnet mask Third octet

netmask40 to 255

Subnet mask Fourth octet

gateway10 to 255

Default gateway First octet

gateway20 to 255

Default gateway Second octet

gateway30 to 255

Default gateway Third octet

gateway40 to 255

Default gateway Fourth octet

port

1 to 65535

Port numberdns

manualmanual: Manual setting

auto

auto: Auto setting

0 to 255

IPv4 Primary server address (DNS)

pri_server1

First Octet
pri_server2

0 to 255

IPv4 Primary server address (DNS)
Second Octet

pri_server30 to 255

IPv4 Primary server address (DNS)
Third Octet

pri_server40 to 255

IPv4 Primary server address (DNS)
Fourth Octet

sec_server10 to 255

IPv4 Secondary server address(DNS)First Octet

sec_server20 to 255

IPv4 Secondary server address(DNS)
Second Octet

sec_server30 to 255

IPv4 Secondary server address(DNS)
Third Octet

sec_server40 to 255

IPv4 Secondary server address(DNS)
Fourth Octet

Integrated Camera Interface Specifications / Supplement for Web Control

11

CGI item name

URL

Parameter

Parameter

namevalue

ip6_addr*:*:*:*:*:*:*:*

DescriptionIP addressformatip6_gateway*:*:*:*:*:*:*:*

Default gateway

formatip6_pri_server*:*:*:*:*:*:*:*

Primary server (IPv6 only)

formatip6_sec_serv*:*:*:*:*:*:*:*

Secondary server (IPv6 only)erformattime

20

Effective limit for Easy IP Setup

unlimited

20: 20 minutes
unlimited: Unlimited

Easy IP Setup/cgi-bin/easyipset

time

protocol settings

20

Time period during which Easy IP

unlimited

Setup can be performed from thetime power is turned ON
20: 20 minutesunlimited: Unlimited

Usage example) Change the IP address to 192.168.0.30, Netmask to 255.255.128.0, Gateway address to
192.168.0.50.
http://192.168.0.10/cgi-bin/network?IP_addr1=192&IP_addr2=168&IP_addr3=0&IP_addr4=30&netmask
1=255&netmask2=255&netmask3=128&netmask4=0&gateway1=192&gateway2=168&gateway3=0&gatew
ay4=503.4. Restarting
MethodAccess level: GET / POST: Admin

CGI item name
Initialization

URL/cgi-bin/initial

Parameter

Parameter

namevalue

Description

cmdreset

Camera restart

Randomnum

Hexadecimal

16 single-byte character string

stringUsage example) Restarting the remote camera
http://192.168.0.10/cgi-bin/initial?cmd=reset&Randomnum=12345

Integrated Camera Interface Specifications / Supplement for Web Control

12

4. CGI List for Acquisition of Different Types of Information
4.1. Basic Settings Information Acquisition
MethodAccess level: GET: LiveCGI item name

URL

Basic settings/cgi-bin/get_basi

informationc

Parameter

Parameter

name

value

Parameter

Parameter

name

value

Description

acquisition

The response data is as shown below.
cam_title = Camera title

4.2. Priority Mode Acquisition
MethodAccess level: GET: LiveCGI item name

URL

Priority mode/cgi-bin/get_prioriacquisition

ty_modeDescription

The response data is as shown below.
priority_mode = xxx* For details on the value notified by xxx, see the parameters of set_priority_mode.

4.3. VideoOverIP Screen Information Acquisition
MethodAccess level: GET: LiveParameter

Parameter

namevalue

CGI item name

URL

VideoOverIP screen/cgi-bin/get_vide▪ The response is issued in a random

informationo_over_ip

order

acquisition

Description▪ If transmission to a specific ch is notpossible due to the specifications,the response for the desired ch is not
returnedExample) If transmission to h264(ch4) is not possible,

Integrated Camera Interface Specifications / Supplement for Web Control

13

h264_xxxxx_ch4 is not included inthe response.

The response data is as shown below.
livestart_stream=jpeg/h264/h265
h264_resolution_ch1=1920
h264_framerate_ch1=5/15(10)/30(25)/60(50)4.4. Network Settings Information Acquisition
MethodAccess level: GET: Admin

CGI item name

URL

Network settings/cgi-bin/get_netw

information

ork

Parameter

Parameter

namevalue

Descriptionacquisition

The response data is as shown below.
ip4_dhcp=0/1
ip4_addr=*.*.*.*
ip4_netmask=*.*.*.*
ip4_gateway=*.*.*.*
ip4_pri_server=*.*.*.*
ip4_sec_server=*.*.*.*
port = Numeric value (1 to 65535)
dns=auto/manual
ip6_auto=0/1
ip6_addr=*:*:*:*:*:*:*:*
ip6_gateway=*:*:*:*:*:*:*:*
ip6_pri_server=*:*:*:*:*:*:*:*
ip6_sec_server=*:*:*:*:*:*:*:*
ip6_dhcp=0/1
time=20/unlimited

Integrated Camera Interface Specifications / Supplement for Web Control

14

4.5. System Log Information Acquisition
MethodAccess level: GET: Admin

CGI item name
System log

URL/cgi-bin/get_syst

Parameter

Parameter

namevalue

typeeventlog

eventlog: Event log

errorlog

errorlog: Error log

num

100 (fix value)

Acquisition numberindex

1 (fix value)

Acquisition start position

emlog(Not available on

Description

AW-UE4)

The response data is as shown below.
no\mm/dd/yyyy hh:mm\event code\description$no\mm/dd/yyyy hh:mm\event code\description$▪
▪
▪
* No line feed.
A "\" is entered between two parameters.
A "$" is entered between numbers, such as between No. 1 and No. 2.

Integrated Camera Interface Specifications / Supplement for Web Control

155. CGI List for RTMP Control
5.1. RTMP Stream control
MethodAccess level：GET：Live

CGI item name
RTMP Stream

URL/cgi-bin/rtmp_ctrl

Parameter

Parameter

name

value

cmdControl

Description

start

start:RTMP Stream Start

stop

stop:RTMP Stream Stop

5.2. RTMP Stream Status Aquisition
MethodAccess level：GET：Live
Parameter

Parameter

name

value

CGI item name

URL

Description

RTMP Stream Status/cgi-bin/get_rtmp0:Stream suspended

Aquisition_status1:During Stream

The response data is as shown below.
status = Numeric value (0/1)

5.3. RTMP Server Setting
MethodAccess level：GET：Admin

CGI item name

URL

RTMP Server Setting/cgi-bin/set_rtmp

Parameter

Parameter

namevaluetype

Description

0

0:URL, Stream key concatenation

1

1:URL, Stream key split

urlStringServer URL

keyString

Stream Key_param*Optional if 0 is specified for type

Integrated Camera Interface Specifications / Supplement for Web Control

16

5.4. RTMP Server Setting Acquisition
MethodAccess level：GET：Admin

CGI item name

URL

RTMP Server Setting/cgi-bin/get_rtmp

Aquisition_param

Parameter

Parameter

namevalue

Description

The response data is as shown below
type = 0/1
url = Stringkey = String

Integrated Camera Interface Specifications / Supplement for Web Control

176. About Control Based on RTSP
The remote camera supports general RTSP protocols as well. This chapter illustrates usage methods
based on RTSP. The customer must have knowledge of RTSP/RTP/RTCP when using such usage
methods.

6.1. About the URLs for an RTSP Request
The URLs for RTSP requests of the remote camera are as described below.
Request URL
Description
Videos set in WEB menu or set_h264 of the remote
rtsp://<cam_ip>/mediainput/h264/stream_1
camera can be requested.
Videos set in WEB menu or set_h265 of the remote
rtsp://<cam_ip>/mediainput/h265/stream_1
camera can be requested.
Note: <cam_ip> indicates IP address of the remote camera.

Integrated Camera Interface Specifications / Supplement for Web Control

18

Memo:

Integrated Camera Interface Specifications / Supplement for Web Control

19