使用Python或CMD提示开始流式流式流,然后自动获取货币化

发布于 2025-01-30 19:17:16 字数 302 浏览 3 评论 0原文

我用流式显示24/7流式传输。重新启动计算机时,我需要手动启动流。我想通过“打开”然后启动流来通过CMD提示或在Python的帮助下自动化此过程。在obs Studio上,这似乎是一个简单的启动参数

- 启动流,

但是在流式传播上,此功能似乎不存在(或者我不知道)。

现在,我应该如何设置它以自动启动流? “开始流”上的单击功能也会有所帮助。

另外:没有办法自动通过YouTube获利流 - 我总是必须打开我的频道并自动使流货币化。我也可以自动化吗?另外,这里:足以打开浏览器正确的链接并单击流并将其货币化。

预先感谢!

I stream 24/7 with Streamlabs. When restarting my computer I need to manually start the stream. I would like to automate this process with a CMD prompt or with the help of python by just "opening" and then starting the stream. On OBS Studio it seems to be a simple launching parameter

--startstreaming

But on Streamlabs this function seems to not exist (or I do not know it).

Now how should I set it up in order to start the stream automatically? A click function on "Start stream" would help too.

Also: there is no way to automatically monetize a stream with YouTube - I would always have to open my channel and monetize the stream automatically. Can I automate that too? Also here: it would be sufficient to open the browser with the right link and click on the stream and monetize it.

Thanks a lot in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蔚蓝源自深海 2025-02-06 19:17:16

最终,我能够在以下提示下将Slobs转移到Obs Studio和流式传输:

title obs_stream
:loop
cd C:\Program Files\obs-studio\bin\64bit
taskkill /im obs64.exe /t /f
obs64.exe  --startstreaming
timeout /t 28800
goto loop

Eventually I was able to transfer SLOBS to OBS Studio and stream with the following prompt:

title obs_stream
:loop
cd C:\Program Files\obs-studio\bin\64bit
taskkill /im obs64.exe /t /f
obs64.exe  --startstreaming
timeout /t 28800
goto loop
墨洒年华 2025-02-06 19:17:16

shartlabs desktop api 提供远程管理应用程序的API。

如果您想通过Python访问它, pyslobs 提供包装器,以使接口更加Pythonic。

The StreamLabs Desktop API provides a remote management API for the appication.

The StreamingService allows you to send messages to the app to toggle streaming on and off once the app is launched.

If you want to access it via Python, PySLOBS provides a wrapper to make the interface more Pythonic.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文