struct

DataDungeon::VideoMeta

Inherits JSON::Serializable < DataDungeon::AssetMeta < Struct < Value < Object

Constructors

new(width : Int32 | Nil = nil, height : Int32 | Nil = nil, duration_ms : Int32 | Nil = nil, frame_rate : Float64 | Nil = nil, usage_class : String | Nil = nil, has_audio : Bool = false, compression : String = "original", quality_floor : Int32 | Nil = nil, target_format : String | Nil = nil, presentation : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

compression
Source
duration_ms
Source
frame_rate
Source
has_audio
Source
height
Source
presentation

Renderer placement hint (opaque JSON blob). Present on visual media (image, video); nil for audio and text.

Source
quality_floor
Source
target_format
Source
usage_class
Source
width
Source