Ask Your Question

Revision history [back]

**I cannot open dv files**. I am getting "[dv @ 00000265f2bb24c0] Cannot find DV header" and "Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:901)" exceptions

import cv2

cap = cv2.VideoCapture("C:\**.dv")

print('done')

Is the python 3.7 code that I am running.

These are the exceptions that I am getting: [dv @ 00000219ffba24c0] Cannot find DV header. warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:901) warning: C:**.dv (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:902)

**I cannot open dv files**. I am getting "[dv @ 00000265f2bb24c0] Cannot find DV header" and "Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:901)" exceptions

import cv2Code:

import cv2

cap = cv2.VideoCapture("C:\**.dv")

cv2.VideoCapture("C:\\****.dv")

print('done')

print('done')

Is the python 3.7 code that I am running.

These are the exceptions that I am getting: [dv @ 00000219ffba24c0] Cannot find DV header. warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:901) warning: C:**.dv (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:902)