Sha256: 0ea649c19a18f8bfa205dd8a96ddc9654d594d312894409ceffc8056efabd4ad
Contents?: true
Size: 619 Bytes
Versions: 3
Compression:
Stored size: 619 Bytes
Contents
module Ffmprb class Process class Input def reverse Reversed.new self end class Reversed < ChainBase # TODO check this is reasonable and not a (live) stream... def filters_for(lbl, video:, audio:) # Reversing lbl_aux = "rv#{lbl}" super(lbl_aux, video: video, audio: audio) + [ *((video && channel?(:video))? Filter.reverse("#{lbl_aux}:v", "#{lbl}:v"): nil), *((audio && channel?(:audio))? Filter.areverse("#{lbl_aux}:a", "#{lbl}:a"): nil) ] end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffmprb-0.12.3 | lib/ffmprb/process/input/reversed.rb |
ffmprb-0.12.2 | lib/ffmprb/process/input/reversed.rb |
ffmprb-0.12.1 | lib/ffmprb/process/input/reversed.rb |