Skip to content

Conversation

stanleyqubit
Copy link

Previously, the script would allow for the drawing of the crop zone to begin even if the crop cursor was placed outside video dimensions (e.g. the area into which the video is rendered). This would show inaccurate crop zone dimensions when drawing the text for the crop zone.

This PR limits placing of the crop cursor within video dimensions area, and also adds a little quality-of-life feature that displays the aspect ratio of the crop zone before validation.

dexeonify added a commit to dexeonify/mpv-config that referenced this pull request Apr 30, 2023
- Clamp cursor within video dimensions
- Display crop zone DAR
dexeonify added a commit to dexeonify/mpv-config that referenced this pull request Sep 24, 2023
@stanleyqubit stanleyqubit changed the title Clamp cursor within video dimensions, display crop zone DAR [crop] Clamp cursor within video dimensions, display crop zone DAR Jun 4, 2024
dexeonify pushed a commit to dexeonify/mpv-config that referenced this pull request Sep 14, 2025
...and display crop zone DAR

Previously, the script would allow for the drawing of the crop zone to
begin even if the crop cursor was placed outside video dimensions (e.g.
the area into which the video is rendered). This would show inaccurate
crop zone dimensions when drawing the text for the crop zone.

This PR limits placing of the crop cursor within video dimensions area,
and also adds a little quality-of-life feature that displays the
aspect ratio of the crop zone before validation.

Ref: occivink/mpv-scripts#67
@stanleyqubit
Copy link
Author

Closed in favor of the friendlier, more maintainable and updated: #89 and #90.

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

Successfully merging this pull request may close these issues.

1 participant