remove FFmpeg log because... I can

This commit is contained in:
Yorick Barbanneau 2015-12-09 11:30:53 +01:00
parent 1be80fbec3
commit 3cce5415a4

View file

@ -61,7 +61,6 @@ def execute(command, shell=False):
except OSError as ex: except OSError as ex:
logging.error('Could not run command %s: %s', command, ex) logging.error('Could not run command %s: %s', command, ex)
return return
logging.debug(stdout, stderr)
return stdout.strip() return stdout.strip()
@ -192,8 +191,7 @@ def encode_h264(src, dest):
logging.debug("First Pass command %s", firstpass) logging.debug("First Pass command %s", firstpass)
execute(firstpass) execute(firstpass)
logging.debug("Second pass command %s", secondpass) logging.debug("Second pass command %s", secondpass)
out = execute(secondpass) execute(secondpass)
logging.debug('FFmpeg stdout : %s', out)
else: else:
logging.debug("one pass encoding started ...") logging.debug("one pass encoding started ...")
encode = [ encode = [