mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.71k stars 790 forks source link

Camera input is upside-down #829

Open kddlb opened 7 years ago

kddlb commented 7 years ago

Version: 0.7-4734-f15aacd OS: Windows 10 1703 (Creators Update, build 15063.483) 64-bit

The camera input when using the Qt Multimedia driver is upside down.

game boy camera usa europe sgb enhanced -0

The camera being used is a Logitech HD Webcam C525.

ActualMandM commented 4 years ago

On mGBA 0.8.3 I get this issue when using a Logitech HD Webcam C270.

2020-09-10_21-41-06
endrift commented 4 years ago

Windows?

ActualMandM commented 4 years ago

I am using Windows 10 Home 2004.

endrift commented 4 years ago

@slashiee thanks for pointing out it still had issues; it's fixed properly now and it'll work fine when I release 0.8.4 in a few days.

ActualMandM commented 4 years ago

Checking out 0.9-6512-06a3370da, the camera output is still upside down for me.

2020-09-11_19-47-34
endrift commented 4 years ago

...huh, that's strange. Does it work properly in other software?

ActualMandM commented 4 years ago

Other software as in Discord or other software using Qt Multimedia?

endrift commented 4 years ago

Discord would be a good example of other software, yes.

ActualMandM commented 4 years ago

I tried Discord and Citra and they display it just fine.

endrift commented 4 years ago

Ok thanks. I'm not sure if I should reopen this issue or have you open a new one. Hm. It's definitely still a problem apparently, but I don't know if it's in mGBA or in Qt Multimedia.

vico93 commented 3 years ago

I still have the issue on 0.8.4

Squall-Leonhart commented 1 month ago

This is either fixed, or an issue specific to Logitech camera's (And that wouldn't surprise me at all)

endrift commented 1 month ago

I tested this with a Logitech camera and have never been able to reproduce. And given the fact that it doesn't reproduce in other things, only mGBA, I have no idea what you think such a bug would even present like.

Squall-Leonhart commented 1 month ago

I have no idea what you think such a bug would even present like.

Flipped video, frozen video and stuttering have been an on and off problem with many logitech products, in the days of msn and wlm the logitech devices had specific workarounds to mitigate bad implementations of raw mpeg capture. Windows now has its own Windows.Media.Capture so Logitech shouldn't be needing to do any encoding in their own drivers, but like i said, it wouldn't surprise me if some still do, particularly 2013 and older products like ops C525.

The C270 had a faulty driver released alongside windows 11 which wasn't tested properly, it was broken on all platforms that could use it.