evideo 0.2.6 → 0.2.7

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
  SHA256:
3
- metadata.gz: 3e95f6fe9a764eccbe36b8c5728b9f942c363dcb449374d968bff61ded18bca0
4
- data.tar.gz: c39b511c469f058761eefc4cd29c2534c4b95beeb5d15215b8782ebbfb5ac58e
3
+ metadata.gz: 14df3f51ddcb3878e84f2f7eda9492c15bb0105303594bc191e9f35e9ac42c6e
4
+ data.tar.gz: 29b0e163690a9f43821bcada3c71d1cf876146c953e80df4d2025eeb76648ef9
5
5
  SHA512:
6
- metadata.gz: c272a8c11fe29e35f1e30d8d582ae1601ff0c4cfd2d14ddb832687b20bc40f28854afc5126771b318d7591155403360929e04a8031ddd806eac95210d10ecfb1
7
- data.tar.gz: 18a35fcbde99a6e45819be875443848c7a0b15a584e4efcc3db2d48236338cdfc05afde7f0b9c1b15160836877555d551d2ff0be1577db58636e45e07d161cb0
6
+ metadata.gz: 7c1ccf7f13e1072c27abc3c9d1f86e993f52711636c87e9849eece3ad20ce894a8c1ca9ca450e06f9aee044554f6ea91a09c36ffbe5ee5284feb91d2fb4a2b09
7
+ data.tar.gz: 03654ea2c6c21db1cc29d3d90bc8ea815cbba26688f8e5e1151520c15f9409faf073cef1bd64853b8f8fdaba48bbd342805589ea5dccabc71cbc1de7207ebb02
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- evideo (0.2.6)
4
+ evideo (0.2.7)
5
5
  thor
6
6
 
7
7
  GEM
@@ -41,7 +41,7 @@ GEM
41
41
  rubocop-ast (>= 0.6.0)
42
42
  ruby-progressbar (~> 1.7)
43
43
  unicode-display_width (>= 1.4.0, < 2.0)
44
- rubocop-ast (1.0.0)
44
+ rubocop-ast (1.0.1)
45
45
  parser (>= 2.7.1.5)
46
46
  ruby-progressbar (1.10.1)
47
47
  solargraph (0.39.17)
@@ -65,6 +65,7 @@ module Evideo
65
65
  "-r #{[ifps, 25.0].min} -b:v #{[ibitrate, 2000].min}k#{fdimensions}#{fratio}"
66
66
  end
67
67
 
68
+ # @note final video dimensions hd480=852x480, hd720=1280x720, hd1080=1920x1080
68
69
  # @return [String] dimensions do comando processar video
69
70
  def fdimensions
70
71
  if iheight < 480 then ' -s hd480'
@@ -75,7 +76,7 @@ module Evideo
75
76
 
76
77
  # @return [String] aspect ratio do comando processar video
77
78
  def fratio
78
- ART.include?(iratio) ? " -aspect 16:9 -filter:v 'pad=ih*16/9:ih:(ow-iw)/2:(oh-ih)/2'" : ''
79
+ ART.include?(iratio) ? " -aspect 16:9 -filter:v 'pad=max(iw\\,ih*16/9):ih:(ow-iw)/2:(oh-ih)/2'" : ''
79
80
  end
80
81
 
81
82
  # @return [String] cortes inicio video & duracao do video final processado
@@ -2,5 +2,5 @@
2
2
 
3
3
  # analizar/processar videos para arquivo uniformizado
4
4
  module Evideo
5
- VERSION = '0.2.6'
5
+ VERSION = '0.2.7'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evideo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hernâni Rodrigues Vaz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-22 00:00:00.000000000 Z
11
+ date: 2020-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler