{"id":20561223,"url":"https://github.com/lightarrowsexe/fansub-utils","last_synced_at":"2025-08-08T02:36:11.872Z","repository":{"id":55383763,"uuid":"176273283","full_name":"LightArrowsEXE/fansub-utils","owner":"LightArrowsEXE","description":"Utility scripts I've written for fansubbing.","archived":false,"fork":false,"pushed_at":"2022-02-22T03:30:41.000Z","size":57,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-21T14:48:27.414Z","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/LightArrowsEXE.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}},"created_at":"2019-03-18T11:55:39.000Z","updated_at":"2024-10-02T01:04:13.000Z","dependencies_parsed_at":"2022-08-14T23:10:10.566Z","dependency_job_id":null,"html_url":"https://github.com/LightArrowsEXE/fansub-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LightArrowsEXE/fansub-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightArrowsEXE%2Ffansub-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightArrowsEXE%2Ffansub-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightArrowsEXE%2Ffansub-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightArrowsEXE%2Ffansub-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LightArrowsEXE","download_url":"https://codeload.github.com/LightArrowsEXE/fansub-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightArrowsEXE%2Ffansub-utils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269354771,"owners_count":24403323,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-16T03:57:24.201Z","updated_at":"2025-08-08T02:36:11.850Z","avatar_url":"https://github.com/LightArrowsEXE.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A collection of utilities for fansubbing\nthat I've written.\nImprovements and ideas are always welcome.\n\n## Requirements:\n- Python 3.6 or higher\n\n## Usage:\n    $ python [script].py [--args]\n\n# Utilities:\n\n## auto-CRC\nA small script that\nappends CRC-32's to every mkv\nin the current directory.\n\n### Arguments:\n| Argument | Arg | Description |\n| -------- | --- | ----------- |\n| --help | -h |show this help message and exit |\n| --recursive | -R | check recursively |\n\n## encode-audio\nAutomatically encodes audio\nin the current directory\nto AAC (using qaac -V 127)\nor FLAC.\n\n### Arguments:\n| Argument | Arg | Description |\n| -------- | --- |------------ |\n| --help | -h | show this help message and exit |\n| --recursive | -R | check recursively |\n| --flac | -F | enable FLAC encoding |\n\n## generate_keyframes\nGeneric script to generate keyframes\nfor all files of a given extension.\nHeavily inspired by kagefunc's `generate_keyframes`,\nbut made to work as a standalone script\nfor timers.\nSpecial thanks to begna\nfor helping me with writing\nbig parts\nof this.\n\n\n### Arguments:\n| Argument | Arg | Description |\n| -------- | --- |------------ |\n| --help | -h | show this help message and exit |\n| --recursive | -R | check recursively |\n| --extension | -E | pick extension to generate keyframes for |\n| --noheader | -N | do not include header line for aegisub |\n| --outfile | -O | name for keyframes file output |\n| --trims | -T | string of trims to source file.\u003cbr\u003eformat: \"[inclusive,exclusive],[inclusive,exclusive],[None,exclusive],[inclusive,None]\\\" |\n\n### Usage Example:\n\n**Trim one second off of the start and end**\n```bash\n$ python generate_keyframes.py -T \"[24,-24]\"\n```\n\n**Trim three seconds off of the end**\n```bash\n$ python generate_keyframes.py -T \"[None,-72]\"\n```\n\n**Trim the first five seconds**\n```bash\n$ python generate_keyframes.py -T \"[120,None]\"\n```\n\n## remux\nGeneric script for remuxing videos\nfrom a certain filetype into another.\nRemuxes mkv's into mp4's by default.\n\n\n### Arguments:\n| Argument | Arg | Description |\n| -------- | --- | ----------- |\n| --recursive | -R | check recursively |\n| --input_ext | -i | set input's extension (default: mkv) |\n| --output_ext | -o | set output's extension (default: mp4) |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightarrowsexe%2Ffansub-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightarrowsexe%2Ffansub-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightarrowsexe%2Ffansub-utils/lists"}