|
@@ -30,10 +30,10 @@ class Recorder:
|
|
|
'qn_desc': current_qn_desc,
|
|
|
'datetime': datetime.now().isoformat()
|
|
|
})
|
|
|
- f_handler=open(outputName+'.log', 'w') if log else asyncio.subprocess.PIPE
|
|
|
+ f_handler=open("./logs/"+outputName+'.log', 'w') if log else asyncio.subprocess.PIPE
|
|
|
self.ff = ffmpy3.FFmpeg(
|
|
|
inputs={url:" -v debug"},
|
|
|
- outputs={outputName+".flv":"-c copy -y"}
|
|
|
+ outputs={"./videos/"+outputName+".flv":"-c copy -y"}
|
|
|
)
|
|
|
self.process = self.ff.run_async(stdout=f_handler, stderr=f_handler)
|
|
|
print(self.ff.cmd)
|