Class: Jani::StripMaker::TranscodeOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/jani/strip_maker/transcode_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fpsObject

Returns the value of attribute fps.



2
3
4
# File 'lib/jani/strip_maker/transcode_options.rb', line 2

def fps
  @fps
end

#heightObject

Returns the value of attribute height.



2
3
4
# File 'lib/jani/strip_maker/transcode_options.rb', line 2

def height
  @height
end

#widthObject

Returns the value of attribute width.



2
3
4
# File 'lib/jani/strip_maker/transcode_options.rb', line 2

def width
  @width
end

Instance Method Details

#to_ffmpeg_optionsObject



4
5
6
# File 'lib/jani/strip_maker/transcode_options.rb', line 4

def to_ffmpeg_options
  [to_bitrate_option(), to_scale_option(), to_fps_option()].join(" ")
end