I am learning opencv from the youtube and I just created the very basic program in python
import cv2 as cv
sources=cv.VideoCapture("test.mp4");
if(not sources.isOpened()):
print("Failed to open video file");
else:
print("video file opened successfully");
win_name="test"
cv.namedWindow(win_name);
has_input,frame= sources.read();
if(has_input):en
cv.imshow(win_name,frame[...,::-1])
cv.waitKey(0)
sources.release();
But when i run the programm i have following errors, i have tried googling it but i didn’t find any working solution
[av1 @ 0x55e6dc8b0780] Missing Sequence Header.
[av1 @ 0x55e6dc8b0780] Missing Sequence Header.
[av1 @ 0x55e6dc8b0780] Missing Sequence Header.
[av1 @ 0x55e6dc8b0780] Missing Sequence Header.
[av1 @ 0x55e6dc8b0780] Missing Sequence Header.
[av1 @ 0x55e6dc8b0780] Missing Sequence Header.
[av1 @ 0x55e6dc8b0780] Missing Sequence Header.
[av1 @ 0x55e6dc8b0780] Missing Sequence Header.
[av1 @ 0x55e6dc8b0780] Missing Sequence Header.
video file opened successfully
[av1 @ 0x55e6dc97a7c0] Your platform doesn’t suppport hardware accelerated AV1 decoding.
[av1 @ 0x55e6dc97a7c0] Failed to get pixel format.
I have no i idea how to fix this?