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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9a02e4e57fb5988822557f0b373eee08a97305e
4
- data.tar.gz: c967e78ab6f3608a2b86ae8f231f3d2ec6a0eb68
3
+ metadata.gz: 8e0d5307bd4bdb0f342dddf7452fd6caad292e60
4
+ data.tar.gz: 813e38f5d83749e84fb609e33bdbd0fdc16666ef
5
5
  SHA512:
6
- metadata.gz: 9e07d02159eedf36585c9a5befba5f0fea49c2f598de0060681030c231d0e35c73ec3ba2166502e946932a4590fdec864d010f12958613661a4a4ee66bda597d
7
- data.tar.gz: af1df65b2e9aad67e28dc3ff73b392c818c8a3291ffd5a16fe3388a57ba02030ba0d6e890d4a89c9ba4d5913b3e1daacbcf119da7fe23c146bc8ff6deadf3037
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
- **If you like this project, please help by donating.**
13
+ ## How You Can Help
14
14
 
15
- * Gittip: https://www.gittip.com/rmm5t/
16
- * Bitcoin: `1wzBnMjWVZfpiFMc5i2nzKT7sCBaZNfLK`
15
+ **If you like this project, please help. [Donate via Gittip][gittip] or [buy me a coffee with Bitcoin][bitcoin].**<br>
16
+ [![Gittip](http://img.shields.io/gittip/rmm5t.svg)][gittip]
17
+ [![Bitcoin](http://img.shields.io/badge/bitcoin-buy%20me%20a%20coffee-brightgreen.svg)][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
+ [![Book a Codementor session](http://img.shields.io/badge/codementor-book%20a%20session-orange.svg)][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`, `mkvextract`, `ffmpeg`, and `MP4Box`.
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` and is dependent on `ffmpeg`, so `ffmpeg`
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:
@@ -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 libfaac -ac 2 -ab 160k"
53
+ command << " -acodec libfdk_aac -ac 2 -ab 160k"
54
54
  command << " #{escape(audio_basename)}.aac"
55
55
  sh command
56
56
  end
@@ -1,5 +1,5 @@
1
1
  module Mkv2m4v
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
 
4
4
  VersionDescription = "mkv2m4v #{VERSION} (c) 2012-2014 Ryan McGeary"
5
5
  Description = <<EOS
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.1.0
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-04-13 00:00:00.000000000 Z
11
+ date: 2014-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop