Attempt stream!

This commit is contained in:
Kenwood 2021-11-27 21:49:48 -05:00
parent c2df56e15e
commit c302674958
1 changed files with 17 additions and 0 deletions

View File

@ -11,3 +11,20 @@ class RobotStreamer:
def run(self):
self.log.debug('Running RobotStreamer')
stream = ffmpeg.input(
'houston/robotstreamer/resources/Test-Pattern.jpg',
f='image2',
loop='1',
framerate=25,
video_size='1280x720')
stream = ffmpeg.output(
stream,
'http://robotstreamer.com/<secret>/1280/720',
f='mpegts',
bf=0,
muxdelay=0.001,
codec='mpeg1video')
ffmpeg.run(stream)