{"id":19416803,"url":"https://github.com/davidalgis/pyeasyvideotools","last_synced_at":"2026-06-20T14:31:17.910Z","repository":{"id":259960249,"uuid":"879914976","full_name":"davidAlgis/pyEasyVideoTools","owner":"davidAlgis","description":"Contains simple video tools","archived":false,"fork":false,"pushed_at":"2024-11-01T15:18:07.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T17:17:14.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidAlgis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-10-28T19:17:13.000Z","updated_at":"2024-11-01T15:18:11.000Z","dependencies_parsed_at":"2024-10-28T20:33:22.349Z","dependency_job_id":"0318896b-6e20-4195-b9b5-a56c15d69a5a","html_url":"https://github.com/davidAlgis/pyEasyVideoTools","commit_stats":null,"previous_names":["davidalgis/pyeasyvideotools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidAlgis%2FpyEasyVideoTools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidAlgis%2FpyEasyVideoTools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidAlgis%2FpyEasyVideoTools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidAlgis%2FpyEasyVideoTools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidAlgis","download_url":"https://codeload.github.com/davidAlgis/pyEasyVideoTools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240595105,"owners_count":19826319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-10T13:05:27.669Z","updated_at":"2026-06-20T14:31:12.871Z","avatar_url":"https://github.com/davidAlgis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy video tools with python\n\nThis Python script gives some tools to modify video in a easy way. It propose to rotates and/or compresses a video file, with options to customize the rotation angle, compression settings, and output path. If desired, it can apply only compression without rotation, allowing for flexible video processing.\n\n## Installation\n\nBefore running the script, ensure you have python 3.6 or newer installed on your system and you need to install the required Python libraries. You can install them using the provided `requirements.txt` file.\n\n```bash\npip install -r requirements.txt\n```\n\n- **HandBrakeCLI**: To enable video compression, install HandBrakeCLI from [HandBrake's website](https://handbrake.fr/downloads2.php) and provide its executable path if it differs from the default.\n\n## Usage\n\nTo use the script, run it from the command line with the desired options.\n\n```bash\npython main.py [options]\n```\n\n## Options\n\n- `-i`, `--input \u003cfile\u003e`: Specify the path to the input video file. This option is required.\n\n- `-r`, `--rot \u003cangle\u003e`: Specify the rotation angle (0-360 degrees) to rotate the video. If not specified, the rotation is skipped, and only compression is applied if enabled.\n\n- `-c`, `--compress \u003cbool\u003e`: Set to `True` or `False` to enable or disable compression after rotation. Default is `True`. Compression is done using HandBrakeCLI, so ensure HandBrakeCLI is installed.\n\n- `-hb`, `--handbrake-path \u003cfile\u003e`: Specify the path to the `HandBrakeCLI` executable. Default is `\"C:\\Program Files\\HandBrake\\HandBrakeCLI.exe\"` on Windows. Adjust this path if HandBrakeCLI is located elsewhere.\n\n- `-o`, `--output \u003cfile\u003e`: Specify the path of the final output video file. If not specified, the script will save the file with a default name based on the input file name and applied transformations.\n\n- `-h`, `--help`: Display help information showing all command-line options.\n\n## Example\n\nTo rotate a video by 90 degrees, compress it, and save it as `output_video.mp4`:\n\n```bash\npython main.py -i input_video.mp4 -r 90 -o output_video.mp4\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidalgis%2Fpyeasyvideotools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidalgis%2Fpyeasyvideotools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidalgis%2Fpyeasyvideotools/lists"}