CatxFish / obs-v4l2sink

obs studio output plugin for Video4Linux2 device
GNU General Public License v2.0
930 stars 99 forks source link

Possibility to flip the video horizonal or vertical #12

Closed gbraad closed 5 years ago

gbraad commented 5 years ago

When using this with chrome, my image seems to be flipped horizontally:

For example when capturing a screen:

 ffmpeg -f x11grab -r 30 -s 1920x1080 -i :1.0+0,0 -vf hflip -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video1 

using -vf hflip is necessary.

gbraad commented 5 years ago

It seems to be ONLY for Google Chrome (not Firefox, bluejeans or zoom), and I found: https://bugs.chromium.org/p/webrtc/issues/detail?id=3769

Not an issue with the sink plugin

$ v4l2-ctl -c horizontal_flip=1

might help (although this does not seem to work with v4l2loopback). Back to Firefox ...