from GPUVideoReader import GPUVideoReader
import cv2

cv2.namedWindow('FRAME', cv2.WINDOW_NORMAL)

reader = GPUVideoReader("h264videofileorrtspstream")

ret = True
while ret:
    ret, frame = reader.read()
    if not ret:
        break
    print("frame read")
    cv2.imshow("FRAME", frame)
    cv2.waitKey(1)

cv2.destroyAllWindows()

cdd1a45f2f9cfa4bf6a653454618cac03f7057d8
<mask token>

<mask token>
cv2.namedWindow('FRAME', cv2.WINDOW_NORMAL)
<mask token>
while ret:
    ret, frame = reader.read()
    if not ret:
        break
    print('frame read')
    cv2.imshow('FRAME', frame)
    cv2.waitKey(1)
cv2.destroyAllWindows()

<mask token>
cv2.namedWindow('FRAME', cv2.WINDOW_NORMAL)
reader = GPUVideoReader('h264videofileorrtspstream')
ret = True
while ret:
    ret, frame = reader.read()
    if not ret:
        break
    print('frame read')
    cv2.imshow('FRAME', frame)
    cv2.waitKey(1)
cv2.destroyAllWindows()

from GPUVideoReader import GPUVideoReader
import cv2
cv2.namedWindow('FRAME', cv2.WINDOW_NORMAL)
reader = GPUVideoReader('h264videofileorrtspstream')
ret = True
while ret:
    ret, frame = reader.read()
    if not ret:
        break
    print('frame read')
    cv2.imshow('FRAME', frame)
    cv2.waitKey(1)
cv2.destroyAllWindows()

from GPUVideoReader import GPUVideoReader
import cv2

cv2.namedWindow('FRAME', cv2.WINDOW_NORMAL)

reader = GPUVideoReader("h264videofileorrtspstream")

ret = True
while ret:
    ret, frame = reader.read()
    if not ret:
        break
    print("frame read")
    cv2.imshow("FRAME", frame)
    cv2.waitKey(1)

cv2.destroyAllWindows()
