check ffmpeg bin
This commit is contained in:
parent
72d7fdb391
commit
ea8670b9f2
@ -146,13 +146,13 @@ def ffmpeg_libs():
|
|||||||
check which external libs are compiled in ffmpeg,
|
check which external libs are compiled in ffmpeg,
|
||||||
for using them later
|
for using them later
|
||||||
"""
|
"""
|
||||||
cmd = ['ffprobe', '-version']
|
cmd = ['ffmpeg', '-version']
|
||||||
libs = []
|
libs = []
|
||||||
|
|
||||||
try:
|
try:
|
||||||
info = check_output(cmd).decode('UTF-8')
|
info = check_output(cmd).decode('UTF-8')
|
||||||
except CalledProcessError as err:
|
except CalledProcessError as err:
|
||||||
messenger.error('ffprobe - libs could not be readed!\n'
|
messenger.error('ffmpeg - libs could not be readed!\n'
|
||||||
'Processing is not possible. Error:\n{}'.format(err))
|
'Processing is not possible. Error:\n{}'.format(err))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user