blob 687cd182e53456bb9c1ac037e4852e3dd9dd50d1 820 bytes (raw)
name: lib/dtas/source/ff.rb # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| | # Copyright (C) 2013-2020 all contributors <dtas-all@nongnu.org>
# License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
# frozen_string_literal: true
require_relative '../../dtas'
require_relative 'av_ff_common'
# ffmpeg support
# note: only tested with the compatibility wrapper in the Debian 7.0 package
# (so still using avconv/avprobe)
class DTAS::Source::Ff # :nodoc:
include DTAS::Source::AvFfCommon
FF_DEFAULTS = COMMAND_DEFAULTS.merge(
"command" =>
'ffmpeg -v error $SSPOS $PROBE -i "$INFILE" $AMAP -f sox - |' \
'sox -p $SOXFMT - $TRIMFX $RGFX',
# I haven't tested this much since av is in Debian stable and ff is not
"tryorder" => 2,
)
def initialize
command_init(FF_DEFAULTS)
@av_ff_probe = "ffprobe"
end
def source_defaults
FF_DEFAULTS
end
end
|
debug log:
solving 687cd18 ...
found 687cd18 in https://80x24.org/dtas.git/
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://80x24.org/dtas.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).