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

decord read failed, but ffmpeg works fine #221

Open
zhuhaozh opened this issue Jul 21, 2022 · 4 comments
Open

decord read failed, but ffmpeg works fine #221

zhuhaozh opened this issue Jul 21, 2022 · 4 comments

Comments

@zhuhaozh
Copy link

zhuhaozh commented Jul 21, 2022

VideoReader (xxx.mp4) reports the error:

decord._ffi.base.DECORDError: [10:17:57] /github/workspace/src/video/video_reader.cc:151: Check failed: st_nb >= 0 (-1128613112 vs. 0) ERROR cannot find video stream with wanted index: -1

I checked the video file, and it can be processed by ffmpeg.
decord will also be fine if read the ffmpeg processed video:

ffmpeg -i xxx.mp4 -q:v 0 xxx.mp4

I searched the issues, but not find any solutions.

decord version: 0.6.0

@coldmanck
Copy link

Same issue here.

@edithal-14
Copy link

Same issue here but it only occurs for AV1 codec

@lancylot2004
Copy link

Same issue here - I found that in my case the issue was that there are no streams in the video, and ffmpeg did not consider that an error. But when decord then goes to read the frames of the video, there are... no frames to be found.

@SCZwangxiao
Copy link

Some issue here, only occurred for AV1 codec

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

5 participants