Class: DTAS::Source::Av
- Inherits:
-
Object
- Object
- DTAS::Source::Av
- Includes:
- AvFfCommon
- Defined in:
- lib/dtas/source/av.rb
Overview
this is usually one input file
Constant Summary collapse
- 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, )
Constants included from AvFfCommon
DTAS::Source::AvFfCommon::AV_FF_TRYORDER
Constants included from File
File::FILE_SIVS, File::SRC_SIVS
Constants included from Process
Constants included from Command
Instance Attribute Summary
Attributes included from AvFfCommon
Attributes included from File
Attributes included from Common
#dst, #dst_zero_byte, #requeued
Attributes included from Command
#command, #env, #pid, #spawn_at, #to_io
Instance Method Summary collapse
-
#initialize ⇒ Av
constructor
A new instance of Av.
- #source_defaults ⇒ Object
Methods included from AvFfCommon
#__parse_astream, #amap_fallback, #av_ff_ok?, #probe_ok?, #samples, #select_astream, #spawn, #sspos, #to_hsh, #try
Methods included from XS
Methods included from File
#__file_init, #comments, #cuebreakpoints, #load!, #offset_samples, #offset_us, #replaygain, #samples!, #source_file_dup, #to_hash, #to_source_cat, #to_state_hash
Methods included from Mp3gain
#__mp3gain_peak, #mp3gain_comments
Methods included from Process
#dtas_spawn, #env_expand, #qx, reaper
Methods included from Common
Methods included from Command
#command_init, #command_string, #on_death
Methods included from DTAS::Serialize
Constructor Details
#initialize ⇒ Av
Returns a new instance of Av.
20 21 22 23 |
# File 'lib/dtas/source/av.rb', line 20 def initialize command_init(AV_DEFAULTS) @av_ff_probe = "avprobe" end |
Instance Method Details
#source_defaults ⇒ Object
25 26 27 |
# File 'lib/dtas/source/av.rb', line 25 def source_defaults AV_DEFAULTS end |