{"id":20644268,"url":"https://github.com/senselogic/slash","last_synced_at":"2026-06-05T11:31:36.127Z","repository":{"id":114210386,"uuid":"91589956","full_name":"SenseLogic/SLASH","owner":"SenseLogic","description":"FFmpeg-based video file splitter.","archived":false,"fork":false,"pushed_at":"2019-10-14T16:40:37.000Z","size":306,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T22:50:09.858Z","etag":null,"topics":["ffmpeg","mp4","splitter","video"],"latest_commit_sha":null,"homepage":"","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SenseLogic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-05-17T15:08:03.000Z","updated_at":"2021-08-23T01:53:03.000Z","dependencies_parsed_at":"2023-06-16T00:45:09.783Z","dependency_job_id":null,"html_url":"https://github.com/SenseLogic/SLASH","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SenseLogic/SLASH","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FSLASH","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FSLASH/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FSLASH/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FSLASH/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SenseLogic","download_url":"https://codeload.github.com/SenseLogic/SLASH/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FSLASH/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33939225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"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":["ffmpeg","mp4","splitter","video"],"created_at":"2024-11-16T16:15:35.318Z","updated_at":"2026-06-05T11:31:36.122Z","avatar_url":"https://github.com/SenseLogic.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://github.com/senselogic/SLASH/blob/master/LOGO/slash.png)\n\n# Slash\n\nFFmpeg-based video file splitter.\n\n## Features\n\n* Splits a video file into several sections by executing FFmpeg commands.\n* Don't re-encode the streams, unless asked to do so.\n* Maintains an increasing section index, which can be inserted in the section names.\n\n## Installation\n\nInstall [FFmpeg](https://ffmpeg.org/download.html).\n\nInstall the [DMD 2 compiler](https://dlang.org/download.html) (using the MinGW setup option on Windows).\n\nBuild the executable with the following command line :\n\n```bash\ndmd -m64 slash.d\n```\n\n## Command line\n\n```bash\nslash [options] input_file.mp4 output_prefix_ HH:MM:SS.mmm first_section_name HH:MM:SS.mmm second_section_name ... HH:MM:SS.mmm last_section_name HH:MM:SS.mmm\n\n```\n\n### Options\n\n```bash\n--encode : re-encode audio and video streams\n--preview : preview the ffmpeg commands without executing them\n```\n\n### Time formats\n\n```bash\nhours:minutes:seconds.milliseconds (1:2:3.456)\nhours:minutes:seconds (1:2:3)\nminutes:seconds.milliseconds (2:3.456)\nminutes:seconds (2:3)\nseconds.milliseconds (3.456)\nseconds (3)\n```\n\n### Section name prefixes\n\n```bash\n* : put the previous section name\n@@@ : assign the section index to the next 3 digits\n@@ : assign the section index to the next 2 digits\n@ : assign the section index to the next digit\n! : decrease the section index\n^ : increase the section index\n\\ : escape the next character\n```\n\n### Section name operators\n\n```bash\n??? : put the section index on 3 digits\n?? : put the section index on 2 digits\n? : put the section index\n```\n\n### Example\n\n```bash\nslash input_file.mp4 output_prefix_ 0 \"??_lesson\" 1.1 \"*_summary\" 2:2.2 \"@2??_lesson\" 3:3.3 \"!??_summary\" 4:4.4 \"@@04^^!!!\\!??_lesson\" 1:59:59.999 \"!\\!??_summary\" 2:1:1.001\n```\n\nExecutes the following FFmpeg commands :\n\n```bash\nffmpeg -y -ss 0:0:0 -i input_file.mp4 -to 0:0:1.1 -c:v copy -c:a copy output_prefix_01_lesson.mp4\nffmpeg -y -ss 0:0:1.1 -i input_file.mp4 -to 0:2:1.1 -c:v copy -c:a copy output_prefix_01_lesson_summary.mp4\nffmpeg -y -ss 0:2:2.2 -i input_file.mp4 -to 0:1:1.1 -c:v copy -c:a copy output_prefix_02_lesson.mp4\nffmpeg -y -ss 0:3:3.3 -i input_file.mp4 -to 0:1:1.1 -c:v copy -c:a copy output_prefix_02_summary.mp4\nffmpeg -y -ss 0:4:4.4 -i input_file.mp4 -to 1:55:55.599 -c:v copy -c:a copy output_prefix_!03_lesson.mp4\nffmpeg -y -ss 1:59:59.999 -i input_file.mp4 -to 0:1:1.002 -c:v copy -c:a copy output_prefix_!03_summary.mp4\n```\n\n## Version\n\n1.0\n\n## Author\n\nEric Pelzer (ecstatic.coder@gmail.com).\n\n## License\n\nThis project is licensed under the GNU General Public License version 3.\n\nSee the [LICENSE.md](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenselogic%2Fslash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenselogic%2Fslash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenselogic%2Fslash/lists"}