video_transcoding 0.25.0 → 0.25.1
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/CHANGELOG.md +6 -0
- data/bin/transcode-video +8 -9
- data/lib/video_transcoding/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbf0a0964c0b14529ca505b2bf463b7a5f2a47d0dcc7387eeda6fdc67f41a384
|
4
|
+
data.tar.gz: 2085bdb439cfc053a5d6cd52f015876464f20ec4b458350da950721fd2776ae5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61e8231c9e2952f70e9cad93bcc46bf5fb59b38ef442a458478f43efa8a773acd61a602ed32e0787e6a55df32af5ae8d3c1a2461bb87552bc24e873e45856cce
|
7
|
+
data.tar.gz: 57afa1bf265e344c9ed861b280490cb82aac1eb72d482d9c27f7b42af4b94a90d425fb243c943f8151c0f19a7f3b2fffe8f9fcf5f61e4367bf95c25d8c1ac33f
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
This single document contains all of the notes created for each [release](https://github.com/donmelton/video_transcoding/releases).
|
4
4
|
|
5
|
+
## [0.25.1](https://github.com/donmelton/video_transcoding/releases/tag/0.25.1)
|
6
|
+
|
7
|
+
Saturday, March 30, 2019
|
8
|
+
|
9
|
+
* Fix a heinous multi-part bug in `transcode-video` which could prevent the proper detection of certain input audio formats, normally allowed for pass-through, from being copied unchanged to the output. This could also cause the `--keep-ac3-stereo` option from behaving correctly when used together with the `--ac3-encoder eac3` option and argument. Thanks to [@khaosx](https://github.com/khaosx) for the finding the problem!
|
10
|
+
|
5
11
|
## [0.25.0](https://github.com/donmelton/video_transcoding/releases/tag/0.25.0)
|
6
12
|
|
7
13
|
Saturday, March 9, 2019
|
data/bin/transcode-video
CHANGED
@@ -1141,12 +1141,13 @@ HERE
|
|
1141
1141
|
stereo_encoder = @stereo_format == 'ac3' ? @ac3_encoder : @aac_encoder
|
1142
1142
|
|
1143
1143
|
add_surround = ->(info, copy) do
|
1144
|
-
has_ac3 = (@ac3_encoder == 'ac3' and info[:format] == 'AC3') or
|
1145
|
-
(@ac3_encoder == 'eac3' and info[:format] =~ /^(?:E-)?AC3$/)
|
1146
1144
|
bitrate = info[:bps].nil? ? 640 : info[:bps] / 1000
|
1147
1145
|
|
1148
1146
|
if copy or
|
1149
|
-
(@surround_format == 'ac3' and
|
1147
|
+
(@surround_format == 'ac3' and
|
1148
|
+
((@ac3_encoder == 'ac3' and info[:format] == 'AC3') or
|
1149
|
+
(@ac3_encoder == 'eac3' and info[:format] =~ /^(?:E-)?AC3$/)) and
|
1150
|
+
bitrate <= @pass_ac3_bitrate) or
|
1150
1151
|
(@surround_format == 'aac' and info[:format] =~ /^AAC/)
|
1151
1152
|
encoders << 'copy'
|
1152
1153
|
bitrates << ''
|
@@ -1171,14 +1172,12 @@ HERE
|
|
1171
1172
|
end
|
1172
1173
|
|
1173
1174
|
add_stereo = ->(info, copy) do
|
1174
|
-
has_ac3 = (@ac3_encoder == 'ac3' and info[:format] == 'AC3') or
|
1175
|
-
(@ac3_encoder == 'eac3' and info[:format] =~ /^(?:E-)?AC3$/)
|
1176
|
-
|
1177
1175
|
if copy or
|
1178
1176
|
(info[:channels] <= 2.0 and
|
1179
|
-
((@stereo_format == 'aac' and
|
1180
|
-
|
1181
|
-
(@
|
1177
|
+
((@stereo_format == 'aac' and info[:format] =~ /^AAC/) or
|
1178
|
+
(((@ac3_encoder == 'ac3' and info[:format] == 'AC3') or
|
1179
|
+
(@ac3_encoder == 'eac3' and info[:format] =~ /^(?:E-)?AC3$/)) and
|
1180
|
+
(@keep_ac3_stereo or @stereo_format == 'ac3'))))
|
1182
1181
|
encoders << 'copy'
|
1183
1182
|
bitrates << ''
|
1184
1183
|
mixdowns << ''
|
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.25.
|
4
|
+
version: 0.25.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Don Melton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-31 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
|
- !ruby/object:Gem::Version
|
65
65
|
version: '0'
|
66
66
|
requirements: []
|
67
|
-
rubygems_version: 3.0.
|
67
|
+
rubygems_version: 3.0.3
|
68
68
|
signing_key:
|
69
69
|
specification_version: 4
|
70
70
|
summary: Tools to transcode, inspect and convert videos.
|