Sha256: 3bf123439d076ef3f7012d2497a1fdbdf57071c031eeacfc31ffcad073aceeb6

Contents?: true

Size: 708 Bytes

Versions: 23

Compression:

Stored size: 708 Bytes

Contents

# frozen_string_literal: true

require 'ehbrs_ruby_utils/videos/container'
require 'eac_ruby_base0/core_ext'
require 'eac_ruby_utils/yaml'

module Ehbrs
  module Tools
    class Runner
      class Videos
        class Probe
          runner_with :help, :output do
            desc 'FFProbe em um arquivo de vĂ­deo.'
            pos_arg :file_path
          end

          def run
            run_output
          end

          def output_content
            ::EacRubyUtils::Yaml.dump(container_file.probe_data)
          end

          private

          def container_file_uncached
            ::EhbrsRubyUtils::Videos::Container.new(parsed.file_path)
          end
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ehbrs-tools-0.39.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.38.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.37.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.36.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.35.1 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.35.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.34.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.33.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.32.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.31.1 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.31.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.30.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.29.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.28.3 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.28.2 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.28.1 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.28.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.27.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.26.0 lib/ehbrs/tools/runner/videos/probe.rb
ehbrs-tools-0.25.1 lib/ehbrs/tools/runner/videos/probe.rb