Motioneyeos: Flipping video options

Created on 12 May 2016  路  7Comments  路  Source: ccrisan/motioneyeos

In 'normal' camera mode my video stream is mirrored/reversed. With Fast Network Camera option set there is an option to flip the video horizontally which is not there in normal mode.

I'm using a Rpi 3 and camera v2. Would be grateful for any advice or comment.


Just looking at the Raspberry Pi forum and this appears to be a bug in Raspbian which was reported and fixed around the end of April. So wondering if this likely to affect motioneyeos and if so whether a workaround or fix is possible.

Many thanks,

All 7 comments

Same to me:
Raspi 1B and camera V2.1 => sides are inverted

I am also experiencing this issue. It would be great to be able to apply horizontal flip to the camera in normal mode. :)

I have just switched over to a Pi3 + V2 NoIR and noticed the videos are mirror imaged.

I tried to follow these steps but they did not work for me:
@cjmair

I would try this.
SSH to the Pi, as root, then use these commands

CD /etc
mount -o remount,rw /
nano rc.local

Use the editor to add the following two lines:

!/bin/sh

v4l2-ctl --set-ctrl horizontal_flip=1

use Ctrl&O to save the file then Ctrl&X
issue a reboot command

Good Luck

Post: https://github.com/ccrisan/motioneyeos/issues/278

@deruiter
Added the line v4l2-ctl --set-ctrl horizontal_flip=1 to the file /etc/init.d/S99showinfo
(you need to enable debug mode to write to the S99showinfo file.)

All works fine now :+1:

If you are using the motioneyeos image, you can fix this by doing the following:

ssh into your device
create this file using the nano command:
nano /data/etc/userinit.sh
add the below line into the userinit.sh file
v4l2-ctl --set-ctrl horizontal_flip=1
save and reboot your device.

@gavros awesome, thanks so much pal! That did the trick.

@gavros: that's it ! thans a lot :-)

The new OS image with RPi Zero and camera v2.1 support will be available later today.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shadowfxd picture shadowfxd  路  7Comments

nusspli picture nusspli  路  5Comments

JasonMorris1 picture JasonMorris1  路  5Comments

leehonan picture leehonan  路  7Comments

dimgod59 picture dimgod59  路  4Comments