When resizing the video to match the screen size, if the video does not match the aspect ratio of the screen, it will be stretched:
|
RGB = torch.nn.functional.interpolate(RGB.permute(2,0,1)[None], |
The desired behaviour would be to adjust the target resolution so that the aspect ratio is preserved.
When resizing the video to match the screen size, if the video does not match the aspect ratio of the screen, it will be stretched:
ColorVideoVDP/pycvvdp/video_source_file.py
Line 269 in 52c528d
The desired behaviour would be to adjust the target resolution so that the aspect ratio is preserved.