Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame accessing from H.265(HEVC) videos issues #325

Open
haildceu1 opened this issue Nov 1, 2024 · 0 comments
Open

Frame accessing from H.265(HEVC) videos issues #325

haildceu1 opened this issue Nov 1, 2024 · 0 comments

Comments

@haildceu1
Copy link

haildceu1 commented Nov 1, 2024

I get different frames count when using decord and opencv to access information from HEVC videos. Also, when I try to load certain segment from video, the clip is totally different compared to moviepy which receives time stamp directly.

vr = de.VideoReader(video_path)
cap = cv2.VideoCapture(video_path)
num_frames = cap.get(cv2.CAP_PROP_FRAME_COUNT)
if int(num_frames) != len(vr):
print(num_frames)
print(len(vr))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant