mkv2m4v 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +22 -11
- data/lib/mkv2m4v/transcoder.rb +1 -1
- data/lib/mkv2m4v/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e0d5307bd4bdb0f342dddf7452fd6caad292e60
|
4
|
+
data.tar.gz: 813e38f5d83749e84fb609e33bdbd0fdc16666ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e93752b23eca861d818ccf6026a5abcc970c411a5f366621183241265737845419adf39eea7995a4da1d988c18777dd8330446a3df21793901b23b50744dd668
|
7
|
+
data.tar.gz: 9cd15130e5b1a536dc0d4fb63e7a11c6049802fdb8cb0484e4779d0265d37fbe0bf46cef1af0d0a370cda8943ba7e0c1c73a9acc43043cb654602d594d413d72
|
data/README.md
CHANGED
@@ -10,29 +10,40 @@ It attempts to pass through as many codecs as possible.
|
|
10
10
|
* It will convert a DTS audio track into separate AAC and AC3 tracks.
|
11
11
|
* If no DTS, it will pass through the original AAC and/or AC3 tracks.
|
12
12
|
|
13
|
-
|
13
|
+
## How You Can Help
|
14
14
|
|
15
|
-
|
16
|
-
|
15
|
+
**If you like this project, please help. [Donate via Gittip][gittip] or [buy me a coffee with Bitcoin][bitcoin].**<br>
|
16
|
+
[][gittip]
|
17
|
+
[][bitcoin]
|
18
|
+
|
19
|
+
**[Bitcoin][bitcoin]**: `1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m`<br>
|
20
|
+
[![Bitcoin Donation][bitcoin-qr-small]][bitcoin-qr-big]
|
21
|
+
|
22
|
+
## Need Help?
|
23
|
+
|
24
|
+
**You can [book a session with me on Codementor][codementor].**<br>
|
25
|
+
[][codementor]
|
26
|
+
|
27
|
+
[gittip]: https://www.gittip.com/rmm5t/ "Donate to rmm5t for open source!"
|
28
|
+
[bitcoin]: https://blockchain.info/address/1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m "Buy rmm5t a coffee for open source!"
|
29
|
+
[bitcoin-scheme]: bitcoin:1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m?amount=0.01&label=Coffee%20to%20rmm5t%20for%20Open%20Source "Buy rmm5t a coffee for open source!"
|
30
|
+
[bitcoin-qr-small]: http://chart.apis.google.com/chart?cht=qr&chs=150x150&chl=bitcoin%3A1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m%3Famount%3D0.01%26label%3DCoffee%2520to%2520rmm5t%2520for%2520Open%2520Source
|
31
|
+
[bitcoin-qr-big]: http://chart.apis.google.com/chart?cht=qr&chs=500x500&chl=bitcoin%3A1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m%3Famount%3D0.01%26label%3DCoffee%2520to%2520rmm5t%2520for%2520Open%2520Source
|
32
|
+
[codementor]: https://www.codementor.io/rmm5t?utm_campaign=profile&utm_source=button-rmm5t&utm_medium=shields "Book a session with rmm5t on Codementor!"
|
17
33
|
|
18
34
|
## Installation
|
19
35
|
|
20
|
-
mkv2m4v is dependent upon `mediainfo`, `
|
36
|
+
mkv2m4v is dependent upon `mediainfo`, `ffmpeg`, `mkvextract`, and `MP4Box`.
|
21
37
|
|
22
38
|
```bash
|
23
39
|
$ brew install mediainfo
|
40
|
+
$ brew install ffmpeg --with-tools --with-fdk-aac
|
24
41
|
$ brew install gpac
|
25
42
|
$ brew install mkvtoolnix # version >= 6 required
|
26
43
|
$ gem install mkv2m4v
|
27
44
|
```
|
28
45
|
|
29
|
-
_Note: `gpac` includes `MP4Box
|
30
|
-
should install automatically. If not, you should manually install `ffmpeg`:_
|
31
|
-
|
32
|
-
```bash
|
33
|
-
# ffmpeg should already be installed, but just in case:
|
34
|
-
$ brew install ffmpeg --with-tools
|
35
|
-
```
|
46
|
+
_Note: `gpac` includes `MP4Box`:_
|
36
47
|
|
37
48
|
If you have any trouble after installing the mkdv2m4v gem, you can test the
|
38
49
|
dependencies using the `--check` argument:
|
data/lib/mkv2m4v/transcoder.rb
CHANGED
@@ -50,7 +50,7 @@ module Mkv2m4v
|
|
50
50
|
puts "==> Transcoding #{audio_format} to Stereo AAC audio track".magenta
|
51
51
|
command = "ffmpeg"
|
52
52
|
command << " -i #{escape(audio_file)}"
|
53
|
-
command << " -acodec
|
53
|
+
command << " -acodec libfdk_aac -ac 2 -ab 160k"
|
54
54
|
command << " #{escape(audio_basename)}.aac"
|
55
55
|
sh command
|
56
56
|
end
|
data/lib/mkv2m4v/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mkv2m4v
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan McGeary
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|