Skip to content

Instantly share code, notes, and snippets.

View pedropauloportella's full-sized avatar

Pedro Paulo Portella pedropauloportella

View GitHub Profile
@noelli
noelli / 1 NGINX RTMP-Server Setup for local Streams.md
Last active June 2, 2025 02:38
Compile NGINX with RTMP and setup Multi-Streaming

Compile NGINX with RTMP and setup Multi-Streaming

These Scripts will install NGINX with the RTMP Module in the usual directories similar to installation with apt-get.

The RTMP-Server you get with this can then be used to do one ore more of the following:

  • deliver streams in a local network
  • deliver streams to websites similar to youtube
  • transcode rtmp streams to hls video
  • publish to multiple streaming providers
  • record livestreams to a harddrive
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
import random
import sys
def print_same_line(text):
sys.stdout.write('\r')
sys.stdout.flush()