alptangall commited on
Commit
fb4eaa3
1 Parent(s): 29cca5b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -24,6 +24,6 @@ def start_livestream(video_path):
24
  f"rtmp://a.rtmp.youtube.com/live2/agmy-bsya-r9j1-up14-fcj0"
25
  ]
26
  print('beginning')
27
- return subprocess.Popen(ffmpeg_command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
28
  if __name__ == "__main__":
29
  start_livestream('video1.mp4')
 
24
  f"rtmp://a.rtmp.youtube.com/live2/agmy-bsya-r9j1-up14-fcj0"
25
  ]
26
  print('beginning')
27
+ return subprocess.run(ffmpeg_command)
28
  if __name__ == "__main__":
29
  start_livestream('video1.mp4')