Class: Pageflow::ZencoderVideoOutputDefinition Private
- Inherits:
-
ZencoderOutputDefinition
- Object
- ZencoderOutputDefinition
- Pageflow::ZencoderVideoOutputDefinition
- Defined in:
- lib/pageflow/zencoder_video_output_definition.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: Playlist
Constant Summary collapse
- MIN_SIZE_FOR_4K =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'1921x1080'.freeze
- MIN_SIZE_FOR_FULLHD =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'1281x720'.freeze
Instance Attribute Summary collapse
- #video_file ⇒ Object readonly private
Attributes inherited from ZencoderOutputDefinition
Instance Method Summary collapse
-
#initialize(video_file, options = {}) ⇒ ZencoderVideoOutputDefinition
constructor
private
A new instance of ZencoderVideoOutputDefinition.
- #input_s3_url ⇒ Object private
- #outputs ⇒ Object private
Methods inherited from ZencoderOutputDefinition
Constructor Details
#initialize(video_file, options = {}) ⇒ ZencoderVideoOutputDefinition
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ZencoderVideoOutputDefinition.
11 12 13 14 |
# File 'lib/pageflow/zencoder_video_output_definition.rb', line 11 def initialize(video_file, = {}) super() @video_file = video_file end |
Instance Attribute Details
#video_file ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 |
# File 'lib/pageflow/zencoder_video_output_definition.rb', line 6 def video_file @video_file end |
Instance Method Details
#input_s3_url ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 |
# File 'lib/pageflow/zencoder_video_output_definition.rb', line 16 def input_s3_url @video_file. end |
#outputs ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/pageflow/zencoder_video_output_definition.rb', line 20 def outputs [ mp4_highdef_definitions, transferable(mp4_high_definition), transferable(mp4_medium_definition), transferable(mp4_low_definition), dash_definitions, hls_definitions, smil_definitions, thumbnails_definitions ].flatten end |