We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 69cd89f + 78ed664 commit 6b499f6Copy full SHA for 6b499f6
1 file changed
ffprobe/ffprobe.py
@@ -44,7 +44,7 @@ def __init__(self, path_to_video):
44
self.attachment = []
45
46
for line in iter(p.stdout.readline, b''):
47
- line = line.decode('UTF-8')
+ line = line.decode('UTF-8', 'ignore')
48
49
if '[STREAM]' in line:
50
stream = True
@@ -68,7 +68,7 @@ def __init__(self, path_to_video):
68
stream_metadata_met = False
69
70
for line in iter(p.stderr.readline, b''):
71
72
73
if 'Metadata:' in line and not stream_metadata_met:
74
is_metadata = True
0 commit comments