Traceback (most recent call last):
File "E:\test.py", line 30, in
streams = ffmpeg.probe(file_path)['streams']
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\konwledge_explore\venv\Lib\site-packages\ffmpeg_python-0.2.0-py3.12.egg\ffmpeg_probe.py", line 27, in probe
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\json__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 139 column 6 (char 4763)
I want to get the video file stream information, but unstable throw this error, I throw the error of the video file out of the execution, and normal again。
Traceback (most recent call last): File "E:\test.py", line 30, in
streams = ffmpeg.probe(file_path)['streams']
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\konwledge_explore\venv\Lib\site-packages\ffmpeg_python-0.2.0-py3.12.egg\ffmpeg_probe.py", line 27, in probe
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\json__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 139 column 6 (char 4763)
I want to get the video file stream information, but unstable throw this error, I throw the error of the video file out of the execution, and normal again。