Sha256: 68fb0f014d3afbf61bd44985c0769b6e745ebd6597df7c8ee897ffda0b24089e

Contents?: true

Size: 974 Bytes

Versions: 9

Compression:

Stored size: 974 Bytes

Contents

# frozen_string_literal: true

require 'ehbrs/videos/unsupported/checks/invalid_extension'
require 'ehbrs/videos/unsupported/profiles/base'

module Ehbrs
  module Videos
    module Unsupported
      module Profiles
        class Samsung < ::Ehbrs::Videos::Unsupported::Profiles::Base
          AUDIO_SUPPORTED_CODECS = %w[aac ac3 eac3 mp3 vorbis].freeze
          AUDIO_UNSUPPORTED_CODECS = %w[dts].freeze

          VIDEO_SUPPORTED_CODECS = %w[h264 mpeg4 hevc mjpeg].freeze
          VIDEO_UNSUPPORTED_CODECS = %w[].freeze

          SUBTITLE_SUPPORTED_CODECS = %w[ass dvd dvd_subtitle hdmv_pgs_subtitle subrip].freeze
          SUBTITLE_UNSUPPORTED_CODECS = %w[mov mov_text].freeze

          OTHER_SUPPORTED_CODECS = %w[png ttf].freeze

          MPEG4_EXTRA_SUPPORTED = %w[].freeze
          MPEG4_EXTRA_UNSUPPORTED = %w[dx50 xvid].freeze

          def initialize
            add_check('invalid_extension', '.m4v')
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ehbrs-tools-0.37.0 lib/ehbrs/videos/unsupported/profiles/samsung.rb
ehbrs-tools-0.36.0 lib/ehbrs/videos/unsupported/profiles/samsung.rb
ehbrs-tools-0.35.1 lib/ehbrs/videos/unsupported/profiles/samsung.rb
ehbrs-tools-0.35.0 lib/ehbrs/videos/unsupported/profiles/samsung.rb
ehbrs-tools-0.34.0 lib/ehbrs/videos/unsupported/profiles/samsung.rb
ehbrs-tools-0.33.0 lib/ehbrs/videos/unsupported/profiles/samsung.rb
ehbrs-tools-0.32.0 lib/ehbrs/videos/unsupported/profiles/samsung.rb
ehbrs-tools-0.31.1 lib/ehbrs/videos/unsupported/profiles/samsung.rb
ehbrs-tools-0.31.0 lib/ehbrs/videos/unsupported/profiles/samsung.rb