Hi,
I created docker image and running using the command:
sudo docker run -it --rm -v : -p 8888:8888 nvcr.io/nvidia/pytorch:25.02-py3
But, when I try to load the video file inside the docker, it’s always throwing error saying cannot open the video.
I found that in docker, the cv2.VideoCapture is not loading the mp4 files.
Let me know what is the workaround to run this.
Code tried:
import cv2
video = cv2.VideoCapture(“input_data/test.mp4”).isOpened()
print(video)
output: False