only use ffmpeg
This commit is contained in:
parent
f3771f1b56
commit
657a1dd234
1 changed files with 1 additions and 8 deletions
|
@ -13,14 +13,7 @@ import numpy as np
|
||||||
import ox
|
import ox
|
||||||
|
|
||||||
|
|
||||||
FFMPEG = None
|
FFMPEG = 'ffmpeg'
|
||||||
for cmd in ('ffmpeg', 'avconv'):
|
|
||||||
cmd = ox.file.cmd(cmd)
|
|
||||||
if subprocess.call(['which', cmd], stdout=subprocess.PIPE) == 0:
|
|
||||||
FFMPEG = cmd
|
|
||||||
break
|
|
||||||
if not FFMPEG:
|
|
||||||
print("could not find ffmpeg, make sure its installed and available in PATH")
|
|
||||||
FPS = 25
|
FPS = 25
|
||||||
|
|
||||||
class Video(object):
|
class Video(object):
|
||||||
|
|
Loading…
Reference in a new issue