video_transcoding 0.17.1 → 0.17.2
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 +8 -1
- data/bin/detect-crop +1 -1
- data/lib/video_transcoding/handbrake.rb +2 -2
- data/lib/video_transcoding/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3724536547ba9854e753cbf28801016a3a9925f3
|
4
|
+
data.tar.gz: 618cc836292bae3f49052e5c126f266aa8a42324
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aee6b5624993332b40a271eb82f47e2d8f678d8dd04a820a801ee42add82dbf695cc6fa76752ad2417339069d4d6aaf824923dfb6fbe5e608e9fe2037e45f616
|
7
|
+
data.tar.gz: 0e6ae2ff613b73c4c596b1dddcee1f3faadec8b3629eda4889b385973c5a6548cdcd750230c7ad62a61a19397111dc89300ecb8c02c5f5cf059f91af16154aaf
|
data/README.md
CHANGED
@@ -660,6 +660,13 @@ For a few problematic videos, I have to apply options like `--force-rate 23.976
|
|
660
660
|
|
661
661
|
## History
|
662
662
|
|
663
|
+
### [0.17.2](https://github.com/donmelton/video_transcoding/releases/tag/0.17.2)
|
664
|
+
|
665
|
+
Monday, April 3, 2017
|
666
|
+
|
667
|
+
* Fix failure of version detection for recent HandBrake nightly builds. Thanks, [@kvanh](https://github.com/kvanh)! Via [ #139](https://github.com/donmelton/video_transcoding/issues/139).
|
668
|
+
* Modify `detect-crop` to escape preview commands for Z shells. Thanks, [@jjathman](https://github.com/jjathman)! Via [ #138](https://github.com/donmelton/video_transcoding/issues/138).
|
669
|
+
|
663
670
|
### [0.17.1](https://github.com/donmelton/video_transcoding/releases/tag/0.17.1)
|
664
671
|
|
665
672
|
Wednesday, February 22, 2017
|
@@ -670,7 +677,7 @@ Wednesday, February 22, 2017
|
|
670
677
|
|
671
678
|
Thursday, February 16, 2017
|
672
679
|
|
673
|
-
* Remove all dependencies on `mplayer`, via
|
680
|
+
* Remove all dependencies on `mplayer`, via [ #120](https://github.com/donmelton/video_transcoding/issues/120) and [ #123](https://github.com/donmelton/video_transcoding/issues/123):
|
674
681
|
* Modify `detect-crop` and `transcode-video` to use `ffmpeg` for crop detection instead of `mplayer`.
|
675
682
|
* Modify `detect-crop` to use [`mpv`](https://mpv.io/), a free cross-platform media player, for optional crop preview instead of `mplayer`.
|
676
683
|
* Add a `--player` option to `detect-crop` so `mplayer` can still be used for crop preview commands. Warning: this feature will be deprecated soon.
|
data/bin/detect-crop
CHANGED
@@ -104,7 +104,7 @@ HERE
|
|
104
104
|
puts
|
105
105
|
|
106
106
|
if @player == :mpv
|
107
|
-
puts "mpv --no-audio --vf lavfi=[drawbox=#{Crop.drawbox_string(crop, width, height)}:invert:1] #{shell_path}"
|
107
|
+
puts "mpv --no-audio --vf 'lavfi=[drawbox=#{Crop.drawbox_string(crop, width, height)}:invert:1]' #{shell_path}"
|
108
108
|
puts "mpv --no-audio --vf crop=#{Crop.player_string(crop, width, height)} #{shell_path}"
|
109
109
|
else
|
110
110
|
str = Crop.player_string(crop, width, height)
|
@@ -14,7 +14,7 @@ module VideoTranscoding
|
|
14
14
|
Tool.provide(COMMAND_NAME, ['--preset-list']) do |output, status, _|
|
15
15
|
fail "#{COMMAND_NAME} failed during execution" unless status == 0
|
16
16
|
|
17
|
-
if output =~ /^HandBrake ([^ ]+)/
|
17
|
+
if output =~ /^HandBrake ([^h][^ ]+)/
|
18
18
|
version = $1
|
19
19
|
Console.info "#{$MATCH} found..."
|
20
20
|
|
@@ -27,7 +27,7 @@ module VideoTranscoding
|
|
27
27
|
|
28
28
|
begin
|
29
29
|
IO.popen([Tool.use(COMMAND_NAME), '--version'], :err=>[:child, :out]) do |io|
|
30
|
-
if io.read =~ /^HandBrake ([^ ]+)/
|
30
|
+
if io.read =~ /^HandBrake ([^h][^ ]+)/
|
31
31
|
Console.info "#{$MATCH.strip} found..."
|
32
32
|
end
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: video_transcoding
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Don Melton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
Video Transcoding is a package of tools to transcode, inspect
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
66
|
rubyforge_project:
|
67
|
-
rubygems_version: 2.6.
|
67
|
+
rubygems_version: 2.6.11
|
68
68
|
signing_key:
|
69
69
|
specification_version: 4
|
70
70
|
summary: Tools to transcode, inspect and convert videos.
|