Optionalid: stringOptionalaudioOptionalblobOptionalcustomOptionaldurationOptionalfilmstripThis is an url for a filmstrip placeholder
OptionalhashOptionalheightOptionalmediaMedia payload used by previews, playback, object URLs, and FFmpeg mounts. Preserves File instances when available.
OptionalmetadataOptionalmimeOptionalpermanentOptionalstoreOptionalthumbnailOptionalwidthOptionalduration: numberReturns the stable library media id.
Media id.
Returns the media payload, preserving File identity when available.
Returns the current display name of the media asset.
Media name.
Returns the ids of placeholder clips currently waiting for this media to finish loading.
Read-only placeholder clip id list.
Builds the normalized storage payload used by storage providers.
The method only succeeds once the media is fully ready and has a content hash plus a source payload.
Storage payload, or null when the media is not ready for persistence.
Serializes the media record into project-safe data.
Serialized media record payload.
StaticdeserializeReconstructs a media record shell from serialized project data.
Runtime-only fields such as thumbnails, FFmpeg paths, and loaded blob URLs are intentionally not restored here.
Serialized media payload.
Deserialized media record.
Staticunlock
Library record representing one imported media asset and all of its derived runtime metadata.
A
MediaDatainstance tracks the original payload, FFmpeg-mountable source, derived previews, placeholder-clip resolution, storage sync, and hash/metadata information needed across the editor.