add encodingProfile api call, minor fixes
This commit is contained in:
parent
7f9a4e252e
commit
33725ff9d4
7 changed files with 20 additions and 8 deletions
|
|
@ -207,6 +207,7 @@ def stream(video, target, profile, info):
|
|||
return True
|
||||
|
||||
def run_command(cmd, timeout=10):
|
||||
#print cmd
|
||||
p = subprocess.Popen(cmd, stdout=open('/dev/null', 'w'), stderr=subprocess.STDOUT)
|
||||
while timeout > 0:
|
||||
time.sleep(0.2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue