-
-
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
🐛 Mirror issue with front camera #2941
Comments
Mirroring is intentional. This is how VisionCamera works. For Video files it just isn't really simple - what if you flip camera devices from front to back while recording? Is the video now mirrored or not? |
The back camera does not mirror the video, only the front-facing camera does. Typically on stock camera app (on my iphone), the camera preview appears mirrored, but when saving to a file, it is flipped back. |
That's not what I said. A video file cannot have an |
So what could you suggest? My usecase is quite simple, only need front camera. |
I think I could add a prop like |
Thank you for your information, I'll consider it.
|
Hey all! I just spent some time to build a new feature: I created a PR to add a With this prop you can enable or disable output mirroring 🎉🥳 If you appreciate my time and dedication towards building new features and constantly improving this library, please consider sponsoring me on GitHub :) |
What's happening?
Front facing video file output is mirrored, both on Android and iOS. While the preview should be mirrored, the output file should not.
Also, while
PhotoFile
hasisMirrored
field,VideoFile
does not. So if I want to flip the video, I have no idea if it's mirrored or not.There is opening issue about this mirror thing from 2022, but my needs are simpler, either provide an option to disable this mirror, or provide a field to let me know if it's mirrored.
Reproduceable Code
Relevant log output
Camera Device
Device
iPhone 12 Pro + Samsung Galaxy A32
VisionCamera Version
4.0.5
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
The text was updated successfully, but these errors were encountered: