{"id":22389931,"url":"https://github.com/akash-rajak/video-cropper","last_synced_at":"2026-04-27T00:32:02.994Z","repository":{"id":112665702,"uuid":"391429679","full_name":"akash-rajak/Video-Cropper","owner":"akash-rajak","description":"Script to crop video according user's  size and dimension.","archived":false,"fork":false,"pushed_at":"2021-10-07T16:05:02.000Z","size":1884,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T05:46:31.491Z","etag":null,"topics":["cv2","numpy","python3","tkinter","video","video-cropper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akash-rajak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-31T18:03:44.000Z","updated_at":"2021-12-07T15:39:07.000Z","dependencies_parsed_at":"2023-06-10T22:00:13.331Z","dependency_job_id":null,"html_url":"https://github.com/akash-rajak/Video-Cropper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akash-rajak/Video-Cropper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akash-rajak%2FVideo-Cropper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akash-rajak%2FVideo-Cropper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akash-rajak%2FVideo-Cropper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akash-rajak%2FVideo-Cropper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akash-rajak","download_url":"https://codeload.github.com/akash-rajak/Video-Cropper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akash-rajak%2FVideo-Cropper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32318417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cv2","numpy","python3","tkinter","video","video-cropper"],"created_at":"2024-12-05T03:13:51.709Z","updated_at":"2026-04-27T00:32:02.980Z","avatar_url":"https://github.com/akash-rajak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ✔ VIDEO CROPPER\n- An Video Cropper is an application created in python with tkinter gui and OpenCv library.\n- In this application user can select any videos (either mpy, mkv, avi, or any other extension of video) and can crop it by entering the required dimension.\n- User will be able to crop the video according to his/her choice of height and width.\n- User will also be able to see the preview of both the original video and the cropped video while cropping process is going on.\n- After completion of cropping, the cropped video will be saved automatically to the Project folder with name \"cropped_video.mp4\".\n\n****\n\n### REQUIREMENTS :\n- python 3\n- tkinter module\n- filedialog from tkinter\n- messagebox\n- from PIL import Image, ImageTk\n- import cv2\n- import numpy\n\n****\n\n### HOW TO Use it :\n- User just need to download the file, and run the video_cropper.py, on local system.\n- After running a GUI window appears, where user can start the video cropper by clicking on the START button.\n- After that a new GUI window will open, in which user will have buttons like SELECT, CROP VIDEO, CLEAR and EXIT.\n- User can select any video file (either mpy, mkv, avi, or any other extension of video) from the local system, using SELECT button.\n- After user has selected video, user will be able to see the path of the video selected in the text area.\n- After that user will also need to enter the dimesions of cropped video like Starting X,Y co-ordinates, height and width.\n- After this, when user clicks on the CROP VIDEO button, the cropping process will start and user will be previewed both the cropped video and the original video.\n- After the cropping process get completed, user will get a success message, and the cropped video will be saved automatically to the project folder with name \"cropped_video.mp4\".\n- Also there is a CLEAR button, clicking on which user can clear the dimension entry that user has entered previously.\n- Also there is an EXIT button clicking opn which user can exit from the application.\n\n### Purpose :\n- This scripts helps user to easily to crop the any video according to user's dimension choice.\n\n### Compilation Steps :\n- Install tkinter, PIL, cv2, numpy\n- After that download the code file, and run video_cropper.py on local system.\n- Then the script will start running and user can explore selecting any video and cropping that video by entering the dimension of his/her choice.\n\n****\n\n### SCREENSHOTS :\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width = 1000 src=\"Images/1.jpg\" /\u003e\u003cbr\u003e\n  \u003cimg width = 1000 src=\"Images/2.jpg\" /\u003e\u003cbr\u003e\n  \u003cimg width = 1000 src=\"Images/3.jpg\" /\u003e\u003cbr\u003e\n  \u003cimg width = 1000 src=\"Images/4.jpg\" /\u003e\u003cbr\u003e\n  \u003cimg width = 1000 src=\"Images/5.jpg\" /\u003e\u003cbr\u003e\n  \u003cimg width = 1000 src=\"Images/6.jpg\" /\u003e\u003cbr\u003e\n  \u003cimg width = 1000 src=\"Images/7.jpg\" /\u003e\u003cbr\u003e\n  \u003cimg width = 1000 src=\"Images/8.jpg\" /\u003e\u003cbr\u003e\n  \u003cimg width = 1000 src=\"Images/9.jpg\" /\u003e\u003cbr\u003e\n\u003c/p\u003e\n\n****\n\n### Name : \n- Akash Ramanand Rajak\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakash-rajak%2Fvideo-cropper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakash-rajak%2Fvideo-cropper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakash-rajak%2Fvideo-cropper/lists"}