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

json.decoder.JSONDecodeError: Expecting ',' delimiter: line 139 column 6 (char 4763) #847

Open
BlazarBruce opened this issue Jul 24, 2024 · 1 comment

Comments

@BlazarBruce
Copy link

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。

@BlazarBruce
Copy link
Author

The format of file_path is
F:\格式\追风者(2024)\追风者.War.of.Faith.S01E27.2024.2160p.WEB-DL.DDP5.1.H265-Pure@HDSWEB.mkv

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

1 participant