Both CM4x and CM7x camera series support the flip functions as detailed in the user manual:


Flip-H, Flip-V, Auto flip

The Flip-H mode turns the picture horizontally, while the Flip-V mode turns it vertically by 180 degrees. 

When Auto Flip is on, the camera will automatically flip the picture (to get it straight UP, not upside down) when you put the camera upside down (the image will stand UP even accross a hard camera reboot)


Note that the flip function will be applied on all the camera outputs and even to the preview available in the camera web GUI in the case of the CM7x series (if needed, refresh the webpage). The OSD menu itelf will never be flipped (if this occurs, this would due to a 3rd party application like a videoconferencing platform software which flips both the video and the OSD menu on the local PC)


So, there are different flip functions, but also different ways to apply them, this is what we will try to explain below:



IR REMOTE CONTROL

From the IR remote control you can press the key combination [*] → [#] → [9] (Press *, release, press #, release, and finally press and release) to flip vertically and horizontally the image (it will remain even after a soft or hard camera reboot)



OSD MENU

Note that the OSD Menu is visible:

- on the CM40 and CM7x HDMI and SDI outputs (not on USB nor on IP output)

- on the USB output of the videoconferencing CM41 and CM44 cameras


You can open the OSD menu by pressing the [MENU] button on the IR remote control to access the flip options:


The Autoflip option is available under the Setup tab:

(The Autoflip is set by default to "ON" which means that if you put the camera upside down, the image will be automatically flipped to show it normal -straight UP, not upside down- even accross a hard camera reboot)


If the Autoflip is ON, you won't find any Flip-H (Horizontal flip) or Flip-V (Vertical flip) options in Camera tab > Image, but only if when the Autoflip has been previously set to OFF:

(If set to ON, the flip-H and flip-V remain even accross a hard camera reboot)



VISCA COMMANDS

All the Visca commands are available in the respective user manual of the camera and these commands are the same for both Visca over IP and Visca over Serial connections.

Note that the default VISCA address setting is always 1 when using VISCA over IP. As all cameras are uniquely identified by their IP address, all VISCA addresses are set to 1, the serial addressing plays no part. For VISCA over IP, every command starts with 81 xx xx xx .



The pics below show the different flip commands results using the Windows Camera App (to get the USB stream from the camera, here a CM41) and Hercules (terminal to send commands by IP to the camera)

The flip commands below are supported by both CM4x and CM7x series:


CAM_LR_Reverse (Image Flip Horizontal On/Off):     

On     8x 01 04 61 02 FF (See pic below)

Off     8x 01 04 61 03 FF



CAM_PictureFlip (Image Flip Vertical On/Off): 

On     8x 01 04 66 02 FF (See pic below) 

Off     8x 01 04 66 03 FF



CAM_Flip (Single Command For Video Flip)        

OFF        8x 01 04 A4 00 FF 

Flip-H     8x 01 04 A4 01 FF (1rst image below)

Flip-V     8x 01 04 A4 02 FF (2nd image below) 

Flip-HV     8x 01 04 A4 03 FF (3rd image below)



CAM_Autoflip (Autoflip ON/OFF)

Autoflip ON     8x 01 02 70 02 FF  (1rst image below) 

Autoflip OFF     8x 01 02 70 03 FF (2nd image below)

(Autoflip ON: The image will automatically get normal/straight UP if the camera is placed upside down)

(Autoflip OFF: The image will NOT get normal/straight UP if the camera is placed upside down)



CAM_PictureFlipInq     8x 09 04 66 FF     90 50 02 FF On

                                                                  90 50 03 FF Off

(This is an inquiry command)





HTTP API COMMANDS

To send a HTTP API command to the camera, you will need to copy and paste into your web browser the following: http://192.168.5.163/ajaxcom?szCmd= (192.168.5.163 is the default IP address of an Avonic camera but change it accordingly with yours if needed), completed with the one of the commands below:


flip-H

{"SetEnv":{"VideoParam":[{"stImg":{"nFlipH":3},"nChannel":0}]}}

where 2: ON, 3: OFF


=> Example to enable the flip-H (flip horizontal), send the following command:

http://192.168.5.163/ajaxcom?szCmd={"SetEnv":{"VideoParam":[{"stImg":{"nFlipH":2},"nChannel":0}]}}


If correct it should return: 

{"nRetVal":0, "szError":""}



Flip-V 

{"SetEnv":{"VideoParam":[{"stImg":{"nFlipV":2},"nChannel":0}]}}

where 2: ON, 3: OFF


AutoFlip 

{"SetEnv":{"VideoParam":[{"stImg":{"nAutoFlipV":2},"nChannel":0}]}}

where 2: ON, 3: OFF



* More information:

HTTP API commands - CM7x-IP

HTTP API commands - CM4x