I have a DS-2CD3132F-IWS, fw version V5.2.5 build 141201. It has a couple of bugs, one of which is not being able to change the video mirroring. The configuration > Display Settings > Video Adjustment pane shows the Mirror setting, however the 'Save' button is missing and changing the Mirror setting does nothing.
After a bit of poking around, I discovered that the camera saves all (?) of its configuration to a sqlite database in /davinci/ipc_db. Copying this file off to a machine with an sqlite client allows you to modify any config setting after copying the file back and rebooting the camera.
In particular, the mirroring function is controlled by the mirror field of the front_other_config table; 0 is normal, 1 = mirrored, 2 and 3 are other variations on flipped/mirrored.
e.g. (from a linux host, bikecam is the camera with ssh enabled)
After a bit of poking around, I discovered that the camera saves all (?) of its configuration to a sqlite database in /davinci/ipc_db. Copying this file off to a machine with an sqlite client allows you to modify any config setting after copying the file back and rebooting the camera.
In particular, the mirroring function is controlled by the mirror field of the front_other_config table; 0 is normal, 1 = mirrored, 2 and 3 are other variations on flipped/mirrored.
e.g. (from a linux host, bikecam is the camera with ssh enabled)
Code:
% ssh admin@bikecam 'cat /davinci/ipc_db' > /tmp/ipc_db
% # dump the db, look over the content
% sqlite3 /tmp/ipc_db .dump | less
% sqlite3 /tmp/ipc_db
SQLite version 3.8.10.2 2015-05-20 18:17:19
Enter ".help" for usage hints.
sqlite> .mode line
sqlite> select * from front_other_config;
idx = 1
local_output = 1
powerline = 0
mirror_ctrl = 0
mirror = 0
scene_mode = 0
...
sqlite> update front_other_config set mirror=2; -- flip upside down
sqlite> ^D
% # copy back and reboot
% ssh admin@bikecam 'cat > /davinci/ipc_db && /sbin/reboot' < /tmp/ipc_db