https://github.com/roxasshadow/mkvmuxer
Wrapper for mkvmerge (mkvtoolnix) to mux video, audio, subtitles, etc. in a Matroska container.
https://github.com/roxasshadow/mkvmuxer
Last synced: 10 months ago
JSON representation
Wrapper for mkvmerge (mkvtoolnix) to mux video, audio, subtitles, etc. in a Matroska container.
- Host: GitHub
- URL: https://github.com/roxasshadow/mkvmuxer
- Owner: RoxasShadow
- Created: 2014-04-28T20:50:55.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-30T21:53:33.000Z (about 12 years ago)
- Last Synced: 2025-04-02T11:49:38.285Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 9.8 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MkvMuxer
========
Wrapper for [mkvmerge](`http://www.bunkus.org/videotools/mkvtoolnix/) to mux video, audio, subtitles, etc. in a Matroska container.
Install
-------
`gem install mkvmuxer`
Example
-------
*MkvMuxer* muxes:
- mkv (*required*, remember to put a `[CRC32]` tag in the file name, so it will be replaced by the final mkv's CRC32)
- ass (*required*)
- fonts (every *ttf*, *ttc* and *otf* it finds in folders whose name starts with *font*)
- chapters (stored in a *xml* file)
```ruby
require 'mkvmerge'
mkvmuxer = MkvMuxer.new './inari'
mkvmuxer.prepare 'English' # the subtitle's language
mkvmuxer.merge!
mkvmuxer.apply_crc32!
```
Or just use the built-in executable
```sh
$ mkvmuxer # show the usage
$ mkvmuxer ./inari English # mux all the files found in given folder
```