rlmesh.recorder.MediaRef
A per-episode media asset referenced by a bundle-relative path.
MediaRef(
camera: str,
kind: str,
path: str,
format: str,
frame_count: int | None = None,
width: int | None = None,
height: int | None = None,
fps: float | None = None,
)kind="video" is a video file living in the bundle at path – either
recorded from the env’s image observations (AV1 mp4, encoded in process) or an
env-produced container carried verbatim. frame_count/width/height/fps
are filled for recorded videos. This is just the manifest row; the bytes are in the
bundle.
Attributes
Methods
camera
attribute[source]camera: strkind
attribute[source]kind: strpath
attribute[source]path: strformat
attribute[source]format: strframe_count
attribute[source]frame_count: int | Nonewidth
attribute[source]width: int | Noneheight
attribute[source]height: int | Nonefps
attribute[source]fps: float | Noneto_dict
function[source]to_dict() -> dict[str, Any]JSON-native manifest row for this asset.