VideoCutTool aims to trim and crop on fly videos in Wikimedia commons, This tool is to perform trim, crop, rotate and audio disability and host in Wikimedia toolforge.
It can be found at https://tools.wmflabs.org/video-cut-tool/
Steps to Install
- Clone the repo, For the installation follow this https://github.com/gopavasanth/video-cut-tool#installation
- Fix the bug, and make a PR to the same Repo.
- For More info: https://commons.wikimedia.org/wiki/Commons:VideoCutTool
Steps to reproduce
- Give the video URL in the VideoCutTool (say eg: https://upload.wikimedia.org/wikipedia/commons/4/4a/Artist%E2%80%99s_impression_of_the_ultracool_dwarf_star_TRAPPIST-1_from_close_to_one_of_its_planets_%28eso1615c%29.webm) and click on the play button
- Select the crop video, here the video cut tool displays you the crop layer in the player.
Currently, to change the dimensions(i.e width and the height) of this layer it's not as user-friendly, Let us fix this and make it more user-friendly to change the dimensions of the crop layer easily.
Resources to fix this:
- https://codepen.io/nagybnc/pen/pemPjO
- https://daybrush.com/moveable/
- https://jqueryui.com/resizable/
- https://konvajs.org/docs/sandbox/Image_Resize.html
- https://codepen.io/adammertel/pen/yyzPrj
Actual | Expected |