ffmpeg-python icon indicating copy to clipboard operation
ffmpeg-python copied to clipboard

How to retrieve FFMPEG (called from OpenCV) Python decoding error?

Open changchiyou opened this issue 2 years ago • 0 comments

I want to record and count the numbers of the decoding error message, but I don’t know how to do that. :smiling_face_with_tear:

I have already refer to Stackoverflow: How to retrieve FFMPEG (called from OpenCV) Python decoding error, but the solution is not perfect enought.

It can retrieve the error message generated by cv2.VideoCapture first time connection failure, but can’t do the same thing with the decoding error message from ffmpeg.

note. I have already asked the same topic on OpenCV Forum because I am not sure where this problem belongs to.

changchiyou avatar Sep 13 '23 09:09 changchiyou