add encodingProfile api call, minor fixes

This commit is contained in:
j 2010-11-15 20:15:52 +01:00
commit 33725ff9d4
7 changed files with 20 additions and 8 deletions

View file

@ -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)