motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.98k stars 653 forks source link

USB camera and the use of v4l2-ctl --set-ctrl horizontal_flip=1 #2545

Open evandene opened 2 years ago

evandene commented 2 years ago

Hardware and OS: Raspberry pi 2W Zero, latest Raspberry pi OS.

I'm in the process designing an inspection USB camera. When the camera rotates 180 degree the image should flip horizontally. In my setup I'm trying a terminal command "v4l2-ctl --set-ctrl horizontal_flip=1" but that doesn't work. The system comes with "unknown command" 'horizontal_flip' Can somebody help this oldy solving the problem? If I can get this to work, I would like to get this command under a tactile button on my camera handgrip. The camera user can't use the MotionEye menu, the user must be enabled using a button on the handgrip. Horizontal_flip

assetkad commented 8 months ago

did you solve it?

evandene commented 8 months ago

Yes we did solve the problem by upgrading the firmware of the camera