Sha256: 73fc7245d143cf240314a325c4b731fcafc665a3e454f9fd9adbddec25578a32

Contents?: true

Size: 994 Bytes

Versions: 2

Compression:

Stored size: 994 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
            super()
            add_check('invalid_extension', '.m4v')
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ehbrs-tools-0.39.0 lib/ehbrs/videos/unsupported/profiles/samsung.rb
ehbrs-tools-0.38.0 lib/ehbrs/videos/unsupported/profiles/samsung.rb