show ffmpeg output
This commit is contained in:
parent
fe7c9518a5
commit
913b5b4c32
1 changed files with 2 additions and 1 deletions
|
@ -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='):
|
||||
|
|
Loading…
Reference in a new issue