Class: UEncode::VideoConfig
- Inherits:
-
Object
- Object
- UEncode::VideoConfig
- Defined in:
- lib/uencode/elements.rb
Overview
The video configs for each VideoStream
Instance Attribute Summary collapse
-
#bitrate ⇒ Object
Returns the value of attribute bitrate.
-
#codec ⇒ Object
Returns the value of attribute codec.
-
#deinterlace ⇒ Object
Returns the value of attribute deinterlace.
-
#fix_rotation ⇒ Object
Returns the value of attribute fix_rotation.
-
#force_square_pixels ⇒ Object
Returns the value of attribute force_square_pixels.
-
#framerate ⇒ Object
Returns the value of attribute framerate.
-
#passes ⇒ Object
Returns the value of attribute passes.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#quality ⇒ Object
Returns the value of attribute quality.
Instance Method Summary collapse
Instance Attribute Details
#bitrate ⇒ Object
Returns the value of attribute bitrate.
384 385 386 |
# File 'lib/uencode/elements.rb', line 384 def bitrate @bitrate end |
#codec ⇒ Object
Returns the value of attribute codec.
384 385 386 |
# File 'lib/uencode/elements.rb', line 384 def codec @codec end |
#deinterlace ⇒ Object
Returns the value of attribute deinterlace.
384 385 386 |
# File 'lib/uencode/elements.rb', line 384 def deinterlace @deinterlace end |
#fix_rotation ⇒ Object
Returns the value of attribute fix_rotation.
384 385 386 |
# File 'lib/uencode/elements.rb', line 384 def fix_rotation @fix_rotation end |
#force_square_pixels ⇒ Object
Returns the value of attribute force_square_pixels.
384 385 386 |
# File 'lib/uencode/elements.rb', line 384 def force_square_pixels @force_square_pixels end |
#framerate ⇒ Object
Returns the value of attribute framerate.
384 385 386 |
# File 'lib/uencode/elements.rb', line 384 def framerate @framerate end |
#passes ⇒ Object
Returns the value of attribute passes.
384 385 386 |
# File 'lib/uencode/elements.rb', line 384 def passes @passes end |
#profile ⇒ Object
Returns the value of attribute profile.
384 385 386 |
# File 'lib/uencode/elements.rb', line 384 def profile @profile end |
#quality ⇒ Object
Returns the value of attribute quality.
384 385 386 |
# File 'lib/uencode/elements.rb', line 384 def quality @quality end |
Instance Method Details
#max_size ⇒ Object
400 401 402 |
# File 'lib/uencode/elements.rb', line 400 def max_size @max_size end |
#max_size=(_max_size) ⇒ Object
395 396 397 398 |
# File 'lib/uencode/elements.rb', line 395 def max_size=(_max_size) _max_size = MaxSize.new(_max_size) unless _max_size.instance_of?(MaxSize) || _max_size.nil? instance_variable_set :@max_size, _max_size end |
#size ⇒ Object
391 392 393 |
# File 'lib/uencode/elements.rb', line 391 def size @size end |