8000 Fix ffprobe string decoding · cmehay/ffmpeg-python@24e737f · GitHub
[go: up one dir, main page]

Skip to content

Commit 24e737f

Browse files
committed
Fix ffprobe string decoding
1 parent 25bda39 commit 24e737f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffmpeg/_probe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def probe(filename):
2020
out, err = p.communicate()
2121
if p.returncode != 0:
2222
raise ExecException(err)
23-
return json.loads(out)
23+
return json.loads(out.decode('utf-8'))
2424

2525

2626
__all__ = [

0 commit comments

Comments
 (0)
0