Class: UEncode::VideoConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/uencode/elements.rb

Overview

The video configs for each Medium

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVideoConfig

Returns a new instance of VideoConfig.



170
171
172
173
174
175
176
# File 'lib/uencode/elements.rb', line 170

def initialize
  @cbr         = false
  @deinterlace = false
  @profile     = "main"
  @passes      = 1
  @stretch     = false
end

Instance Attribute Details

#bitrateObject

Returns the value of attribute bitrate.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def bitrate
  @bitrate
end

#cbrObject

Returns the value of attribute cbr.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def cbr
  @cbr
end

#codecObject

Returns the value of attribute codec.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def codec
  @codec
end

#cropObject

Returns the value of attribute crop.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def crop
  @crop
end

#deinterlaceObject

Returns the value of attribute deinterlace.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def deinterlace
  @deinterlace
end

#framerateObject

Returns the value of attribute framerate.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def framerate
  @framerate
end

#heightObject

Returns the value of attribute height.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def height
  @height
end

#keyframe_intervalObject

Returns the value of attribute keyframe_interval.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def keyframe_interval
  @keyframe_interval
end

#maxbitrateObject

Returns the value of attribute maxbitrate.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def maxbitrate
  @maxbitrate
end

#parObject

Returns the value of attribute par.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def par
  @par
end

#passesObject

Returns the value of attribute passes.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def passes
  @passes
end

#profileObject

Returns the value of attribute profile.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def profile
  @profile
end

#stretchObject

Returns the value of attribute stretch.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def stretch
  @stretch
end

#widthObject

Returns the value of attribute width.



167
168
169
# File 'lib/uencode/elements.rb', line 167

def width
  @width
end