Class: Media::Preset::WebM

Inherits:
Base
  • Object
show all
Defined in:
lib/media/preset/webm.rb

Class Method Summary collapse

Methods inherited from Base

#call, #initialize, preset?, #to_s

Constructor Details

This class inherits a constructor from Media::Preset::Base

Class Method Details

.presetsObject



7
8
9
10
11
12
# File 'lib/media/preset/webm.rb', line 7

def self.presets
  {
    hd: {height: 720, width: 1280, qmax: 51, qmin: 11, slices: 4, video_bitrate: '2M'},
    sd: {height: 480, width: 640, qmax: 63, qmin: 0, slices: 1, video_bitrate: '768K'}
  }
end