diff --git a/Software/houston/RobotStreamer.py b/Software/houston/RobotStreamer.py index 5a06d4d..b445718 100644 --- a/Software/houston/RobotStreamer.py +++ b/Software/houston/RobotStreamer.py @@ -24,7 +24,7 @@ class Streamer: "-vcodec", "png", "-r", - "30", # FPS + "5", # FPS "-i", "-", # Indicated input comes from pipe "-vcodec", @@ -46,9 +46,9 @@ class Streamer: "-b:v", "2500k", "-maxrate", - "2500k", + "1000k", "-bufsize", - "2500k", + "1000k", "-sws_flags", "lanczos+accurate_rnd", "-acodec", @@ -61,7 +61,7 @@ class Streamer: "2", "-f", "flv", - "rtmp://rtmp.robotstreamer.com/live/topcec", + "rtmp://rtmp.robotstreamer.com/live/topkek", ] # This is the ffmpeg pipe streamer! @@ -75,7 +75,7 @@ class Streamer: raw = self.root.get_image(0, 0, self.x1, self.y1, X.ZPixmap, 0xFFFFFFFF) image = Image.frombytes("RGB", (self.x1, self.y1), raw.data, "raw", "BGRX") - image = image.crop((0, 200, self.x1, self.y1)) + image = image.crop((0, 182, self.x1, self.y1)) return image