decord icon indicating copy to clipboard operation
decord copied to clipboard

h264 mmco: unref short failure

Open frelwx opened this issue 4 years ago • 6 comments

when I read some video in this way vr = VideoReader(path),I get “h264 mmco: unref short failure”,how could I solve it? 当我按照上面这个方法读视频的时候,会出现提示 h264 mmco: unref short failure,我该如何解决它

frelwx avatar Nov 29 '21 11:11 frelwx

我碰到了同样的问题,读取时候卡住了,请问怎么try except?

fanbooo avatar Feb 27 '22 08:02 fanbooo

我也遇到同样的问题,请问你们的program crash了吗?我发现我这边读取并没有crash,获得的tensor看上去也是正常的(我visualize了一下)

DrJimFan avatar Apr 08 '22 02:04 DrJimFan

我也遇到同样的问题,请问你们的program crash了吗?我发现我这边读取并没有crash,获得的tensor看上去也是正常的(我visualize了一下)

没有crash,但一直报错看着难受😭

frelwx avatar Apr 15 '22 06:04 frelwx

我现在的做法是 python main.py 2> log.err,然后尽量把有用的信息都写到stdout上

DrJimFan avatar Apr 15 '22 06:04 DrJimFan

请问有人解决了么?

zdaiot avatar Mar 08 '24 02:03 zdaiot

This is because the code calls VideoCapture.set(cv2.CAP_PROP_POS_FRAMES, frame_num) which seeks the video to the given frame_num. The mmco: unref short failure is caused by OpenCV for OpenCV doesn’t do seeking too well.

I just find why it throws, but don't know how to fix it. This might have relationships with the key-frames of a video, so I'm trying to use PyAV

jackwang0108 avatar Mar 27 '24 21:03 jackwang0108