Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Opencv 3.4.1.15 with python 3.6.8 not able to extract all video frames from latest version 15.3.1 IOS video

未关闭
#630 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
15/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
opencv, python

调研方向

未提供仓库文件、测试、操作系统、架构或可复现的视频。首先使用所述的 OpenCV 和 Python 版本验证报告的行为,然后确定它应归属于此 build-toolchain 仓库还是上游 OpenCV 项目;只有在具备完整且与仓库相关的复现,以及已确认的修复目标后,才能视为完成。

由索引模型根据 Issue 内容生成。

描述

incomplete
Expected behaviour

Getting all 300 frames from the video
Write here how did you expect the library to function.
cv2.VideoCapture(videopath)
should extract all the frames from the video

Actual behaviour

vs = cv2.VideoCapture(videopath)
while True:
_,frame = vs.read()

The above code is not reading all frames

Write here what went wrong.
Expected to read all frames, but just after 30 frames, I am getting a NULL frame.

Steps to reproduce
  • example code
  • operating system
  • architecture (e.g. x86)
  • OpenCV-python version
Issue submission checklist
  • This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
  • I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
  • The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")
  • I'm using the latest version of opencv-python
    No I am using OpenCV3.4.1.15 with python 3.6.8
主要语言
Python
星标
5.4k
派生
1k
平均合并
22 小时 17 分钟
30 天内合并 PR
3

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opencv/opencv-python 的其他 Issue

查看 opencv/opencv-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。