WIP: Integrate with RobotStreamer #5

Closed
Kenwood wants to merge 25 commits from rs-integration into master
1 changed files with 17 additions and 0 deletions
Showing only changes of commit c302674958 - Show all commits

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)