Class: Ehbrs::Videos::Unsupported::FixProfile

Inherits:
Object
  • Object
show all
Includes:
Profiles::SameQuality
Defined in:
lib/ehbrs/videos/unsupported/fix_profile.rb

Instance Method Summary collapse

Instance Method Details

#ffmpeg_argsObject



25
26
27
28
29
# File 'lib/ehbrs/videos/unsupported/fix_profile.rb', line 25

def ffmpeg_args
  r = fix_args
  r += container_fix_args unless r.include?('-f')
  r + super
end

#nameObject



21
22
23
# File 'lib/ehbrs/videos/unsupported/fix_profile.rb', line 21

def name
  "fix_for_#{::File.basename(video.file)}"
end