get_window_output#

async VideoSlicer.get_window_output(indices)[source]#

Get the frame at the given indices, squeezing out the slider dims.

Parameters:

indices (dict[str, Any]) – Reference-space value for each slider dim, ex: {"time": 46.397}. Must provide a value for every slider dim.

Returns:

The frame, or a tuple of the (Y, U, V) planes if the underlying data returns YUV planes.

Return type:

np.ndarray | tuple[np.ndarray, …]