Sony SRG-A40 Technical Manual - VISCA/CGI COMMAND LIST

Sony SRG-A40 Manual

Sony SRG-A40 manual content summary:

  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 1
    5-053-155-11 (1) Color Video Camera VISCA Command List CGI Command List Software Version 1.0 SRG-A40/A12 © 2023 Sony Corporation
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 2
    /Inquiring by CGI Commands ........31 Setting by Commands 31 Inquiring by Commands 31 CGI Command List 33 Supported Codecs 73 RTSP Request URL 73 RTSP Methods 74 Supported Methods 74 Typical Sequence of RTSP Communication 75 Stream Acquisition 76 Video Stream Acquisition 77 RTP/RTCP 86
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 3
    : 9600 bps/38400 bps • Data bits : 8 • Start bit : 1 • Stop bit : 1 • Non parity Flow control using XON/XOFF and RTS/CTS, etc., is not supported. Peripheral devices are connected in a daisy chain. As shown in Fig. 1, the actual internal connection is a one-direction ring, so that messages return to
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 4
    VISCA Communication Specifications VISCA packet structure The basic unit of VISCA communication is called a packet (Fig. 2). The first byte of the packet is called the header and the packet comprises the sender's and receiver's addresses. For example, the header of the packet sent to the camera (
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 5
    Timing Chart As VISCA command processing can only be carried out a maximum of one time in a Vertical (V) cycle, it takes maximum 4V-cycle time for an ACK/Completion to be returned. If the Command and ACK/Completion communication time is shorter than 1V-cycle time, a command can be received at every
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 6
    The ACK message is not returned for these commands and inquiries, and only the completion message of socket number 0 is returned. Command execution cancel To cancel a command which has already been sent, send a Cancel command as the next command. To cancel one of two commands which have been sent,
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 7
    a command has been accepted, then returns Completion when a command has been executed. 90 60 02 FF (Syntax Error) Accepted a command which is not supported or a command lacking parameters. 90 60 03 FF Could not accept the command as there are two (Command Buffer Full) commands currently being
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 8
    socket number is specified. Returned when a command cannot be executed due to current conditions. For example, when a command for controlling the manual focus is received during the auto focus mode. y = Device address + 8 (Locked to "y = 9" for VISCA over IP.) Network Change Message Command
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 9
    IP address Set by the IP setting command (page 29) • Port address 52381 • Delivery confirmation/Retransmission control Depends on the application In these instructions, the device outputting commands, such as a computer, is called the controller, and the device receiving the command, such as an SRG
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 10
    Due to the nature of the IP communication, the use of some VISCA functions are limited. For details, see "Limitation" on page 13. For how to set an IP address of the camera, see "Camera IP Setting Command" on page 29. Communication Method of VISCA over IP Communication method VISCA over IP can
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 11
    Payload type Stores the value (Byte 0 and Byte 1) of the following table on the payload division. Name VISCA command VISCA inquiry VISCA reply Value (Byte 0) 0x01 0x01 0x01 VISCA device 0x01 setting command Control command 0x02 Control reply 0x02 Value (Byte 1) 0x00 0x10 0x11 0x20 0x00
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 12
    Delivery confirmation VISCA over IP uses UDP as a communications protocol of the transport layer. Delivery of messages is not guaranteed for the UDP communication. Delivery confirmation and retransmission should be performed on the application. Normally, when the controller sends a message to the
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 13
    because it requires the serial communication. Operations under the Address Set command is sent are not guaranteed. VISCA Network Change command is not supported Command cannot be issued because it requires the serial communication. Expiration time for an ON status of the tally lamp The tally lamp
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 14
    BACKLIGHT SPOTLIGHT Direct Direct On/Off Reset Up Down Direct On/Off On/Off Command Packet Comments 8x 01 04 39 0p FF p: 0=Full Auto, 3=Manual, A=Shutter Priority, B=Iris Priority 8x 01 04 0B 00 FF To return to 19 (F2.0) value 8x 01 04 0B 02 FF Open 8x 01
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 15
    FF 8x 01 04 10 05 FF p: 0=Auto1, 1=Indoor, 2=Outdoor, 3=One Push WB, 4=Auto2, 5=Manual One Push WB Trigger 8x 01 04 03 00 FF To return to 80 (0) value 8x 01 04 03 42 00 00 0p 0p pp: 00 - 0F FF 8x 01 05 42 01 0p FF p: 0=Auto, 1=Manual 8x 01 05 42 02 0p FF p: 0 - 4 8x 01 05 42 03 0p FF p: 0 -
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 16
    Number in ( ) is MENU display values. Command Set DEFOG - Command - HIGH - - RESOLUTION NOISE LEVEL - REDUCTION 2D NR/3D NR - PICTURE EFFECT ZOOM STOP TELE WIDE TELE WIDE DIRECT - Standard speed Standard speed Variable speed Variable speed - MODE*1 - TELE - CONVERT*2 Command
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 17
    Number in ( ) is MENU display values. Command Set Command Command Packet Comments FOCUS MODE Auto/Manual 8x 01 04 38 pp FF pp: 02=Auto Focus, 03=Manual Focus, 10=Toggle STOP - 8x 01 04 08 00 FF FAR Standard 8x 01 04 08 02 FF speed NEAR Standard speed 8x 01 04
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 18
    Number in ( ) is MENU display values. Command Set Command PAN TILT PAN TILT DRIVE Up Command Packet Comments 8x 01 06 01 vv ww 03 01 vv: Pan speed 01 (Slow) - 18 (Fast) FF ww: Tilt speed 01 (Slow) - 17 (Fast) Down 8x 01 06 01 vv ww 03 02 vv: Pan speed 01 (Slow) - 18 (Fast) FF ww: Tilt
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 19
    Number in ( ) is MENU display values. Command Set Command SYSTEM VIDEO FORMAT Select IR RECEIVE - IMG FLIP - CAMERA ID - MENU ON/OFF - ENTER - OSD - IR CUT FILTER ICR AUTO ICR On/Off On/Off Threshold TALLY HDMI POWER ON/OFF - LEVEL - COLOR SPACE - ON/STANDBY - STANDBY MODE
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 20
    y0 50 0p 0p FF y0 50 0p FF Comments p: 0=Full Auto, 3=Manual, A=Shutter Priority, B=Iris Priority pp: Refer to the VISCA Command Setting Values FF y0 50 00 00 0p 0p FF p: 0=Auto1, 1=Indoor, 2=Outdoor, 3=One Push WB, 4=Auto2, 5=Manual pp: 00 (-128) - 80 (0) - FF (127) pp: 00 (-128) - 80 (0) - FF
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 21
    for SRG-A12. Reply Packet Comments y0 50 00 00 0p 0p pp: 00 - 0F FF y0 50 0p FF p: 0=Auto, 1=Manual y0 50 0p FF p: 0 - 4 y0 50 0p FF p: 0 - 7 y0 50 0p FF p: 5 - 9 y0 VISCA Command Setting Values y0 50 0p FF p: 2=Auto Focus, 3=Manual Focus y0 50 0p 0p 0p 0p pppp: Refer to the section
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 22
    Number in ( ) is MENU display values. Inquiry Command PAN TILT POSITION STATUS RAMP CURVE PAN-TILT SLOW PAN TILT LIMIT Inquiry Packet 8x 09 06 12 FF 8x 09 06 10 FF 8x 09 06 31 FF 8x 09 06 44 FF 8x 09 06 07 0q FF PRESET PAN TILT MAX SPEED 8x 09 06 11 FF SPEED SELECT 8x 09 7E 04 1B FF SPEED
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 23
    Number in ( ) is MENU display values. SYSTEM Inquiry Command VIDEO FORMAT SELECTABLE VIDEO FORMAT SELECT VIDEO FORMAT STATUS IR RECEIVE IMG FLIP CAMERA ID CAMERA GENERATION HDMI MENU POWER COLOR SPACE ON/OFF OSD ON/STANDBY STANDBY MODE SOFTWARE - VERSION (CAM_VersionInq) Inquiry Packet
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 24
    Block Inquiry Command Lens control system inquiry commands.....Inquiry Packet 8x 09 7E 7E 00 FF Byte Bit 7 6 5 4 0 3 2 1 0 7 6 5 4 1 3 2 1 0 7 6 5 4 2 3 2 1 0 7 6 5 4 3 3 2 1 0 7 6 5 4 4 3 2 1 0 7 6 5 4 5 3 2 1 0 Comments Destination Address Source Address 0 1 0 1 0 0 0 0 0 0 0 0 Zoom Position (
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 25
    Camera control system inquiry commands.....Inquiry Packet 8x 09 7E 7E 01 FF Byte Bit 7 6 5 4 0 3 2 1 0 7 6 5 4 1 3 2 1 0 7 6 5 4 2 3 2 1 0 7 6 5 4 3 3 2 1 0 7 6 5 4 4 3 2 1 0 7 6 5 4 5 3 2 1 0 Comments Destination Address Source Address 0 1 0 1 0 0 0 0 0 0 0 0 R Gain (H) 0 0 0 0 R Gain (L) 0 0 0 0
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 26
    Other block inquiry commands.....Inquiry Packet 8x 09 7E 7E 02 FF Byte Bit 7 6 5 4 0 3 2 1 0 7 6 5 4 1 3 2 1 0 7 6 5 4 2 3 2 1 0 7 6 5 4 3 3 2 1 0 7 6 5 4 4 3 2 1 0 7 6 5 4 5 3 2 1 0 Comments Destination Address Source Address 0 1 0 1 0 0 0 0 0 0 Spotlight Flicker Cancel N/A Auto ICR 0 Power 0
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 27
    Other enlargement inquiry commands (1/2 Inquiry Packet 8x 09 7E 7E 03 FF Byte Bit Comments 7 6 Destination Address 5 4 0 3 2 Source Address 1 0 7 0 6 1 5 0 4 1 1 3 0 2 0 1 0 0 0 7 0 6 0 5 0 4 0 2 3 2 N/A 1 0 7 0 6 0 5 0 4 0 3 3 2 N/A 1 0 7 0 6 0
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 28
    Other enlargement inquiry commands (2/2 Inquiry Packet 8x 09 7E 7E 04 FF Byte Bit 7 6 5 4 0 3 2 1 0 7 6 5 4 1 3 2 1 0 7 6 5 4 2 3 2 1 0 7 6 5 4 3 3 2 1 0 7 6 5 4 4 3 2 1 0 7 6 5 4 5 3 2 1 0 Comments Destination Address Source Address 0 1 0 1 0 0 0 0 0 0
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 29
    Camera IP Setting Command The following commands are provided for setting an IP address and a camera name for SRG series cameras. No. Name Description 1 Setting Protocol: The controller inquires the Inquiry network setting for the camera. 2 Setting Protocol: The camera replies Inquiry
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 30
    camera remotely via network and stream video/audio by using CGI commands supported by this camera and RTSP function. To use CGI commands and IP Setup Tool Guide." Note To set IP address via Admin menu on Web browser, refer to "Network tab" under "Network menu" in Operating Instructions. Setting the
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 31
    Web browser, refer to "Referer check tab" under "Security menu" in Operating Instructions. If you use CGI commands with Referer check enabled, you can do so cameras (when HTTP port number is 80). About Authentication The camera supports HTTP/RTSP Digest authentication defined by IETF RFC 2617. To use
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 32
    Syntax1 (standard format) http:///command/inquiry.cgi?inq= [&inq=...] When is ptzautoframing, /commnand/ becomes /analytics/. The response is as follows in the case of standard format. HTTP/1.0 200 OK\r\n Content-Type: text/plain\r\n Content-Length:
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 33
    CGI Command List audio.cgi Setting (Set): command/audio.cgi?= Inquiry (Inq): command/inquiry.cgi?inq=audio Parameter MicLineSelect Set Inq Value Set mic, line Inq AudioInVolume AutoLevelControl AudioEqualizer Set 0 Inq -10 to 10 Set on, off Inq Set off, 1, 2 Inq
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 34
    Parameter ImageSize1 ImageSize2 ImageSize3 FrameRate1 FrameRate2 FrameRate3 H264Profile1 H264Profile2 Set Inq Value Set 3840,2160, Inq 1920,1080, 1280,720, 640,360 Set 3840,2160, Inq 1920,1080, 1280,720, 640,360 Set 1280,720, Inq 640,360 Set The available setting Inq values depend
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 35
    Parameter H265Profile1 H265Profile2 CBR1 CBR2 BitRate1 BitRate2 H264Quality1 H264Quality2 H265Quality1 Set Inq Value Description Set main Sets the H.265 profile of Image 1. Inq main : Fixing to main profile. Set main Sets the H.265 profile of Image 2. Inq main : Fixing to main profile.
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 36
    Parameter H265Quality2 JpegQuality3 IFrameInterval1 IFrameInterval2 IFrameRatio1 IFrameRatio2 InsertIFrame1 InsertIFrame2 ImageCodecMaxNum ImageCodecNum AudioIn AudInCodec Set Inq Value Description Set 6 Sets the H.265 VBR (variable bit rate) picture Inq 1 to 10 quality of Image 2. When
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 37
    datetime.cgi Setting (Set): command/datetime.cgi?= Inquiry (Inq): command/inquiry.cgi?inq=datetime GmTime Parameter Time DateFormat TimeZone NtpService NtpAuto NtpServer Set Inq Value Description Set YYMMDDhhmmssW Sets or inquires the date and time by Inq Coordinate
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 38
    project.cgi Setting (Set): command/project.cgi?= Inquiry (Inq): command/inquiry.cgi?inq=project Parameter VideoFormatSelectable SelectVideoFormat VideoFormat HdmiColor Set Inq Value Description Inq 0, 1 Returns whether the video output format can be changed by
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 39
    ptzautoframing.cgi Setting (Set): analytics/ptzautoframing.cgi?= Inquiry (Inq): analytics/inquiry.cgi?inq=ptzautoframing Parameter PtzAutoFraming Set Inq Value Description Set on, off Starts or finishes tracking of PTZ Auto Inq Framing. PtzAutoFramingAutoStartEnable Set
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 40
    the tracking object's selection type for Inq PTZ Auto Framing. PtzAutoFramingFaceLostWaitTime Set Inq 0 to 60 auto : Automatic specification manual: Manual specification Sets the tracking time-out interval of PTZ Auto Framing. PtzAutoFramingDetectionRestartTime Set Inq 0 to 600 [Wait Time
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 41
    Parameter PtzAutoFramingTrackingStatus PtzAutoFramingMinDetectionArea Set Inq Value Description Inq idle, missing, preparing, Gets the operating status of PTZ Auto searching, tracking, Framing. waiting idle : Under suspension missing : While tracking lost preparing : While preparing the
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 42
    Parameter AuthenRTSP RTSPUcVideoPort1 RTSPUcVideoPort2 RTSPUcAudioPort Set Inq Value Description Set on, off Sets whether the RTSP authentication is set Inq to on or off. Set 51000 Sets the port to use for RTSP/RTP(UDP) Inq 1024 to 65534 unicast streaming of image 1. *1 *2 Set 53000
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 43
    standard, low, mid, high, Sets the bandwidth for signals undergoing Inq wide contour emphasis. Setting is applied when DetailMode is set to Manual. standard : Standard low : Low mid : Middle high : High wide : Wide Set 2 Sets the balance between contours in black Inq 0 to 4 on
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 44
    Set 3 Sets contour emphasis level of the super Inq 0 to 7 low range of the image. Setting is applied when DetailMode is set to manual. 0 : The amount of contour emphasis becomes lower 7 : The amount of contour emphasis becomes higher Set 7 Sets the target brightness level of the Inq
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 45
    values Sets the gain value when ExposureMode is Inq depend on the setting of set to manual. the high sensitivity mode. * Refer to the item "GAIN" of CGI Command 0 to 25 Sets iris while ExposureMode is set to iris or Inq manual. * Refer to the item "IRIS" of CGI Command Setting Values.
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 46
    iris : Automatically adjust gain and shutter speed according to set iris. manual: Sets iris, gain, and shutter speed independently. Set on, off on emphasizes the edge of the image. * When DetailMode is set to manual, the function is disabled. Set on, off Sets the high sensitivity mode
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 47
    toward blue, and the higher the value it is shifted toward red. WhiteBalanceOffset is applied when WhiteBalanceMode is set to auto, atw, or manual. Set on Start adjusting the white balance when WhiteBalanceMode is set to onepushwb. Set 3 Sets the speed at which the camera reaches Inq
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 48
    ptzf.cgi Setting (Set): command/ptzf.cgi?= Inquiry (Inq): command/inquiry.cgi?inq=ptzf Parameter AbsolutePanTilt Set Inq Value Set [Value1] de00 to 2200 [Value2] The available values depend on the Eflip settings. fc00 to 1200 (Off) ee00 to 0400 (On) [Value3] 1 to 24
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 49
    Parameter AbsolutePTZF Set Inq Value Set [Value1] Inq de00 to 2200 [Value2] The available values depend on the Eflip settings. fc00 to 1200 (Off) ee00 to 0400 (On) [Value3] The available values depend on the Zoom Mode status and the video size of the output signal format. 0000 to 4000 (optical)
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 50
    speed. low : Improves the focus stability. Cancels the running PTZ command. Cancel=on Sets the focus control. auto : Automatic adjustment by the camera. manual : Manual adjustment by the user. Sets the limit position of the Near side focus. * Refer to the item of the CGI command setting value
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 51
    Move Parameter Move Move Move OpticalZoomMaxMagnification Set Inq Value Description Set [Value1] Moves Pan-Tilt by specifying direction. left, right, up, down, up- left, up-right, down-left, Move=Value1,Value2 down-right [Value1] [Value2] Sets the direction 0 to 24 left : Left
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 52
    Parameter PanLimitMode PanMovementRange PanTiltMaxVelocity PanTiltReset PtzfStatus RampCurve Set Inq Value Description Set unlimited, limited Sets the limit mode of the pan's movement Inq range. unlimited : A limit does not exist. limited : Limits in the range which is set on PanLimit. Inq
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 53
    the focus position by specifying to relative position from the current position. 0000f000 This command is only valid when FocusMode is set to manual. Actual movement range is also affected by the value of FocusNearLimit parameter. ffff1000 : The maximum amount to focus far direction 0000f000
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 54
    Parameter TiltMovementRange ZoomMaxVelocity ZoomMovementRange ZoomMode Set Inq Value Inq [Value1] Depends on the Eflip settings. fc00 (Off) ee00 (On) [Value2] Depends on the Eflip settings. 1200 (Off) 0400 (On) Inq 8 Inq SRG-A40 [Value1] 0000 [Value2] 4000 [Value3] 5556 (4K) 6000 (except 4K)
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 55
    Parameter ZoomMove ZoomSpeedScale AbsoluteFocus PanTiltMove PanTiltSpeedScale Set Inq Value Description Set [Value1] The command for operating with the Zoom tele, wide, stop slider of the Web UI. [Value2] 0 to 32766 [Value1] Direction [Value2] Speed The speed range is 0 to 32766. However,
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 56
    HomePos Parameter PresetCall PresetClear PresetImagingSet PresetName PresetNum PresetSet PresetThumbnailClear Set Inq Value Description Set recall Moves the Pan-Tilt of the camera to the Home Position. * Coordinate of the home position is Pan : 0000, Tilt : 0000. This coordinate cannot
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 57
    Parameter SeparateSpeed SpeedSelect Set Inq Value Description Set [Value1] Sets the pan/tilt speed corresponding to Inq 1 to 256 each preset when SpeedSelect is set to separate. [Value2] 1 to 25 [Value1] Preset number to be set [Value2] Speed to be set * Refer to the item "PRESET RUN
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 58
    set to auto, IrCutFilterManual cannot set to on. on : Night mode off : Day mode Sets whether to change the day/night mode automatically or not. manual: Sets the mode by IrCutFilterManual auto : Sets the mode automatically Returns the status of Day/Night mode. night : The camera is in Night mode. day
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 59
    or not, when you switch day/night mode automatically. 0 : Not supported Returns whether the function to switch the audio input level is supported or not. 1 : Supported Returns whether the Pan/Tilt function is supported or not. 1 : Supported Returns whether the admin password has been changed or not
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 60
    number of the camera. Inq 0 to 32 characters Returns the software version. Inq 0 Returns whether the superimpose function is supported or not. 0 : Not supported Inq 1 Returns whether Tally Lamp is available or not. 1 : Available Inq 1 Returns whether the teleconversion function is
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 61
    main.cgi Setting (Set): command/main.cgi?= Parameter FactoryDefault Set Inq Value Set hard, soft System Set on, reboot, standby Description Resets the camera to the default settings. hard: Hard reset (returns all settings to the factory default) soft : Soft reset (retain
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 62
    of this camera including the camera setting can be used.) * For details, refer to "Administrator and User" of "Operating Instructions." network.cgi Setting (Set): command/network.cgi?= Inquiry (Inq): command/inquiry.cgi?inq=network AutoIpv6 Parameter CameraName CurrentGateway
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 63
    Parameter CurrentPrimaryDns CurrentSecondaryDns CurrentSubnetmask Dhcp DnsAuto Gateway Gatewayv6 HttpMaxKeepAliveIdle HttpPort Ip IPsetupSetEnable Ipv6 LinkLocalIPv6 MacAddress PhyStat Prefix Set Inq Value Description Inq IPv4 or IPv6 address Returns the current IP address of the primary DNS
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 64
    Parameter PrimaryDns SecondaryDns Subnetmask Hostname Set Inq Value Description Set IPv4 or IPv6 address Setting of the static IP address of Primary Inq DNS server. Set IPv4 or IPv6 address Setting of the static IP address of Secondary Inq DNS server. Set IPv4 address Setting of the
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 65
    filtering.cgi Setting (Set): command/filtering.cgi?= Inquiry (Inq): command/inquiry.cgi?inq=filtering of the parameter tail is the number between 1 to3. Corresponds to the IPv4 filter 1 to 3 or IPv6 filter 1 to 3 which can be registered to the camera. Note If you set
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 66
    : TCP, UDP, ICMP The port number (Value5) designation only works for TCP and UDP. [Value5] Setting of supported port numbers When set to 0, all the Port numbers are supported. [Value6] Setting of policy allow : Specified accesses to the camera will be allowed. reject : Specified accesses to the
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 67
    : TCP, UDP, ICMP The port number (Value5) designation only works for TCP and UDP. [Value5] Setting of supported port numbers When set to 0, all the Port numbers are supported. [Value6] Setting of policy allow : Specified accesses to the camera will be allowed. reject : Specified accesses to the
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 68
    Parameter V6SynFloodExpire V6SynFloodLimit V6SynFloodProtection Set Inq Value Description Set 60 Setting of the predetermined time to Inq 10 to 86400 discard the results judged as an attack with IPv6 SYN Flood Attack Protection function. (unit: second) Set 5 Setting of the possible
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 69
    ssl.cgi Setting (Set): command/ssl.cgi?= Inquiry (Inq): command/inquiry.cgi?inq=ssl HttpsPort Parameter SSLCertAvailability SSLCertExtendedKeyUsage SSLCertInstalled SSLCertIssuerDn SSLCertMode SSLCertSubjectDn SSLCertValidity SSLMode SSLPrivPassword SSLPrivPasswordUsed
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 70
    ssl-cert.cgi Setting (Set): command/ssl-cert.cgi?= Parameter DeleteCert GenerateCert Set Inq Value Set sslcert Set selfsignedcert Description Deletes certificates stored in the cameras. sslcert : Deletes CA certificates for SSL Generates a self-signed certificate for SSL.
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 71
    Parameter NdiTransferModeMulticastUdp NdiTransferMulticastPrefix NdiTransferMulticastNetmask NdiTransferMulticastTTL NdiTransferModeMultiTcp NdiTransferModeUnicastUdp Set Inq Value Description Set on, off Sets enable/disable for the NDI Multicast Inq streaming. on : Enable off : Disable
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 72
    Parameter SrtListenPort SrtEncryption SrtPassphrase SrtPassphraseUsed Set Inq Value Description Set 4201 Sets the standby port number when Inq 1024 to 65534 working with the SRT-Listener. Set none, aes-128, aes-256 Sets encryption settings. Inq Set 0 Sets the passphrase for encryption.
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 73
    Codecs The following codecs are supported with the RTSP streaming function of the cameras. Video H.264 H.265 Audio AAC LC RTSP Request URL RTSP request URLs of the cameras to achieve
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 74
    RTSP Methods Supported Methods The cameras support the following RTSP methods. Supported Method OPTIONS DESCRIBE SETUP PLAY TEARDOWN GET_PARAMETER SET_PARAMETER PAUSE For details about the RTSP methods listed above, refer to IETF RFC 2326. 74
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 75
    Typical Sequence of RTSP Communication Overview of a typical RTSP communication sequence between the camera (RTSP server) and a client is as shown below. Client Camera OPTIONS DESCRIBE SETUP PLAY RTSP/1.0 200 OK RTSP/1.0 200 OK RTSP/1.0 200 OK RTSP/1.0 200 OK . .
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 76
    the following sections. The cameras support multiple codec simultaneously as mentioned in the previous "RTSP Request Web browser, refer to "Streaming" tab in "Streaming" menu in Operating Instructions. The RTSP session timeout value of the camera is indicated to a client
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 77
    Video Stream Acquisition TCP Bitstream (Video) The following diagram and captured packets show an example of a client acquiring a video bitstream via TCP in a situation where AudioIn is off. Client Camera OPTIONS rtsp:///video1 RTSP/1.0 RTSP/1.0 200 OK DESCRIBE rtsp://<
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 78
    78
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 79
    79
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 80
    from Admin menu via Web browser, refer to "Unicast streaming" of "Streaming" tab in "Streaming" menu in Operating Instructions. CGI Parameter RTSPUcVideoPort1 RTSPUcVideoPort2 RTSPUcAudioPort Corresponding to UDP unicast ports for "ImageCodec1" live stream. UDP unicast ports for "ImageCodec2
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 81
    UDP Unicast Bitstream (Video) Diagram Client Camera OPTIONS rtsp:///video1 RTSP/1.0 RTSP/1.0 200 OK DESCRIBE rtsp:///video1 RTSP/1.0 RTSP/1.0 200 OK a=control:trackID=1 SETUP rtsp:///video1/trackID=1 RTSP/1.0 Transport: RTP/AVP;unicast; client_port
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 82
    UDP Unicast Bitstream (Video) Packet Capture 82
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 83
    83
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 84
    Acquiring Both Video and Audio Bitstreams In case AudioIn is on and a client requests a video stream, the camera simultaneously transmits the video stream and an audio stream in an RTSP session. The following captured packets show an example of simultaneous video bitstream and audio bitstream
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 85
    rtpmap Attribute rtpmap attribute values in RTSP response to "DESCRIBE" request vary depending on the codec of media streams. Here are some examples. Codec H.264 H.265 AAC (128 kbps) AAC (256 kbps) rtpmap Attribute Value a=rtpmap:105 H264/90000\r\n a=rtpmap:96 H265/90000\r\n a=rtpmap:102 mpeg4-
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 86
    RTP/RTCP RTP Header Fields The RTP header has the following format. Field Version Padding Extension CSRC Count Marker Payload Type Sequence Number Timestamp Synchronization Source (SSRC) Identifier Contributing Source (CSRC) Identifier Bit Length 2 1 1 4 1 7 16 32 32 32 Description This field
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 87
    SR: Sender Report RTCP Packet The RTCP Sender report's header has the following format. Field Version Padding Reception Report Count Packet Type Length Synchronization Source (SSRC) Identifier NTP Timestamp RTP Timestamp Sender's Packet Count Sender's Ocket Count Bit Length 2 1 5 8 16 32 64 32 32
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 88
    information) is added to the video bitstream delivered by RTSP streaming function. This chapter describes the data structure of Userdata field this camera supports. Userdata Information Under H.264 Video Codec The data structure of Userdata field where the video codec is set to H.264 is described
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 89
    milliseconds per one increment). [example] TimeStamp: 0000000001\r\n This field shows the pan, tilt and zoom position. [example] CamPos: 111ppppttttzzzzm\r\n If a camera supports PTZ, first 3 digits are 111. Next "pppp," "tttt" and "zzzz" show the pan, tilt and zoom position respectively. "m" at the
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 90
    VISCA/CGI Command Setting Values SHUTTER/MIN SHUTTER/SHUTTER VISCA Parameter* SHUTTER MIN SHUTTER CGI Value SHUTTER 21 33 20 32 1F 31 1E 30 1D 29 1C 28 1B 27 1A 26 19 25 18 24 17 23 16 22 15 21 14 20 13 19 12 18 11 17 10 16 0F 15 0E 14 0D 13 0C 12 0B
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 91
    MAX SHUTTER VISCA Parameter* SHUTTER MIN SHUTTER 21 2160/29.97p 1080/59.94p 1080/59.94i 720/59.94p 1/10000 20 1/6000 1F 1/4000 1E 1/3000 1D 1/2000 1C 1/1500 1B 1/1000 1A 1/725 19 1/500 18 1/350 17 1/250 16 1/180 15 1/125 14 1/100 13 1/90 12 1/60 11 1/50 10 1/30
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 92
    IRIS/IRIS VISCA Parameter* IRIS 19 18 CGI Value IRIS 25 24 F value F2.0(OPEN) F2.2 17 23 F2.4 16 22 F2.6 15 21 F2.8 14 20 F3.1 13 19 F3.4 12 18 F3.7 11 17 F4.0 10 16 F4.4 0F 15 F4.8 0E 14 F5.2 0D 13 F5.6 0C 12 F6.2 0B 11 F6.8 0A 10 F7.3 09 9 F8.0 08
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 93
    EXPOSURE COMPENSATION VISCA Parameter* Exposure Compensation 0E 0D CGI Value Exposure Compensation 14 13 Gain value + 10.5 dB + 9.0 dB 0C 12 + 7.5 dB 0B 11 + 6.0 dB 0A 10 + 4.5 dB 09 9 + 3.0 dB 08 8 + 1.5 dB 07 7 0.0 dB 06 6 - 1.5 dB 05 5 - 3.0 dB 04 4 - 4.5 dB 03 3
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 94
    PAN/TILT POSITION VISCA Parameter* CGI Value* Pan DE00 de00 0000 0000 2200 2200 Tilt (Image Flip: OFF) (Eflip: Off) FC00 0000 1200 fc00 0000 1200 Tilt (Image Flip: ON) (Eflip: On) EE00 0000 0400 ee00 0000 0400 * Parameters and Values use hexadecimal digits. Position - 170 degrees 0
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 95
    PAN/TILT SPEED VISCA Parameter* CGI Value Pan/Tilt Speed (PAN/TILT SLOW=OFF) 18 17 Pan/Tilt Speed (SlowPanTiltMode : off) 24 23 16 22 15 21 14 20 13 19 12 18 11 17 10 16 0F 15 0E 14 0D 13 0C 12 0B 11 0A 10 09 9 08 8 07 7 06 6 05 5 04 4 03 3 02 2 01 1
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 96
    VISCA Parameter*1*2 CGI Value*3 Rotation speed (for reference) Pan/Tilt Speed Pan/Tilt Speed (PAN/TILT SLOW=ON) (SlowPanTiltMode : on) Pan (deg/sec) Tilt (deg/sec) 18 24 60 - 17 23 26.4 91 16 22 13.2 84 15 21 10.8 80 14 20 9.6 72 13 19 8.9 69 12 18 8.1 64 11 17
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 97
    PRESET RUN SPEED VISCA Parameter* CGI Value Preset run speed 19 18 Preset run speed 25 24 17 23 16 22 15 21 14 20 13 19 12 18 11 17 10 16 0F 15 0E 14 0D 13 0C 12 0B 11 0A 10 09 9 08 8 07 7 06 6 05 5 04 4 03 3 02 2 01 1 * VISCA parameter uses
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 98
    FOCUS DISTANCE VISCA Parameter* CGI Value* Focus distance (for reference) F000 E000 D000 F000 E000 D000 0.08 m 0.1 m 0.17 m C000 B000 A000 C000 B000 A000 0.26 m 0.35 m 0.47 m 9000 8000 7000 9000 8000 7000 0.6 m 0.8 m 1.0 m 6000 5000 4000 6000 5000 4000 1.2 m 1.5 m 2 m 3000 3000 3 m
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 99
    Inf 2000: 5 m 3000: 3 m 4000: 2 m 5000: 1.5 m 6000: 1.2 m 7000: 1.0 m 8000: 0.8 m 9000: 0.6 m A000: 47 cm B000: 35 cm (initial value) Use the distance shown as a guide value as it may vary depending on the temperature characteristics. * The lower 1 byte is fixed at 00. C000: 26 cm D000: 17 cm
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 100
    Pan mechanism is defective. Tilt functions normally. Tilt position cannot be detected. Tilt mechanism is defective. No movement instruction Pan/Tilt operating Pan/Tilt operations complete. Pan/Tilt operations failed. Not initialized Initializing Initialization completes. Initialization failed. 100
  • Sony SRG-A40 | Technical Manual - VISCA/CGI COMMAND LIST - Page 101
    TIME ZONE No. CGI 1 utc+1400 2 utc+1330 3 utc+1300 4 utc+1230 5 utc+1200 6 utc+1130 7 utc+1100 8 utc+1030 9 utc+1000 10 utc+0930 11 utc+0900 12 utc+0830 13 utc+0800 14 utc+0730 15 utc+0700 16 utc+0630 17 utc+0600 18 utc+0530 19 utc+0500 20 utc+0430 21 utc+0400 22 utc+0330 23
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101

Color Video Camera
VISCA Command List
CGI Command List
Software Version 1.0
SRG-A40/A12
5-053-155-
11
(1)
© 2023 Sony Corporation