alptangall commited on
Commit
51b63f0
·
verified ·
1 Parent(s): 45a8177

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def start_livestream(video_path):
36
  f"rtmp://a.rtmp.youtube.com/live2/agmy-bsya-r9j1-up14-fcj0"
37
  ]
38
  print('beginning')
39
- subprocess.Popen(ffmpeg_command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
40
 
41
  if __name__ == "__main__":
42
  start_livestream('video1.mp4')
 
36
  f"rtmp://a.rtmp.youtube.com/live2/agmy-bsya-r9j1-up14-fcj0"
37
  ]
38
  print('beginning')
39
+ subprocess.run(ffmpeg_command)
40
 
41
  if __name__ == "__main__":
42
  start_livestream('video1.mp4')