Panasonic AW-HE42 CGI and Streaming Protocol Specifications
Panasonic AW-HE42 Manual
![]() |
View all Panasonic AW-HE42 manuals
Add to My Manuals
Save this manual to your list of manuals |
Panasonic AW-HE42 manual content summary:
- Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 1
for Web Control Target Models HE40 series AW-HE70/AW-HE40/AW-HE65 (Ver1.32 and later) AW-HE48/AW-HE58 AW-HE35/AW-HE38 AW-HN38/AW-HN40/AW-HN65/AW-HN70 UE70 series AW-UE70 AW-UN70 AW-UE65/AW-UE63 (Ver1.04 and later) HE42 series AW-HE42/AW-HE75/AW-HE68 Second Edition Panasonic Corporation - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 2
Change History December 21, 2015 Initial Release September 17, 2019 Second Edition Release (Correction of mistakes, addition of models, addition of functions) Integrated Camera Interface Specifications / Supplement for Web Control 1 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 3
HTTPS Control ...60 6.1. Setting Information and Acquiring Certification 60 6.2. Information Acquisition ...61 7. CGI List for FTP Control ...62 7.1. FTP Server Settings...62 7.2. FTP Server Transfer Instruction ...63 Integrated Camera Interface Specifications / Supplement for Web Control 2 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 4
7.3. FTP Server Information Acquisition 64 7.4. FTP Server Progress Confirmation 64 7.5. FTP Control Sequence...65 7.6. About Folder Settings at the FTP Server Side 66 8. CGI List for Recording/Playback Control on SD Card 67 8.1. Video Recording Mode Settings ...67 8.2. Video Recording Mode - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 5
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 of the remote camera. For details, see the instruction manual. Example) When the - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 6
2. CGI List for Video Transmission 2.1. Transmission User Management Method Access level : GET : Live CGI item name URL Transmission user management /cgi-bin/getuid Parameter name FILE vcodec reply Parameter value 2 jpeg h264 h264_2 h264_3 h264_4 browser info Description 2 (Fixed) jpeg: - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 7
resolution setting of H.264 (*1): Only for UE70 series Image quality setting of H.264 uni: unicast (auto) multi: multicast uni_manual: unicast (manual) Unicast port number (image) First octet of multicast address Second octet of multicast address Third octet of multicast address Fourth octet of - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 8
Item iMultiAdd iMultiPort aEnable Value of response (IP address) Numeric value off, in aEnc aBitrate aBitrate2 aInterval aInPort aOutInterval aOutPort aOutStatus aOutUID ePort sAlarm SDrec SDrec2 sAUX iHttpPort iMultiAuto_h264 iMultiAuto_h264_2 iMultiAuto_h264_3 iMultiAuto_h264_4 sRtspMode_h264 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 9
192.168.0.10/cgi-bin/getinfo?FILE=1 The response data is as shown below. MAC=< Mac address >[CR][LF] SERIAL=< Serial number >[CR][LF] VERSION=< Firmware version >[CR][LF] NAME=< Model name >[CR][LF] SDrec=< Recording status >[CR][LF] SDrec2=< Recording status >[CR][LF] sAlarm=< Alarm status >[CR][LF - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 10
sAUX ePort aEnable aEnc aBitrate aBitrate2 aInterval aOutInterval aOutPort aOutStatus aOutUID aInPort_h264 aInPort_h264_2 aInPort_h264_3 Value of response XX-XX-XX-XX-XX-XX XXXXXXXXX AW-XXXX disable disable off off 31004 off, in 2 128,96,64 64 20 640 34004 off 0 1024 to 50000 1024 to 50000 1024 to - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 11
Fixed value Fixed value Fixed value Fixed value Max. frame rate Fixed value Fixed value uni: Unicast (auto) multi: Multicast uni_manual Unicast (manual) Bit rate setting of H.264(1) Horizontal resolution setting of H.264(1) (*1): Only for UE70 series Image quality setting of H.264(1) Fixed value see - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 12
.auto_ mode video_server.cam_ctrl.preset Parameter name capability_version category type fisheye supported supported zoom el_zoom command type abs_value value supported command supported supported supported supported supported supported number Parameter value 1.00 camera dome no ntsc,pal yes 30 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 13
120,120,120,12 0,120 Description Not supported Aspect ratio of sensor Not supported Not supported Not supported Supported image transmission format Supported imaging mode Resolution parameters supported in the JPEG1 shot Image quality parameters supported in the JPEG1 shot Transmission-enabled JPEG - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 14
name framerate 2m_r16_9 2m_r16_9 2m_r16_9 resolution stream_mode quality bandwidth framerate 2m_r16_9 2m_r16_9 Same as H264-1 Parameter value 1 to 30 30 Description Frame rates supported in the JPEG stream Rounded down to the nearest whole number NTSC: 1 to 30 PAL: 1 to 25 Max. frame rate of JPEG - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 15
video_server.network video_server.network.ipv6 video_server.network.https video_server.vmd Parameter name transmission number encode_type supported media_type supported nw_bandwidth supported supported supported Parameter value input 1 aac-1c_64K aac-1c_96K aac-1c_128K yes sd, sdhc, sdxc no 1024 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 16
2.4. JPEG-based Image Transmission Method : GET Access level : Live CGI item name URL JPEG image transmission (MJPEG) /cgi-bin/jpeg Parameter name connect framerate resolution JPEG image transmission (MJPEG) UID /cgi-bin/mjpeg resolution framerate JPEG image 1 shot request /cgi-bin/view - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 17
calling JPEG from some mobile terminals. In Safari, movie display is possible by entering only this CGI in the URL field of the browser. Not supported by Internet Explorer. Usage example) When acquiring a 320 x 180 video in 30 fps in the MJPEG format: http://192.168.0.10/cgi-bin/mjpeg?resolution - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 18
resolution can be set with the /cgi-bin/aw_ptz?cmd=%23RZLx&res=1 command. Not supported by other than 640 x 360 / 320 x 180. Used when calling a JPEG mandatory. The "start" command may be issued any number of times without any problem. /cgi-bin/camera When CGI is called once, only one JPEG image is - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 19
320 x 180/15 fps, /cgi-bin/mjpeg?resolution=320&framerate=15 => As instructed, the response is in the form of content of the 320 x 180 JPEG(3). /cgi-bin/mjpeg ?resolution=640&framerate=15 => As instructed, the response is issued by subtracting the frame rate from the content - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 20
2.5. Image Transmission Sequence based on MJPEG MJPEG Sequence Integrated Camera Interface Specifications / Supplement for Web Control 19 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 21
2.6. Image Transmission Sequence based on JPEG Image 1 shot JPEG 1 shot Sequence Integrated Camera Interface Specifications / Supplement for Web Control 20 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 22
2.7. H264/AUDIO-based Image Transmission Method Access level : GET : Live CGI item name URL H.264 image transmission /cgi-bin/h264 Parameter name my_port connect protocol UID stream Audio transmission /cgi-bin/audio connect protocol my_port Volume control UID /cgi-bin/audio _vol mode - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 23
CGI item name URL Parameter name stream Parameter value 1 2 3 4 Description 1: Stream 1 2: Stream 2 3: Stream 3 4: Stream 4 * Can be omitted Usage example) H264(1) image transmission start (when the port number is "40000" and User ID is "263") http://192.168.0.10/cgi-bin/h264?my_port=40000& - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 24
2.8. Unicast Image Transmission Sequence based on H264 H264 Sequence Integrated Camera Interface Specifications / Supplement for Web Control 23 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 25
one level DOWN -2: Turn brightness two levels DOWN 0: Return brightness to standard value (reset) 2: Turn brightness two levels UP 1: Return to default setting up: Turn brightness one level UP down: Turn brightness one level DOWN -2: Turn brightness two levels DOWN 0: Return brightness to standard - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 26
CGI item name Camera control direct URL /cgi-bin/directc trl Parameter name pan Parameter value -16 to 16 tilt -16 to 16 zoom focus -4 to 4 -4 to 4 Description A negative value indicates movement to the left, and a positive value indicates movement to the right * Used together with the tilt - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 27
4. CGI List for Various Settings 4.1. Basic Settings Method Access level : POST/GET : Admin CGI item name URL Priority mode setting /cgi-bin/set_priori ty_mode Parameter name mode Basic settings /cgi-bin/set_basic cam_title plugin_ download plugin_disp Parameter value ip sdcard usb ip_4k - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 28
0 to 23 0 to 59 0 to 59 1 to 75 0 1 2 1 to 12 1 to 5 0 to 6 0 to 23 1 to 12 1 to 5 0 to 6 0 to 23 Description 0: Manual 1: Synchronized with the NTP server 0: OFF (manual input) 1: ON (acquired from DHCP) IP address 1 to 65535 1 to 24 (hours) 0: off 1: on Year Month Day Hour Minutes Seconds 1 to 75 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 29
4.3. Video over IP Settings Method Access level : POST : Admin CGI item name URL JPEG settings /cgi-bin/set_jpeg Parameter name jpeg_quality Parameter value 0 to 9 jpeg_quality_ ch2 jpeg_quality_ ch3 resol_stream1 resol_stream2 resol_stream3 jpeg_transmit 1 jpeg_transmit 2 jpeg_transmit 3 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 30
CGI item name JPEG stream settings H.264(1) stream settings URL /cgi-bin/setdata Parameter name LIVESIZE Parameter value 320 640 1280 1920 LIVESIZE2 320 640 1280 LIVESIZE3 320 640 1280 LIVEQUAL12 0 to 9 80 LIVEQUAL64 0 to 9 0 LIVEQUAL32 0 to 9 0 /cgi-bin/set_h264 h264_transmit 0 1 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 31
effort transmission) 32768:32768(kbps) 40960:40960(kbps) 51200:51200(kbps) fine: Image quality priority low: Motion priority uni: unicast (auto) multi: multicast uni_manual: unicast (manual) Port number: 1024 to 50000 Integrated Camera Interface Specifications / Supplement for Web Control 30 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 32
CGI item name H.264(2) stream settings URL /cgi-bin/set_h264 _2 Parameter name unicast_audio _port multicast_add r1 multicast_add r2 multicast_add r3 multicast_add r4 multicast_add r multicast_port multicast_ttl h264_transmit Parameter value 1024 to 50000 224 to 239 0 to 255 0 to 255 0 to 255 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 33
Can be set when f_priority = 2 (Best effort transmission) fine: Image quality priority low: Motion priority uni: unicast (auto) multi: multicast uni_manual: unicast (manual) Port number: 1024 to 50000 Port number: 1024 to 50000 224.0.0.0 - 239.255.255.255 Integrated Camera Interface Specifications - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 34
CGI item name H.264(3) stream settings URL Parameter name r3 multicast_add r4 multicast_add r Parameter value 0 to 255 *.*.*.* format format Description *.*.*.* format format /cgi-bin/set_h264 _3 multicast_port multicast_ttl h264_transmit h264_rtsp_m ode 1024 to 50000 1 to 254 0 1 0 1 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 35
f_priority = 2 (Best effort transmission) fine: Image quality priority low: Motion priority uni: unicast (auto) multi: multicast uni_manual: unicast (manual) unicast_port 1024 to 50000 Port number: 1024 to 50000 unicast_audio _port multicast_add r1 multicast_add r2 multicast_add r3 multicast_add - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 36
CGI item name URL Parameter name h264_resoluti on f_priority framerate Parameter value 320 640 1280 0 1 2 5 15 (12.5) 30 (25) h264_bandwi dth h264_bandwi dth_min 512 768 1024 1536 2048 3072 4096 6144 8192 10240 12288 14336 16384 20480 24576 512 768 1024 1536 2048 3072 4096 6144 8192 10240 12288 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 37
1024 to 50000 224 to 239 0 to 255 0 to 255 0 to 255 *.*.*.* format format Description uni: unicast (auto) multi: multicast uni_manual: unicast (manual) Port number: 1024 to 50000 Port number: 1024 to 50000 224.0.0.0 - 239.255.255.255 *.*.*.* format format /cgi-bin/set_rtsp /cgi-bin/set_livest - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 38
Usage example) Change the resolution of H.264(4) to 320 x 180. http://192.168.0.10/cgi-bin/set_h264_4?h264_resolution=320 * This command requires a request by POST. Usage example) Change the RTSP waiting port at the remote camera side from 554(factory settings) to 555. http://192.168.0.10/cgi-bin/ - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 39
4.4. Audio Settings Method Access level : POST : Admin CGI item name URL Audio settings /cgi-bin/set_audi o Parameter name audio audio_encode r audio_sens audio_bitrate audio_alc plugin_power audio_transmi t equalizer Parameter value off in 0 1 aac low middle high line_low line_middle - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 40
4.5. Multi-screen Settings Method Access level : POST : Admin CGI item name URL Multi-screen settings /cgi-bin/multi_scr een Parameter name multi_addr1 multi_addr2 multi_addr3 multi_addr4 multi_addr5 multi_addr6 multi_addr7 multi_addr8 multi_addr9 multi_addr10 multi_addr11 multi_addr12 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 41
4.6. Priority Stream Settings Method Access level : POST : Admin CGI item name URL Priority stream settings /cgi-bin/set_priori ty2 Parameter name priority ip_addr ip_addr2 stream_type Parameter value 0 1 "*.*.*.*" format or format "*.*.*.*" format or format jpeg jpeg2 jpeg3 h264 h264_2 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 42
Subnet mask Second octet Subnet mask Third octet Subnet mask Fourth octet Default gateway First octet Default gateway Second octet Default gateway Third octet Default gateway Fourth octet 1 to 65535 manual: Manual setting auto: Auto setting Primary server address (DNS) First octet Primary server - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 43
1500 ax 1280 mss 1460 1280 1024 time bandwidth 20 unlimited 0 64 128 256 384 512 768 1024 2048 4096 8192 10000 Description Default gateway Primary server (IPv6 only) Secondary server (IPv6 only) 0: DHCPv6 OFF 1: DHCPv6 ON RTP packet max. transmission size 1500: Unlimited (1500 byte) 1280 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 44
CGI item name Transmission volume of entire network URL /cgi-bin/set_band width Parameter name bandwidth Parameter value 0 1024 2048 4096 8192 16384 32768 10000 Description Transmission volume of entire network 0: Unlimited 1024:1024kbps 2048:2048kbps 4096:4096kbps 8192:8192kbps 16384:16384kbps - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 45
4.8. UPnP Settings Method Access level : POST : Admin CGI item name URL UPnP settings /cgi-bin/upnp Parameter name upnp_portma p Parameter value 0 1 Description Auto port-forwarding 0: Disabled 1: Enabled Usage example) Set UPnP to ON http://192.168.0.10/cgi-bin/upnp?upnp_portmap=1 4.9. - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 46
5. CGI List for Acquisition of Different Types of Information 5.1. Basic Settings Information Acquisition Method Access level : GET : Live CGI item name URL Basic settings information acquisition /cgi-bin/get_basi c Parameter name The response data is as shown below. cam_title = Camera - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 47
5.3. Clock Settings Information Acquisition Method Access level : GET : Live CGI item name URL Clock settings information acquisition /cgi-bin/get_date _time Parameter name The response data is as shown below. display = 0/1 date_year = Numeric value date_month = Numeric value date_day = - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 48
5.5. VideoOverIP Screen Information Acquisition Method Access level : GET : Live CGI item name URL VideoOverIP screen information acquisition /cgi-bin/get_vide o_over_ip Parameter name Parameter value Description ▪ The response is issued in a random order ▪ If transmission to a specific ch - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 49
h264_f_priority_ch4=0/1/2 h264_framerate_ch1=5/15(12.5)/30(25)/60(50) h264_framerate_ch2=5/15(12.5)/30(25) h264_framerate_ch3=5/15(12.5)/30(25) h264_framerate_ch4=5/15(12.5)/30(25) h264_bandwidth_ch1 = Numeric value h264_bandwidth_ch2 = Numeric value h264_bandwidth_ch3 = Numeric value - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 50
5.6. Audio Settings Information Acquisition Method Access level : GET : Live CGI item name URL Audio settings information acquisition /cgi-bin/get_audi o Parameter name Parameter value The response data is as shown below. audio=0/1/off/in audio_sens=low/middle/high/line_low/line_middle/ - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 51
5.8. Host Authentication Settings Information Acquisition Method Access level : GET : Admin CGI item name URL Host authentication settings information acquisition /cgi-bin/get_reg_ host Parameter name Parameter value The response data is as shown below. host = 0/1 host_addr1 = *.*.*.* - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 52
Parameter value The response data is as shown below. ip4_dhcp=0/1 ip4_addr=*.*.*.* ip4_netmask=*.*.*.* ip4_gateway=*.*.*.* dns=auto/manual ip4_pri_server=*.*.*.* ip4_sec_server=*.*.*.* ip6_auto=0/1 ip6_addr ip6_gateway ip6_dhcp=0/1 ip6_pri_server ip6_sec_server port = Numeric value (1 to 65535 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 53
5.12. System Log Information Acquisition Method Access level : GET : Admin CGI item name URL System log /cgi-bin/get_syst emlog Parameter name type num index Parameter value eventlog errorlog Numeric value (1 to 100) Numeric value (1 to 100) Description eventlog: Event log errorlog: Error - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 54
5.13. Camera Status Acquisition Method Access level : GET : Live CGI item name URL Camera status acquisition /cgi-bin/get_stat e Parameter name Parameter value Description rec: Is recording in progress or not rec_counter: Recording elapsed time ftp_send: Is FTP transfer in progress or not - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 55
5.14. UPnP Execution Results Acquisition Method Access level : GET : Admin CGI item name URL Status acquisition /cgi-bin/get_statu s Parameter name - Parameter value - Description UPnP execution result The response data is as shown below. http_port = Numeric value http_status = enable/ - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 56
to be acquired. Imaging mode Image ratio Frame rate Live screen initial stream selection liveint: JPEG(1) refresh interval livequalbase: JPEG(1) default image quality livesize: JPEG(1) image resolution livequal: JPEG(1) image quality livesize: JPEG(2) image resolution livequal: JPEG(2) image quality - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 57
CGI item name URL Parameter name Parameter value Description address Second octet h264mladd3 h264mladd4 h264mlport h264mlttl h264uniport h264uniport2 h264profile h264codind h264_2 h264bwc_2 h.264mladd3: h.264 multicast address Third octet h.264mladd4: h.264 multicast address Fourth octet h. - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 58
CGI item name URL Parameter name Parameter value h264bwc_3 Description ON/OFF 3 h.264bwc_3: Bit rate per client 3 h264size_3 h264qual_3 h264rint_3 h264mtd_3 h264mladd1_3 h264mladd2_3 h264mladd3_3 h264mladd4_3 h264mlport_3 h264mlttl_3 h.264uniport_3 h264uniport2_3 h264profile_3 h264codind_3 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 59
CGI item name URL Parameter name Parameter value h264mlport_4 h264mlttl_4 h.264uniport_4 h264uniport2_4 h264profile_4 h264codind_4 h264mlauto h264mlauto_2 h264mlauto_3 h264mlauto_4 audio_level audio_sens nrlivequal nrh264size nrh264qual nrh264bwc_2 nrh264size_2 nrh264qual_2 nrh264bwc_3 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 60
264(4) frame rate H.264(2) Bit rate per client (minimum) H.264(3) Bit rate per client (minimum) H.264(4) Bit rate per client (minimum) JPEG default image quality Live screen initial frame rate (JPEG) Enabling/disabling of half-tone function for JPEG images in Active X Enabling/disabling of half-tone - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 61
6. CGI List for HTTPS Control 6.1. Setting Information and Acquiring Certification Method Access level : GET : Admin CGI item name URL HTTPS self-signed certificate HTTPS CA certificate HTTPS CRT key history usage HTTPS connection method https_self_signe d https_signed https_crt_key set_https - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 62
CGI item name Status update URL renewal Parameter name cgi_name Parameter value self_create csr_create ca_install key_create Description self_create: Self-signed certificate creation status csr_create: CSR creation status ca_install: CA certificate installation status key_create: CRT key - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 63
Method Access level : POST : Admin CGI item name URL FTP server settings /cgi-bin/set_ftp Parameter name server_addr username password port_num mode dirname Parameter value *.*.*.* format, string format String String 1 to 65535 active passive String Description *.*.*.* format, string format - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 64
7.2. FTP Server Transfer Instruction Method Access level : POST/GET : Admin CGI item name URL Transfer to FTP server /cgi-bin/send_ftp server Parameter name fileno Parameter value Numeric value - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 65
7.3. FTP Server Information Acquisition Method Access level : GET : Admin CGI item name URL FTP server settings information acquisition /cgi-bin/get_ftp Parameter name The response data is as shown below. server_addr = *.*.*.* format format dirname = String username = String port_num = - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 66
7.5. FTP Control Sequence Camera PC(Client) GET /cgi-bin/get_mp4_list2?index=1 MP4 list search of SD card HTTP/1.1 200 OK no,filename,mm/dd/yyyy hh:mm:ss,duration[CR][LF] 1,S0MA001000000110,01/01/2015 12:00:00,00:05:00[CR][LF] 2,S0MA001000000210,01/01/2015 13:00:00,00:10:00[CR][LF] 3, - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 67
created under the designated folder, and an SD card folder image starting with DCIM is transferred to the folder. If a sequence number folder starting with "AW" exists at the time of start of transfer, a new folder with the numeric value incremented by one is created automatically. Note that if the - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 68
8. CGI List for Recording/Playback Control on SD Card 8.1. Video Recording Mode Settings Method Access level : POST : Admin CGI item name URL SD card recording mode settings /cgi-bin/set_sdre c_mode Parameter name mode REC link tally settings /cgi-bin/set_recta enable lly Parameter value - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 69
8.2. Video Recording Mode Acquisition Method Access level : GET : Live CGI item name SD card recording mode acquisition REC link tally settings acquisition URL /cgi-bin/get_sdre c_mode /cgi-bin/get_recta lly Parameter name Parameter value Description The response data is as shown below. - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 70
8.4. SD Card Format (Initialization) Control Method Access level : POST : Admin CGI item name URL SD card format /cgi-bin/sdcard Parameter name cmd Parameter value format Description Formatting of SD memory card Usage example) Start formatting (initialization) of SD card http://192.168.0. - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 71
8.6. MP4 File List Search Method Access level : GET : Live CGI item name URL MP4 list search of SD card /cgi-bin/get_mp4 _list2 Parameter name maxmatches index Parameter value 1 to 15 Numeric value Description Upper-limit of number of lists to be acquired * Can be omitted List search start - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 72
8.7. MP4 File Playback Control Method : GET Access level : Live CGI item name URL Selection of playback /cgi-bin/set_plays data cene_mp4 Parameter name filename list_id Playback of stored data /cgi-bin/playcmd type _mp4 restart_msec list_id Parameter value String Numeric value start - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 73
8.8. MP4 File Playback Sequence Camera PC(Client) GET /cgi-bin/get_mp4_list2?index=1 MP4 list search of SD card HTTP/1.1 200 OK no,filename,mm/dd/yyyy hh:mm:ss,duration[CR][LF] 1,S0MA001000000110,01/01/2015 12:00:00,00:05:00[CR][LF] 2,S0MA001000000210,01/01/2015 13:00:00,00:10:00[CR][LF] 3, - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 74
8.9. MP4 File Deletion Method Access level : GET : Live CGI item name URL Deletion of stored data /cgi-bin/del_mp4 _file Parameter name fileno list_id Parameter value Numeric value Numeric value Description File No. acquired by /cgi-bin/get_mp4_list2 * A max. of up to 50 files can be - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 75
download, the remote camera issues a response by assuming the file name acquired by /cgi-bin/get_mp4_list2 (ex. S0MA001000000110.mp4) as the default file name. After completion of download, it is recommended to rename to the date acquired by /cgi-bin/get_mp4_list2. Integrated Camera Interface - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 76
off on Action target still picture image file number. XX of "S10000XX.JPG"(1~99) Still picture image data response after save (Optional, off by default) Usage example) Save to S1000001.JPG file http://192.168.0.10/cgi-bin/image?action=save&fileno=1 The response data is as shown below. "Image - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 77
8.14. Still picture image load / delete / find Method Access level :GET :Live CGI item name URL Still picture image Control /cgi-bin/image ** Both HE 40 / UE 70 series require Ver. 1.8 or later. Parameter name action fileno Parameter value load delete find Numeric value Description load: - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 78
-bin/setdata Parameter name Parameter value Description Parameters are not required. The response data is as shown below. CAMTITLE,"AW-HE70" IMAGESELECT,"2m" IMAGERATIO,"16_9" IMAGEFPS,"30" LIVESTREAM,"h264_4" LIVEINT,"30" LIVEQUALBASE,"1" LIVESIZE,"640" LIVEQUAL,"5" LIVESIZE2,"1280" LIVEQUAL2 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 79
H264UNIPORT2,"33004" H264PROFILE,"0" H264_2,"1" H264RTSPMODE_2,"0" H264BWC_2,"8192" NRH264BWC_2,"1024" H264BWCMIN_2,"4096" H264SIZE_2,"1280" NRH264SIZE_2,"640" H264FPRIORITY_2,"1" H264NRFRAMERATE_2,"30" H264QUAL_2,"low" NRH264QUAL_2,"normal" H264RINT_2,"1" H264MTD_2,"uni" H264MLADD1_2,"239" - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 80
H264_4,"1" H264RTSPMODE_4,"1" H264BWC_4,"1536" NRH264BWC_4,"1024" H264BWCMIN_4,"512" H264SIZE_4,"320" NRH264SIZE_4,"640" H264FPRIORITY_4,"0" H264NRFRAMERATE_4,"30" H264QUAL_4,"low" NRH264QUAL_4,"normal" H264RINT_4,"1" H264MTD_4,"uni" H264MLADD1_4,"239" H264MLADD2_4,"192" H264MLADD3_4,"0" - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 81
(12.5):15(12.5)fps 30(25):30(25)fps * The values within () are for the case when the system frequency is 50 Hz JPEG(1) default image quality 1: Image quality 1 JPEG(1) image resolution 320:320x180 640:640x360 1280:1280x720 1920:1920x1080 JPEG(2) image resolution 320:320x180 640:640x360 1280:1280x720 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 82
Setting name H264_4 H264RTSPMODE H264RTSPMODE_2 H264RTSPMODE_3 H264RTSPMODE_4 H264BWC H264BWC_2 H264BWC_3 H264BWC_4 H264BWCMIN H264BWCMIN_2 H264BWCMIN_3 H264BWCMIN_4 NRH264BWC NRH264BWC_2 NRH264BWC_3 NRH264BWC_4 H264SIZE H264SIZE_2 H264SIZE_3 H264SIZE_4 Value Description 0 Internet mode ON/OFF - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 83
Setting name NRH264SIZE Value 320 640 1280 1920 3840(*1) NRH264SIZE_2 320 640 1280 NRH264SIZE_3 320 640 1280 NRH264SIZE_4 320 640 1280 H264FPRIORITY H264FPRIORITY_2 H264FPRIORITY_3 H264FPRIORITY_4 H264NRFRAMERATE 0 1 2 5 15(12.5) 30(25) 60(50) H264NRFRAMERATE_ 2 5 15(12.5) 30(25) - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 84
at which transmission does not stop normal: Standard Refresh cycle 1: 1 second H264 transmission method uni:Unicast port(AUTO) uni_manual:Unicast port(MANUAL) multi:Multicast H264(1) multicast address First octet 224 to 239 H264(1) multicast address Second octet 0 to 255 H264(1) multicast address - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 85
Setting name Value H264MLADD4_2 H264MLADD1_3 H264MLADD2_3 H264MLADD3_3 H264MLADD4_3 H264MLADD1_4 H264MLADD2_4 H264MLADD3_4 H264MLADD4_4 H264MLADD H264MLADD_2 H264MLADD_3 H264MLADD_4 H264MLPORT H264MLPORT_2 H264MLPORT_3 H264MLPORT_4 H264MLTTL H264MLTTL_2 H264MLTTL_3 H264MLTTL_4 H264UNIPORT - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 86
Setting name H264MLAUTO H264MLAUTO_2 H264MLAUTO_3 H264MLAUTO_4 AUDIO Value 0 in off AUDIOSENS low middle high line_low line_middle line_high AUDIOBITRATE 64 96 128 AUDIOENC 2 PLUGIN_HALFTONE_J 0 PEG PLUGIN_HALFTONE_ 0 H264 Description Multicast delivery is started automatically. 0: OFF - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 87
About Control Based on RTSP The remote camera supports general RTSP protocols as well. This chapter illustrates is connected to the "Audio IN terminal", it results in silent transmission. In this manual, the description is provided by assuming that "H.264 transmission" and "Audio Transmission" are - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 88
is ignored during multicast. Acquisition of session parameter * Operation is performed by assuming Keep Alive. Transfer end/session end SET_PARAMETER is not supported. 501 is issued as response. The timeout based on GET_PARAMETER is 120 seconds. If Keep Alive from all clients is blocked including - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 89
when transmission is performed to multiple clients. ▪ A separate router that supports multicast is needed. 3. TCP Unicast ▪ Used for transmitting video/ Unicast (MANUAL). ▪ Set Unicast port (Image)/Unicast port (Audio). * However, in the RTSP "SETUP" sequence, the content instructed explicitly by - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 90
UDP Unicast Sequence Integrated Camera Interface Specifications / Supplement for Web Control 89 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 91
UDP Unicast Packets (1/2) Integrated Camera Interface Specifications / Supplement for Web Control 90 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 92
UDP Unicast Packets (2/2) Integrated Camera Interface Specifications / Supplement for Web Control 91 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 93
11.2. UDP Multicast You must make the settings described below in the WEB menu as preparations at the remote camera side. ▪ Set H264(X)/Transmission type to Multicast. ▪ Set H264(X)/Multicast address (set to 239.192.0.20 for H264(1) according to factory settings) ▪ Set H264(X)/Multicast port (set to - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 94
UDP Multicast Sequence Integrated Camera Interface Specifications / Supplement for Web Control 93 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 95
UDP Multicast Packets (1/2) Integrated Camera Interface Specifications / Supplement for Web Control 94 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 96
UDP Multicast Packets (2/2) Integrated Camera Interface Specifications / Supplement for Web Control 95 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 97
11.3. TCP Unicast You must make the settings described below in the WEB menu as preparations at the remote camera side. ▪ Set H264(X)/Transmission type to Unicast (AUTO). The port number during transmission of video and audio stream is decided as described below. ▪ client_port (receiving port at the - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 98
TCP Unicast Sequence Integrated Camera Interface Specifications / Supplement for Web Control 97 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 99
TCP Unicast Packets 1/2 Integrated Camera Interface Specifications / Supplement for Web Control 98 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 100
TCP Unicast Packets 2/2 Integrated Camera Interface Specifications / Supplement for Web Control 99 - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 101
11.4 About the rtpmap Attribute The response of "rtpmap" with respect to the RTSP "DESCRIBE" request is as described below. Codec H.264 AAC rtpmap Attribute Value a=rtpmap:98 H264/90000 a=rtpmap:99 mpeg4-generic/48000/2 The values described above are used for both video and audio regardless of - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 102
Image quality from Motion priority or Image quality priority. Motion priority: This is the motion priority mode. The bit rate is actively changed and supported. Image quality priority: This is the image quality priority mode. The frame rate is actively changed. The sequence during RTCP control is - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 103
13. About RTP/Data Format 13.1. RTP Header Format Bit 0. 8. 16. 24. Byte 2 114 1 7 8 8 0 V P X CC M PT Sequence number 4 Timestamp 8 SSRC (Synchronization Source Identifier) 12 Defined by profile Extension length 16 Additional Information (1) Additional Information (N) - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 104
13.2. Relationship with H.264/ES Data The structure of ES data and RTP packet of H.264 is as shown below. Structure of ES data Parameter set Encoded data AU SPS PPS SEI NALh RBSP RTP packet (FU-A) #1 Ether/IPh/UDPh RTPh AU #2 Ether/IPh/UDPh RTPh SPS #3 Ether/IPh/UDPh RTPh PPS #4 Ether/IPh/ - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 105
13.3. H.264 Syntax In the remote camera, the Codec information to be used changes depending on the resolution/frame rate. The following information is used when Priority Mode is IP or IP (4K) and 59.94 Hz is set, it is as follows. Resolution / Frame rate 320x180/5p,15p,30p 640x360/5p,15p,30p - Panasonic AW-HE42 | CGI and Streaming Protocol Specifications - Page 106
Memo: Integrated Camera Interface Specifications / Supplement for Web Control 105
![](/manual_guide/products/panasonic-awhe42-cgi-streaming-protocol-specifications-2ceb780/1.png)
Second Edition
Panasonic Corporation
Integrated Camera Interface Specifications
Supplement for Web Control
Target Models
HE40 series
AW-HE70/AW-HE40/AW-HE65
(Ver1.32 and later)
AW-HE48/AW-HE58
AW-HE35/AW-HE38
AW-HN38/AW-HN40/AW-HN65/AW-HN70
UE70 series
AW-UE70
(Ver1.04 and later)
AW-UN70
AW-UE65/AW-UE63
HE42 series
AW-HE42/AW-HE75/AW-HE68