Sha256: 8d595d2a551541edd4a2c1ce69d1dafdcf03cd230db5f0b2df4b91053cf40dcf

Contents?: true

Size: 741 Bytes

Versions: 5

Compression:

Stored size: 741 Bytes

Contents

# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
require_relative '../../dtas'
require_relative 'av_ff_common'

# this is usually one input file
class DTAS::Source::Av # :nodoc:
  include DTAS::Source::AvFfCommon

  AV_DEFAULTS = COMMAND_DEFAULTS.merge(
    "command" =>
      'avconv -v error $SSPOS $PROBE -i "$INFILE" $AMAP -f sox - |' \
      'sox -p $SOXFMT - $RGFX',

    # this is above ffmpeg because this av is the Debian default and
    # it's easier for me to test av than ff
    "tryorder" => 1,
  )

  def initialize
    command_init(AV_DEFAULTS)
    @av_ff_probe = "avprobe"
  end

  def source_defaults
    AV_DEFAULTS
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dtas-0.7.0 lib/dtas/source/av.rb
dtas-0.6.0 lib/dtas/source/av.rb
dtas-0.5.0 lib/dtas/source/av.rb
dtas-0.4.0 lib/dtas/source/av.rb
dtas-0.3.0 lib/dtas/source/av.rb