- class weldx.util.media_file.MediaFile(path_or_array, reference_time=None, fps=None)#
Encapsulates a media file, like video or image stacks making them accessible.
The underlying images are encapsulated to be loaded lazily (via Dask) and can be accessed by a time coordinate in case of videos.
File reference to underlying file/directory.
Get underlying DataArray.
In case of time-dynamic data, return its duration.
Frames per second.
Initialized from file or not?
Time of recording of this media (if known).
Resolution in pixels (widths, height).