show ffmpeg output

This commit is contained in:
j 2010-11-27 13:15:11 +01:00
parent fe7c9518a5
commit 913b5b4c32
1 changed files with 2 additions and 1 deletions

View File

@ -133,8 +133,9 @@ def video(video, target, profile, info):
print cmd
#r = run_command(cmd, -1)
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
'''
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
line = p.stderr.readline()
while line:
if line.startswith('frame='):