Skip to content
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

Crop error on videos containing landscape-rotated iOS screen recordings #160

Open
cc0800 opened this issue Nov 21, 2022 · 1 comment
Open

Comments

@cc0800
Copy link

cc0800 commented Nov 21, 2022

mpv version and platform

mpv 0.35.0 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects
 built on Mon Nov 14 04:47:57 2022
FFmpeg library versions:
   libavutil       57.42.100
   libavcodec      59.52.102
   libavformat     59.34.101
   libswscale      6.8.112
   libavfilter     8.50.100
   libswresample   4.9.100
FFmpeg version: git-2022-11-14-3ab11dc5b

Description

When attempting to crop a landscape-rotated video saved by the iOS screen recorder, the allowed cropping area does not properly match the video dimensions, rather it seems to be trying to restrict to some variant of the portrait aspect ratio. Additionally, the coordinates visually selected for cropping do not match what is actually cropped in the preview or final output webm.

Here is a Windows capture demonstrating the issue in action:
https://streamable.com/5t65g3

Sample video file with the problem:
https://user-images.githubusercontent.com/56432680/202983847-3448d13b-90a6-46f3-a305-f487244707a7.mp4

@frozenpandaman
Copy link

I've run into this same thing too when using Mac's built-in rotate command (Cmd+R) on videos prior to opening them in mpv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants