Class: DTAS::Source::Ff
- Inherits:
-
Object
- Object
- DTAS::Source::Ff
- Includes:
- AvFfCommon
- Defined in:
- lib/dtas/source/ff.rb
Overview
ffmpeg support note: only tested with the compatibility wrapper in the Debian 7.0 package (so still using avconv/avprobe)
Constant Summary collapse
- FF_DEFAULTS =
COMMAND_DEFAULTS.merge( "command" => 'ffmpeg -v error $SSPOS $PROBE -i "$INFILE" $AMAP -f sox - |' \ 'sox -p $SOXFMT - $RGFX', # I haven't tested this much since av is in Debian stable and ff is not "tryorder" => 2, )
Constants included from AvFfCommon
Constants included from File
DTAS::Source::File::FILE_SIVS, DTAS::Source::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 ⇒ Ff
constructor
A new instance of Ff.
- #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 ⇒ Ff
Returns a new instance of Ff.
21 22 23 24 |
# File 'lib/dtas/source/ff.rb', line 21 def initialize command_init(FF_DEFAULTS) @av_ff_probe = "ffprobe" end |
Instance Method Details
#source_defaults ⇒ Object
26 27 28 |
# File 'lib/dtas/source/ff.rb', line 26 def source_defaults FF_DEFAULTS end |