log FFmpeg stdout

This commit is contained in:
Yorick Barbanneau 2015-12-09 11:03:20 +01:00
parent d3d81f0eed
commit 314fa316d2

View file

@ -111,7 +111,7 @@ def get_file_name(path):
path (string) : complete path + file
"""
return os.path.splitext(os.path.basename(path))[0]
def process_arg(sysarg):
"""
@ -191,7 +191,8 @@ def encode_h264(src, dest):
logging.debug("First Pass command %s", firstpass)
execute(firstpass)
logging.debug("Second pass command %s", secondpass)
execute(secondpass)
out = execute(secondpass)
logging.debug('FFmpeg stdout : %s', out)
else:
logging.debug("one pass encoding started ...")
encode = [