-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Potrait mode video is flipped to wrong direction #3200
Comments
Guten Tag, Hans here! 🍻 Thanks for reporting zis issue. It looks like you might be encountering an unexpected behavior with video orientation in portrait mode. Can you please verify if you have tried reproducing zis issue in ze VisionCamera Example app? It's important to ensure zis problem persists outside of your setup. Also, if possible, please provide any additional logs from Xcode or adb logcat when zis issue occurs. Zis will help mrousavy a lot in diagnosing ze problem. If you're unsure how to gather logs, for iOS you can find them in ze Xcode console. For Android, use Once you have more information, we can work towards resolving zis. Danke!
|
Please try if you can reproduce here. |
I was able to reproduce this with the front camera in the example app by adding Edit: Tested with version 4.5.3 |
Same here, for android is working good, but for iOS with |
I am seeing this error as well. If In other words, if I record a video with the front camera, without using this The code is below:
@colaquecez @davetodd Am I missing something obvious here or is the front camera not working properly on iOS? |
is this happening only in IOS version 16 or below 16 i saw the same issue in iphone x and in 7 but working fine in 13,14 device. |
@flyingL123 per this comment I think the default behavior is intentional -- unlike the default iOS camera's output, react-native-vision-camera's output is mirrored. So the bug is that |
@davetodd ok got it. That makes sense. My built-in camera has the mirroring setting disabled, so if I'm trying to have react-native-vision-camera mimic that behavior, I should pass I am on iPhone XR - iOS v17.6.1 @mrousavy any idea what's causing this? |
I also need a fix for this, mirroring on IOS is turning the video upside down instead of vertical mirroring as the documentations says it should. Any update? |
I am also seeing this issue on IOS. Currently having to add a workaround to rotate the videos that are upside down. |
What's happening?
I am capturing the video in front camera with portrait and landscape mode. In Landscape mode it's working fine. but when i capture the video in portrait mode the video is flipped to wrong direction.
Please suggest.
Reproduceable Code
Relevant log output
Camera Device
Device
iPhoneX OS 16.7.10
VisionCamera Version
4.5.3
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information
The text was updated successfully, but these errors were encountered: