Class: Media::Preset::H264

Inherits:
Base
  • Object
show all
Defined in:
lib/media/preset/h264.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/h264.rb', line 7

def self.presets
  {
    hd: {height: 720, width: 1280},
    sd: {height: 480, width: 640}
  }
end