mpv-easycrop
mpv-easycrop copied to clipboard
I cannot choice a corner precisely
Hello,
If I try to choose a corner precisely, when I move my mouse I see that it take the point far from where I click. If it's normal, it would be nice to know where we can click precisely I think.
Cheers.
How far away is the chosen point? Could you possibly upload a screenshot of this behavior, plus mpv log?
If the difference is only a few pixels, and the log contains a message like "[crop] Adjusting crop origin to .../... for pixel format alignment.", it's likely that this is caused by mpv's cropping mechanism, not this script.
Hello sorry for the time.
I try to click next the blank line. I try with another script and work well.
I don't see any informations in mpv.
For me it's ok if I use the next script. https://github.com/occivink/mpv-scripts/blob/master/crop.lua
Ok, that looks like my bug; thanks for the report, and the link to the working script. Does this issue happen all the time, or only with some video files? It's probably a bug in the video space <-> screen space coordinate conversion stuff.
I tried it only on 2 videos. The two come from different DVD and are make with makemkv if it can help.
Could also be something related to ffmpeg.
I recently watched a video that initially worked, but during playing the cropping was reset, and I got this error on the console:
[ffmpeg] filter: Invalid too big or non positive size for width '1278' or height '636' [ffmpeg] filter: Failed to configure input pad on filter [lavfi] failed to configure the filter graph Disabling filter easycrop because it has failed.