{"id":20317286,"url":"https://github.com/botbahlul/embedsrt","last_synced_at":"2025-10-15T12:11:24.335Z","repository":{"id":173370019,"uuid":"650659340","full_name":"botbahlul/embedsrt","owner":"botbahlul","description":"embedsrt is a simple command line tool made with python to embed a subtitle file into any video or audio files","archived":false,"fork":false,"pushed_at":"2024-05-05T17:01:59.000Z","size":68,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T22:49:30.926Z","etag":null,"topics":["captions","ffmpeg","python","srt-subtitle","subriptext","subtitle-embed","subtitles"],"latest_commit_sha":null,"homepage":"","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/botbahlul.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":"2023-06-07T14:30:39.000Z","updated_at":"2024-05-05T17:02:03.000Z","dependencies_parsed_at":"2023-11-07T00:14:28.933Z","dependency_job_id":"619c27ee-ceb8-4c05-9678-92b281bbb9f0","html_url":"https://github.com/botbahlul/embedsrt","commit_stats":null,"previous_names":["botbahlul/embedsrt"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/botbahlul/embedsrt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2Fembedsrt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2Fembedsrt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2Fembedsrt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2Fembedsrt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botbahlul","download_url":"https://codeload.github.com/botbahlul/embedsrt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2Fembedsrt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279077248,"owners_count":26098234,"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-10-15T02:00:07.814Z","response_time":56,"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":["captions","ffmpeg","python","srt-subtitle","subriptext","subtitle-embed","subtitles"],"created_at":"2024-11-14T18:30:43.599Z","updated_at":"2025-10-15T12:11:24.319Z","avatar_url":"https://github.com/botbahlul.png","language":"Python","readme":"# embedsrt \u003ca href=\"https://pypi.python.org/pypi/embedsrt\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/embedsrt.svg\"\u003e\u003c/img\u003e\u003c/a\u003e\n\n### embed subtitle files into any video / audio files\nembedsrt is a simple command line tool made with python to embed a subtitle file into any video or audio files.\n\n### Installation\nIf you don't have python on your Windows system you can get compiled version from this git release assets\nhttps://github.com/botbahlul/embedsrt/releases\n\nJust extract those ffmpeg.exe and embedsrt.exe into a folder that has been added to PATH ENVIRONTMET for example in C:\\Windows\\system32\n\nYou can get latest version of ffmpeg from https://www.ffmpeg.org/\n\nIn Linux you have to install this script with python (version minimal 3.8 ) and install ffmpeg with your linux package manager for example in debian based linux distribution you can type :\n\n```\nsudo apt update\nsudo apt install -y ffmpeg\n```\n\nTo install this embedsrt, just type :\n```\npip install embedsrt\n```\n\nYou can try to compile that embedsrt.py script in win/linux folder into a single executable file with pyinstaller by typing these :\n```\npip install pyinstaller\npyinstaller --onefile embedsrt.py\n```\n\nThe executable compiled file will be placed by pyinstaller into dist subfolder of your current working folder, so you can just rename and put that compiled file into a folder that has been added to your PATH ENVIRONTMENT so you can execute it from anywhere\n\nI was succesfuly compiled it in Windows 10 with pyinstaller-5.1 and Pyhton-3.10.4, and python-3.8.12 in Debian 9\n\nAnother alternative way to install this script with python is by cloning this git (or downloading this git as zip then extract it into a folder), and then just type :\n\n```\npip install wheel\npython setup.py build\npython setup.py bdist_wheel\n```\n\nThen check the name of the whl file created in dist folder. In case the filename is embedsrt-0.0.1-py2.py3-none-any.whl then you can install that whl file with pip :\n```\ncd dist\npip install embedsrt-0.0.1-py2.py3-none-any.whl\n```\n\nYou can also install this script (or any pip package) in ANDROID DEVICES via PYTHON package in TERMUX APP\n\nhttps://github.com/termux/termux-app/releases/tag/v0.118.0\n\nChoose the right apk for your device, install it, then open it\n\nType these commands to get python, pip, this embedsrt, (and any other pip packages) :\n\n```\ntermux-setup-storage\npkg update -y\npkg install -y python\npkg install -y ffmpeg\npip install embedsrt\n```\n\n### Simple usage example \n\n```\nembedsrt --help\nembedsrt \"Episode 1.mp4\" \"Episode 1.srt\" \"output.mp4\"\n```\n\n### Usage\n\n```\nusage: embedsrt [-h] [-ll] [-v] [media_filepath] [subtitle_file_path] [language] [output_file_path]\n\npositional arguments:\n  media_filepath        video file path\n  subtitle_file_path    SRT subtitle file path\n  language              ffmpeg subtitle language code\n  output_file_path      output video file path\n\noptions:\n  -h, --help            show this help message and exit\n  -ll, --list-languages\n                        List all supported languages\n  -v, --version         show program's version number and exit\n```\n\n### License\n\nMIT\n\nCheck my other SPEECH RECOGNITIION + TRANSLATE PROJECTS in https://botbahlul.github.io\n\nBuy me coffee : https://sociabuzz.com/botbahlul/tribe\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotbahlul%2Fembedsrt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotbahlul%2Fembedsrt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotbahlul%2Fembedsrt/lists"}