Replies: 1 comment
-
I solved it by passing the same width and height in the src rect box : ) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I have been working on an app that records video using expo camera and plays it using skia Image. I record the video in portrait mode but for some reason it is always in landscape in the skia image view. I am Following the guide on
https://shopify.github.io/react-native-skia/docs/video#rotated-video
to rotate video but It does not seem to work
below is the video recording of before applying the transform
ScreenRecording_04-23-2025_19-30-30_1.mov
after applying the transform as you can see the recorded video is rotated perfectly but chopped off from the middle and placed at the top
ScreenRecording_04-23-2025_19-38-46_1.mov
Here is my code (It appears that the expo-camera recorded has video with 1920 as width and 1080 as height which is flipped, flipping these back in code does not seem to help)
Here is the console output
Beta Was this translation helpful? Give feedback.
All reactions