1 # Copyright (C) all contributors <dtas-all@nongnu.org>
2 # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
3 # frozen_string_literal: true
4 require_relative '../../dtas'
5 require_relative 'av_ff_common'
8 class DTAS::Source::Ff # :nodoc:
9 include DTAS::Source::AvFfCommon
11 FF_DEFAULTS = COMMAND_DEFAULTS.merge(
13 'ffmpeg -v error $SSPOS $PROBE -i "$INFILE" $AMAP -f sox - |' \
14 'sox -p $SOXFMT - $TRIMFX $RGFX',
20 command_init(FF_DEFAULTS)
22 @av_ff_probe = "ffprobe"