microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.55k stars 6.45k forks source link

Video Conference Mute - Camera Overlay flipped vertically #14339

Closed TheNightmanX closed 1 year ago

TheNightmanX commented 2 years ago

Microsoft PowerToys version

0.49.1

Running as admin

Area(s) with issue?

Video Conference Mute

Steps to reproduce

Usa a camera overly picture in video conference mute.

✔️ Expected Behavior

picture is shown normal (top of picture is shown as top of camera picture, bottom of picture is shown as bottom of camera picture)

❌ Actual Behavior

Picture is shown vertically flipped. (top - bottom flipped)

Other Software

Microsoft Teams 1.4.00.29480 (64 bit) on Windows 11 Enterprise 64 bit build 22000.258.

franky920920 commented 2 years ago

@TheNightmanX Which video conference solution are you using? Cloud you please attach a screenshot?

cc: @yuyoyuppe It seems weird that the image was flipped vertically. I knew some video conference software does horizontally flip the input.

TheNightmanX commented 2 years ago

Conference Solution see my post. Screenshot attached image

yuyoyuppe commented 2 years ago

@TheNightmanX thanks for the report. could you please tell us what's your camera model? It happens only with overlay image itself, not with camera video stream, correct?

TheNightmanX commented 2 years ago

Camera is a Microsoft LifeCam HD-6000 and yes, it happens only with the overlay.

kgegere commented 2 years ago

Not sure where to put this, but the exact same issue is happening with Kinect V2 Video Sensor as well. Checked with the built-in camera, the issue isn't present there.

Diddern commented 2 years ago

Can confirme issue. Canon EOS Camera utility (EOS M200)

bendem commented 2 years ago

Same here, ThinkPad T495 internal cam, image is flipped in Teams (when it appears, generally it's just black).

Jay-o-Way commented 2 years ago

I don't know if this is hardware or software related. Thanks all for commenting with device types, but want to ask (@ggegeris @Diddern @bendem) to also mention what software is showing this issue, and if it also occurs in other apps. (think Teams, Teamviewer, Google Meet, Skype, OBS Studio...) and screenshots help alot!

Diddern commented 2 years ago

In my case it is Microsoft Teams. If I use my camera as the regular input, it works as it is supposed to, but if I select the device "PowerToys VideoConference Mute" it is rotated 180 degrees. Zoom is the same, but it has an option to rotate the image in settings (Teams does not).

bendem commented 2 years ago

image

kgegere commented 2 years ago

Sorry for the delay. Just checked all apps I have on my computer

Apps that the can handle the camera but flip the image:

All of these three apps work perfectly fine with other devices

Also:

Let me know if you need any other info
Cheers

ChrislyBear-GH commented 2 years ago

Same here: I'm using Teams and I've set the PT camera as default device. The overlay image will be flipped on the head. (at least in my preview)

Jay-o-Way commented 2 years ago

I don't have a clue what the cause is, but just thinking it loud: is it possible the stream of data is processed in a different direction? Like, usually it would render like western reading direction (left to right, then next line below that) but what if one part in the chain starts in the bottom right corner?

yuyoyuppe commented 2 years ago

@Jay-o-Way something like that might be the case, but I couldn't found any API which could help us distinguish between correct and incorrect stream type. Inability to repro it locally also doesn't help :/.

Marking this as low-priority for now since the overlay image could be manually flipped in image editor.

Diddern commented 2 years ago

@yuyoyuppe I want to point out that it is not only the overlay image that is flipped in my case. My entire camerastream is flipped verticaly, making PT-camera unusable

Jay-o-Way commented 2 years ago

I was about to ask @Diddern (and possibly others) does your camera happen to have a orientation sensor? But that would only account for the video stream, not the overlay 🤔

Diddern commented 2 years ago

@Jay-o-Way not that I am aware of. It does not matter if I use the built in laptop camera or the Canon EOS M200 in PT, the output is still flipped. I would assume that the laptop camera does not have orientation sensor, though Canos may have it.. My sollution is to implement a feature for rotating in PT.

yuyoyuppe commented 2 years ago

There must be a proper way to determine correct orientation without resorting to transforming the stream on the fly :)

thomassth commented 2 years ago

How about just allowing us to flip/rotate the camera feed within the powertoys settings?

DerRheingold commented 2 years ago

I got the same issue :( With the Microsoft Lifecam Studio (TM) the selected .jpg for the camera-overlay is rotated 180° when the cam is muted.

I like the idea to add an option for flipping/rotating the image in the Power-Toys-Settings :) 👍

jadaml commented 1 year ago

This issue happens for me to: Video feed is OK, overlay image specifically appears rotated by 180° (may be vertically flipped, as the preview is horizontally flipped) I attached both a screenshot, and the image I use. Edit: Version of PowerToys is v0.61.1 duckcam Képernyőkép 2022-10-06 173406

crutkas commented 1 year ago

Thanks for the feedback but VCM is moving to maintenance only in the 0.67 timeframe. Our team will only directly address critical bugs, security and accessibility issues.

We'll accept community PRs for enhancements.