json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
TJ2333 opened this issue · comments
TJ2333 commented
Dose anyone got the same error as i do?I cant figure out how to solve it ,can anyone help me
zhaojunjie-123 commented
你好,请问你解决这个问题了吗?我看应该是缺少ffprobe_result.json这个文件导致的,但是我找不到这个文件
Mayy1994 commented
It is caused by the ffmpeg. You may refer to https://stackoverflow.com/a/63977043
VERMANs commented
maybe you should write it like this
json_file_path = "xxx" with open(json_file_path, 'r') as j: contents = json.loads(j.read())
not this
contents = json.loads(json_file_path)
Vanilla99 commented
pip install ffmpeg-python