lib/evideo.rb in evideo-0.2.1 vs lib/evideo.rb in evideo-0.2.2
- old
+ new
@@ -17,18 +17,18 @@
class_option :o, banner: 'OUT', default: 'out', desc: 'Pasta destino'
desc 'conv', 'converte videos'
option :t, type: :boolean, default: false, desc: 'Processa somente segundos para teste'
# Processa videos
def conv
- Dir.glob("#{fin}/c*.???").sort.each do |f|
+ Dir.glob("#{fin}/*.???").sort.each do |f|
HRVideo.new(f).processa(options, fout)
end
end
desc 'test', 'testa videos'
# Analisa videos
def test
- Dir.glob("#{fin}/c*.???").sort.each do |f|
+ Dir.glob("#{fin}/*.???").sort.each do |f|
HRVideo.new(f).testa(options, fout)
end
end
default_task :conv
no_commands do