alptangall commited on
Commit
cd22072
·
verified ·
1 Parent(s): b2ae6ca

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -21,10 +21,10 @@ def start_livestream(video_path):
21
  "-b:a", "128k",
22
  "-ar", "44100",
23
  "-f", "flv",
24
- #f"rtmp://push-rtmp-l11-va01.tiktokcdn.com/game/stream-2998436539191001188?c=VN&expire=1731118041&sign=5971ed7b34c8b7be62988133df115488"
25
- f"rtmp://a.rtmp.youtube.com/live2/m65r-k6dr-u7ba-mux1-ffzx"
26
  ]
27
  print('beginning')
28
  return subprocess.run(ffmpeg_command)
29
  if __name__ == "__main__":
30
- start_livestream('video1.mp4')
 
21
  "-b:a", "128k",
22
  "-ar", "44100",
23
  "-f", "flv",
24
+ f"rtmp://push-rtmp-l11-va01.tiktokcdn.com/game/stream-2998439968409649252?c=VN&expire=1731169140&sign=f7af545f97895aa660e94be37b362e0d"
25
+ #f"rtmp://a.rtmp.youtube.com/live2/m65r-k6dr-u7ba-mux1-ffzx"
26
  ]
27
  print('beginning')
28
  return subprocess.run(ffmpeg_command)
29
  if __name__ == "__main__":
30
+ start_livestream('https://bnliveplay-ag.bblivestream.com/live/bn_2232963_51993868_main_hd.m3u8')#'video1.mp4')