video_transcoding 0.25.0 → 0.25.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf9ab4a8bcfde82e856f80e307e9db9f5744ef44904432c90f833295040db8ac
4
- data.tar.gz: 89effe9e8b30575b06ea0d77a5c467c266d1beb006875f2db575859995be525b
3
+ metadata.gz: bbf0a0964c0b14529ca505b2bf463b7a5f2a47d0dcc7387eeda6fdc67f41a384
4
+ data.tar.gz: 2085bdb439cfc053a5d6cd52f015876464f20ec4b458350da950721fd2776ae5
5
5
  SHA512:
6
- metadata.gz: 0fb16708c1482a5eec88bd397d610aac7bfa6b366b44f1931a269fba43dc720f65168ebc8f4ab160b8e8badb4159807a521956a1d69b5773bc9841b23e5ff1e3
7
- data.tar.gz: fec3392559b0bc31abda037ebbae7a9a4d5ffd65ab9053eb78458f7bb6d71e5ea3e32ee1933b96860c9d8fa0a70ec8bd05b3cb6db90a2de30f60a42574af0f8a
6
+ metadata.gz: 61e8231c9e2952f70e9cad93bcc46bf5fb59b38ef442a458478f43efa8a773acd61a602ed32e0787e6a55df32af5ae8d3c1a2461bb87552bc24e873e45856cce
7
+ data.tar.gz: 57afa1bf265e344c9ed861b280490cb82aac1eb72d482d9c27f7b42af4b94a90d425fb243c943f8151c0f19a7f3b2fffe8f9fcf5f61e4367bf95c25d8c1ac33f
@@ -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
@@ -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 has_ac3 and bitrate <= @pass_ac3_bitrate) or
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
- (info[:format] =~ /^AAC/ or (@keep_ac3_stereo and has_ac3))) or
1181
- (@stereo_format == 'ac3' and has_ac3)))
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 << ''
@@ -5,5 +5,5 @@
5
5
  #
6
6
 
7
7
  module VideoTranscoding
8
- VERSION = '0.25.0'
8
+ VERSION = '0.25.1'
9
9
  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.25.0
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-10 00:00:00.000000000 Z
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.2
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.