Wikimedia
[VideoCutTool] Remove the video-encoding's while uploading to commons.
VideoCutTool is a tool to trim, crop, rotate on-the-fly videos in Wikimedia Commons. It is hosted in Wikimedia Toolforge and can be found at https://tools.wmflabs.org/video-cut-tool/
Background
Currently, after completion of video processings through VideoCutTool, If the user wants to upload the same video into Wikimedia Commons, After clicking on the "Upload to commons" button the video-cut-tool again starts encoding the video and then upload as it doesn't have any database to store the newly generated filename of that user.
Task:
- Learn about VideoCutTool from Commons: VideoCutTool
- One solution could be creating a database (eg: MongoDB) save the newly encoded video filename in the database and then use the same newly generated file (same filename) to directly upload the video to commons instead of re-encoding the video again and upload. This saves tons of video encoding time and makes the clients work hopefully two times faster than the current process. Any other method is also appreciated and accepted :)
Code Repos:
- VideoCutTool-front-end: https://github.com/gopavasanth/video-cut-tool/
- VideoCutTool-back-end: https://github.com/gopavasanth/video-cut-tool-back-end/
Task tags
Students who completed this task
Crutishnyk