def METHOD_NAME(self, input: Input) -> Dict[str, Any]:
    # input is a video file
    video_reader = VideoReader(input)
    inputs = []
    for frame in video_reader:
        inputs.append(np.flip(frame, axis=2))
    fps = video_reader.fps
    for i, img in enumerate(inputs):
        img = torch.from_numpy(img / 255.).permute(2, 0, 1).float()
        inputs[i] = img.unsqueeze(0)
    inputs = torch.stack(inputs, dim=1)
    return {'video': inputs, 'fps': fps}