class MultimediaParadise::FfmpegOptions
Constants
- DEFAULT_STRING
#¶ ↑
DEFAULT_STRING
¶ ↑#¶ ↑
- PADDING
#¶ ↑
PADDING
¶ ↑#¶ ↑
- REVERTED_VIDEO_FILTER_ALIASES
#¶ ↑
REVERTED_VIDEO_FILTER_ALIASES
¶ ↑#¶ ↑
- VIDEO_FILTER_ALIASES
Public Class Methods
Public Instance Methods
report_input()
click to toggle source
report_result()
click to toggle source
reset()
click to toggle source
run()
click to toggle source
run_everything()
click to toggle source
sanitize_string()
click to toggle source
set_keys()
click to toggle source
set_string(i)
click to toggle source
#¶ ↑
set_string
¶ ↑
#¶ ↑
# File lib/multimedia_paradise/video/ffmpeg_options.rb, line 84 def set_string(i) i = i.join(' ') if i.is_a? Array if i.empty? e 'Assigning default value to the string, as the passed string'+ 'is '+sfancy('empty')+'.' i = DEFAULT_STRING else case i when 'help' # Feedback help about codecs, then exit. system 'ffmpeg -codecs' exit end end i = i.strip @string = i end