Class: UEncode::VideoConfig
- Inherits:
-
Object
- Object
- UEncode::VideoConfig
- Defined in:
- lib/uencode/elements.rb
Overview
The video configs for each Medium
Instance Attribute Summary collapse
-
#bitrate ⇒ Object
Returns the value of attribute bitrate.
-
#cbr ⇒ Object
Returns the value of attribute cbr.
-
#codec ⇒ Object
Returns the value of attribute codec.
-
#crop ⇒ Object
Returns the value of attribute crop.
-
#deinterlace ⇒ Object
Returns the value of attribute deinterlace.
-
#framerate ⇒ Object
Returns the value of attribute framerate.
-
#height ⇒ Object
Returns the value of attribute height.
-
#keyframe_interval ⇒ Object
Returns the value of attribute keyframe_interval.
-
#maxbitrate ⇒ Object
Returns the value of attribute maxbitrate.
-
#par ⇒ Object
Returns the value of attribute par.
-
#passes ⇒ Object
Returns the value of attribute passes.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#stretch ⇒ Object
Returns the value of attribute stretch.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize ⇒ VideoConfig
constructor
A new instance of VideoConfig.
Constructor Details
#initialize ⇒ VideoConfig
Returns a new instance of VideoConfig.
205 206 207 208 209 210 211 |
# File 'lib/uencode/elements.rb', line 205 def initialize @cbr = false @deinterlace = false @profile = "main" @passes = 1 @stretch = false end |
Instance Attribute Details
#bitrate ⇒ Object
Returns the value of attribute bitrate.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def bitrate @bitrate end |
#cbr ⇒ Object
Returns the value of attribute cbr.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def cbr @cbr end |
#codec ⇒ Object
Returns the value of attribute codec.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def codec @codec end |
#crop ⇒ Object
Returns the value of attribute crop.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def crop @crop end |
#deinterlace ⇒ Object
Returns the value of attribute deinterlace.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def deinterlace @deinterlace end |
#framerate ⇒ Object
Returns the value of attribute framerate.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def framerate @framerate end |
#height ⇒ Object
Returns the value of attribute height.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def height @height end |
#keyframe_interval ⇒ Object
Returns the value of attribute keyframe_interval.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def keyframe_interval @keyframe_interval end |
#maxbitrate ⇒ Object
Returns the value of attribute maxbitrate.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def maxbitrate @maxbitrate end |
#par ⇒ Object
Returns the value of attribute par.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def par @par end |
#passes ⇒ Object
Returns the value of attribute passes.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def passes @passes end |
#profile ⇒ Object
Returns the value of attribute profile.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def profile @profile end |
#stretch ⇒ Object
Returns the value of attribute stretch.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def stretch @stretch end |
#width ⇒ Object
Returns the value of attribute width.
202 203 204 |
# File 'lib/uencode/elements.rb', line 202 def width @width end |