blob 823b29fac5e03004190f1916c7a07691375f4a9d 779 bytes (raw)
name: lib/dtas/source/av.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'
# 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 - $TRIMFX $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)
@mcache = nil
@av_ff_probe = "avprobe"
end
def source_defaults
AV_DEFAULTS
end
end
|
debug log:
solving 823b29f ...
found 823b29f in https://80x24.org/dtas-all/20230904062152.2054504-2-e@80x24.org/
found 39cad6c in https://80x24.org/dtas.git/
preparing index
index prepared:
100644 39cad6cc1d0a0e71944be4c06e3ec01c62eecf13 lib/dtas/source/av.rb
applying [1/1] https://80x24.org/dtas-all/20230904062152.2054504-2-e@80x24.org/
diff --git a/lib/dtas/source/av.rb b/lib/dtas/source/av.rb
index 39cad6c..823b29f 100644
Checking patch lib/dtas/source/av.rb...
Applied patch lib/dtas/source/av.rb cleanly.
index at:
100644 823b29fac5e03004190f1916c7a07691375f4a9d lib/dtas/source/av.rb
(*) 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).