{"id":13588008,"url":"https://github.com/dfaust/mkv-bash-tools","last_synced_at":"2025-04-08T02:34:37.541Z","repository":{"id":141317377,"uuid":"63085129","full_name":"dfaust/mkv-bash-tools","owner":"dfaust","description":"A collection of BASH scripts for processing mkv files","archived":true,"fork":false,"pushed_at":"2021-02-14T19:05:42.000Z","size":55,"stargazers_count":26,"open_issues_count":2,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-02T16:08:51.081Z","etag":null,"topics":["command-line-app","dts","extractor","matroska","mkv","shell-script","subtitles","tools","transcoder"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/dfaust.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}},"created_at":"2016-07-11T16:41:50.000Z","updated_at":"2024-02-18T04:51:25.000Z","dependencies_parsed_at":"2024-02-18T16:14:17.008Z","dependency_job_id":"02c8666c-a749-4798-9b8c-cb186461a730","html_url":"https://github.com/dfaust/mkv-bash-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfaust%2Fmkv-bash-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfaust%2Fmkv-bash-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfaust%2Fmkv-bash-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfaust%2Fmkv-bash-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfaust","download_url":"https://codeload.github.com/dfaust/mkv-bash-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223300650,"owners_count":17122661,"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":["command-line-app","dts","extractor","matroska","mkv","shell-script","subtitles","tools","transcoder"],"created_at":"2024-08-01T15:06:27.877Z","updated_at":"2024-11-06T07:30:45.726Z","avatar_url":"https://github.com/dfaust.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# mkv-bash-tools\n\n[![Issue Count](https://codeclimate.com/github/HessiJames/mkv-bash-tools/badges/issue_count.svg)](https://codeclimate.com/github/HessiJames/mkv-bash-tools)\n\n## Warning: These scripts are outdated and won't work with current versions of mkvmerge\n\nI'm keeping them here because I might update them at some point - but no promises.\n\n## mkv-transcode-flac\n\nA BASH script that transcodes all FLAC tracks of a matroska file to Ogg Vorbis while preserving the track's name and language and it's default and forced flags as well as its delay.\n\n![Screen shot of mkv-transcode-flac](mkv-transcode-flac.png)\n\n### Depends on\n\nmktemp  \nmkvmerge  \nmkvextract  \noggenc (with FLAC decoder enabled)\n\n### Usage\n\n`chmod +x mkv-transcode-flac`  \n`./mkv-transcode-flac \"My File.mkv\"`  \nThis will create a new file called \"My File [Ogg Vorbis].mkv\".\n\nFor batch converting all .mkv files in the current directoy copy mkv-transcode-flac to a directory in your PATH and execute:  \n`find -iname \"*.mkv\" -exec mkv-transcode-flac '{}' \\;`\n\n\n## mkv-transcode-dts\n\nA BASH script that transcodes all DTS-HD Master Audio tracks of a matroska file to DTS Core while preserving the track's name and language and it's default and forced flags as well as its delay.\n\n### Depends on\n\nmktemp  \nmkvmerge  \nmkvextract  \nffmpeg (version 3.1 or higher)\n\n### Usage\n\n`chmod +x mkv-transcode-dts`  \n`./mkv-transcode-dts \"My File.mkv\"`  \nThis will create a new file called \"My File [DTS Core].mkv\".\n\nFor batch converting all .mkv files in the current directoy copy mkv-transcode-dts to a directory in your PATH and execute:  \n`find -iname \"*.mkv\" -exec mkv-transcode-dts '{}' \\;`\n\n\n## mkv-remove-language\n\nA BASH script that removes the audio track with the specified language from a matroska file.\n\n### Depends on\n\nmkvmerge  \n\n![Screen shot of mkv-remove-language](mkv-remove-language.png)\n\n### Usage\n\n`chmod +x mkv-remove-language`  \n`./mkv-remove-language \"My File.mkv\" \"eng\"`  \nThis will create a new file called \"My File [without eng].mkv\".\n\nFor batch processing all .mkv files in the current directoy copy mkv-remove-language to a directory in your PATH and execute:  \n`find -iname \"*.mkv\" -exec mkv-remove-language '{}' \"lang\" \\;`\n\n\n## mkv-extract-subtitles\n\nA BASH script that extracts subtitles from a matroska file.\n\n### Depends on\n\nmkvmerge  \nmkvextract  \n\n![Screen shot of mkv-extract-subtitles](mkv-extract-subtitles.png)\n\n### Usage\n\n`chmod +x mkv-extract-subtitles`  \n`./mkv-extract-subtitles \"My File.mkv\"`  \nThis will create a new file for each subtitle in the current directory.\n\nFor batch processing all .mkv files in the current directoy copy mkv-extract-subtitles to a directory in your PATH and execute:  \n`find -iname \"*.mkv\" -exec mkv-extract-subtitles '{}'\\;`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfaust%2Fmkv-bash-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfaust%2Fmkv-bash-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfaust%2Fmkv-bash-tools/lists"}