decode stdout
This commit is contained in:
parent
83de14ffea
commit
0a36713487
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ def supported_formats():
|
||||||
p = subprocess.Popen([command('ffmpeg'), '-codecs'],
|
p = subprocess.Popen([command('ffmpeg'), '-codecs'],
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
stdout, stderr = p.communicate()
|
stdout, stderr = p.communicate()
|
||||||
|
stdout = stdout.decode()
|
||||||
return {
|
return {
|
||||||
# 'ogg': 'libtheora' in stdout and 'libvorbis' in stdout,
|
# 'ogg': 'libtheora' in stdout and 'libvorbis' in stdout,
|
||||||
'webm': 'libvpx' in stdout and 'libvorbis' in stdout,
|
'webm': 'libvpx' in stdout and 'libvorbis' in stdout,
|
||||||
|
|
Loading…
Reference in a new issue