Page MenuHomePhabricator

Apply dim layer on the video player and make the cropped area to display clear
Open, Needs TriagePublic

Description

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.

This tool can be found at: https://tools.wmflabs.org/video-cut-tool-front-end/

Steps to Install

As the video encoding takes lot's of time, prefer to select the videos having lesser size and length (eg: may be videos having length around 1min).

Currently in VideoCutTool on selecting the cropped part of video, the selected cropped area will be displayed as below.

Expected behavior: Apply the dim layer on the entire video in player and make the cropped (selected) area to display clearly as shown as below.

Current Behavior
Expected Behavior

Code Repos:
VideoCutTool-front-end: https://github.com/gopavasanth/video-cut-tool-front-end/
VideoCutTool-back-end: https://github.com/gopavasanth/video-cut-tool-back-end/

This crop feature is implemented some where here: https://github.com/gopavasanth/video-cut-tool-front-end/blob/master/src/components/home.js#L671