ehbrs-tools 0.18.0 → 0.19.0

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: ebaf532c7759e39fe14d8ce5e9af873701dfe9aa08dfd8ab23ee2c7e85fbac74
4
- data.tar.gz: f2626b4eb360505865394303512f6871a20b14d47d62b1910aa22022abf0f03e
3
+ metadata.gz: e80d8d25f5c713908af2432c8f80f63c4f4de6f292c4bc915bf33951e998a1cd
4
+ data.tar.gz: ac9156efaa3625fcc64f0268231cc07756ce5ba37309ec44029559389a06bbd0
5
5
  SHA512:
6
- metadata.gz: cf01879a8df667ffd0f2be51565ddf928351444a1d0504154e8503c6f655ee5e324ac19f705e7510f74b87c1b626d6bfb52482a7a447361fd4bca51acd9f4905
7
- data.tar.gz: abaa72ab5d0cc2c448655ad017541a467aad4eac206bd1d75707ea027c82043dc0401ffcb8993a6e765b728e3aa3d6ef4fd9fafb735ae6c41e749095458da1a5
6
+ metadata.gz: de0930f5a26438deef43bbfb5a2245d30ed1d929ed28763fd8f7801f58f9ed813016d22c5c9bba61da8b3f1fcb801b0923381488b92b1279f536b0d8301eddba
7
+ data.tar.gz: 1f36ef925ce34f15f228d69f73ec277b6a56fb0545f19a43dc986516a1ac4c81db389645f6fd7d0cf720d56b1ca1d0150d189a8aec43b853a24e94f8bd622fc3
@@ -9,7 +9,7 @@ module Ehbrs
9
9
  class Runner
10
10
  class Videos
11
11
  class Unsupported
12
- PROFILES = %w[philco samsung].freeze
12
+ PROFILES = %w[aoc philco samsung].freeze
13
13
 
14
14
  runner_with :help do
15
15
  desc 'Procura e converte vídeos não suportados pelas TVs de EHB/RS.'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ehbrs
4
4
  module Tools
5
- VERSION = '0.18.0'
5
+ VERSION = '0.19.0'
6
6
  end
7
7
  end
@@ -26,7 +26,7 @@ module Ehbrs
26
26
 
27
27
  def ffmpeg_fix_args
28
28
  unpassed_checks.flat_map do |check|
29
- check.check.fix.ffmpeg_args(self)
29
+ check.check.fix.if_present([]) { |v| v.ffmpeg_args(self) }
30
30
  end
31
31
  end
32
32
 
@@ -12,7 +12,7 @@ module Ehbrs
12
12
  }.freeze
13
13
 
14
14
  TRACK_TYPE_FIX_CODECS = {
15
- audio: 'libvorbis',
15
+ audio: 'aac',
16
16
  video: 'libx264',
17
17
  subtitle: 'ass'
18
18
  }.freeze
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ehbrs/videos/unsupported/profiles/base'
4
+
5
+ module Ehbrs
6
+ module Videos
7
+ module Unsupported
8
+ module Profiles
9
+ class Aoc < ::Ehbrs::Videos::Unsupported::Profiles::Base
10
+ AUDIO_SUPPORTED_CODECS = %w[aac ac3 mp2 mp3].freeze
11
+ AUDIO_UNSUPPORTED_CODECS = %w[eac3 vorbis].freeze
12
+
13
+ VIDEO_SUPPORTED_CODECS = %w[h264 mpeg4].freeze
14
+ VIDEO_UNSUPPORTED_CODECS = %w[hevc].freeze
15
+
16
+ SUBTITLE_SUPPORTED_CODECS = %w[ass dvd_subtitle hdmv_pgs_subtitle subrip].freeze
17
+ SUBTITLE_UNSUPPORTED_CODECS = %w[mov_text].freeze
18
+
19
+ OTHER_SUPPORTED_CODECS = %w[].freeze
20
+
21
+ MPEG4_EXTRA_SUPPORTED = %w[xvid].freeze
22
+ MPEG4_EXTRA_UNSUPPORTED = %w[].freeze
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ehbrs-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
@@ -232,6 +232,7 @@ files:
232
232
  - lib/ehbrs/videos/unsupported/fixes/supported_codec.rb
233
233
  - lib/ehbrs/videos/unsupported/fixes/supported_container.rb
234
234
  - lib/ehbrs/videos/unsupported/profiles.rb
235
+ - lib/ehbrs/videos/unsupported/profiles/aoc.rb
235
236
  - lib/ehbrs/videos/unsupported/profiles/base.rb
236
237
  - lib/ehbrs/videos/unsupported/profiles/philco.rb
237
238
  - lib/ehbrs/videos/unsupported/profiles/samsung.rb