DataDungeon::VideoMeta
Inherits JSON::Serializable < DataDungeon::AssetMeta < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(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)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
compression
Sourceduration_ms
Sourceframe_rate
Sourcehas_audio
Sourceheight
Sourcepresentation
Renderer placement hint (opaque JSON blob). Present on visual media (image, video); nil for audio and text.
quality_floor
Sourcetarget_format
Sourceusage_class
Sourcewidth
Source