Livestreaming for hours instead of seconds? #103
Answered
by
scivision
TheBotlyNoob
asked this question in
Q&A
-
I need to use hours. But because the python library only supports seconds I have to multiply the number of hours by 3600 to get the number of seconds. But then ffmpeg throws: btw my code is: import pylivestream.api as pls
def livestream(hours):
hours *= 3600
pls.stream_screen(r"path\to\ini\pylivestream.ini", "youtube", assume_yes = True, timeout = hours) |
Beta Was this translation helpful? Give feedback.
Answered by
scivision
Oct 18, 2021
Replies: 1 comment
-
You don't have to specify timeout=. It might be a limitation of FFmpeg. So if you can, just omit the timeout= parameter |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
TheBotlyNoob
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't have to specify timeout=. It might be a limitation of FFmpeg. So if you can, just omit the timeout= parameter